Function at 0x4438a0
Capabilities:
Read file on windows
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x476697
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x4921c0]
xor eax, esp
mov dword [esp + 0x278], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4921c0]
xor eax, esp
push eax
lea eax, [esp + 0x294]
mov dword fs:[0], eax
mov eax, dword [esp + 0x2a4]
xor ebx, ebx
mov dword [0x58cb7c], ebx
cmp eax, 0xffffffff
je 0x44393e
push eax
cmp byte [0x58cba0], bl
je 0x443912
mov eax, dword [0x49731c]
push 0x58cba0
push 0x482bf0
push eax
call fcn.00408143
add esp, 0x10
jmp 0x443926
mov ecx, dword [0x49731c]
push 0x482c00
push ecx
call fcn.00408143
add esp, 0xc
mov edx, dword [0x49731c]
push ebx
push edx
call fcn.004084f2
add esp, 8
test eax, eax
jne 0x444602
mov esi, dword [0x58cb18]
mov ebp, dword [0x58cb1c]
mov eax, dword [0x497b6c]
push ebx
mov dword [0x58cb18], ebx
mov dword [0x58cb1c], ebx
call fcn.0046d1b0
call fcn.0046bd60
mov edi, dword [0x497b6c]
call fcn.0046c510
call fcn.004040c0
mov dword [0x58cb18], esi
mov dword [0x58cb1c], ebp
cmp byte [0x58cb96], bl
jne 0x443992
cmp byte [0x58cb97], bl
je 0x4439a7
xor esi, esi
push esi
call dword [0x55c144]
inc esi
add esp, 4
cmp esi, 0xc8
jl 0x443994
mov eax, dword [0x49731c]
push 0x48814c
push eax
mov dword [0x540994], 0xc7
mov byte [0x58cab7], bl
mov dword [esp + 0x30], ebx
call fcn.00408b67
add esp, 8
mov dword [esp + 0x24], eax
mov dword [esp + 0x29c], ebx
mov esi, 0x58e600
mov dword [0x58fab0], ebx
call fcn.00403740
mov esi, 0x58e610
call fcn.00403740
push 0x58e600
mov byte [0x58e624], bl
mov dword [0x58faac], ebx
mov dword [0x58e620], ebx
mov dword [0x4933a4], ebx
call fcn.00403220
lea ecx, [esp + 0x1c]
push ecx
mov byte [0x58f9ac], bl
call fcn.0043f810
mov edi, dword [esp + 0x24]
add esp, 4
mov dword [esp + 0x34], ebx
cmp dword [esp + 0x28], ebx
je 0x443a64
mov esi, dword [esp + 0x1c]
add esi, 4
mov dword [esi - 4], ebx
mov edx, esi
sub edx, edi
cmp edx, 0x32000
mov dword [esp + 0x1c], esi
jl 0x443a86
push 0x488260
push 0x488150
call fcn.00456ce0
add esp, 8
jmp 0x443a86
mov eax, dword [esp + 0x24]
push eax
push 1
lea ecx, [esp + 0x3c]
push 4
push ecx
call fcn.00408e1e
mov esi, dword [esp + 0x2c]
add esp, 0x10
test eax, eax
jne 0x443a86
mov dword [esp + 0x34], ebx
cmp dword [esp + 0x34], ebx
mov dword [esp + 0x14], ebx
jle 0x443b53
jmp 0x443aa0
mov eax, dword [0x49731c]
lea esi, [esp + 0x1c]
call fcn.00402710
mov edi, dword [0x49731c]
lea esi, [esp + 0x18]
mov dword [esp + 0x18], ebx
call fcn.004021f0
mov edx, dword [0x58e604]
mov ebp, dword [esp + 0x18]
mov esi, dword [edx]
mov edi, ebp
call fcn.004021f0
push 0xc
call fcn.0040823c
add esp, 4
push 4
mov esi, eax
call fcn.0040823c
add esp, 4
mov edi, eax
push 1
mov dword [edi], ebx
call fcn.0040823c
mov dword [edi], eax
mov byte [eax], bl
mov dword [esi], edi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov eax, dword [0x58e604]
mov dword [eax + 4], esi
mov eax, dword [0x58e604]
mov ecx, dword [eax + 4]
mov dword [ecx + 8], eax
mov edx, dword [0x58e604]
mov eax, dword [edx + 4]
inc dword [0x58e608]
add esp, 4
mov dword [0x58e604], eax
cmp ebp, ebx
je 0x443b38
push ebp
call fcn.00407edf
add esp, 4
mov eax, dword [esp + 0x14]
inc eax
cmp eax, dword [esp + 0x34]
mov dword [esp + 0x14], eax
jl 0x443aa0
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x30], ebx
cmp dword [esp + 0x28], ebx
je 0x443b87
add esi, 4
mov dword [esi - 4], ebx
mov ecx, esi
sub ecx, edi
cmp ecx, 0x32000
mov dword [esp + 0x1c], esi
jl 0x443ba5
push 0x488260
push 0x488150
call fcn.00456ce0
add esp, 8
jmp 0x443ba5
mov edx, dword [esp + 0x24]
push edx
push 1
lea eax, [esp + 0x38]
push 4
push eax
call fcn.00408e1e
add esp, 0x10
test eax, eax
jne 0x443ba5
mov dword [esp + 0x30], ebx
cmp dword [esp + 0x30], ebx
mov dword [esp + 0x14], ebx
jle 0x443c74
jmp 0x443bc0
mov eax, dword [0x49731c]
lea esi, [esp + 0x1c]
call fcn.00402710
mov edi, dword [0x49731c]
lea esi, [esp + 0x18]
mov dword [esp + 0x18], ebx
call fcn.004021f0
mov ecx, dword [0x58e614]
mov ebp, dword [esp + 0x18]
mov esi, dword [ecx]
mov edi, ebp
call fcn.004021f0
push 0xc
call fcn.0040823c
add esp, 4
push 4
mov esi, eax
call fcn.0040823c
add esp, 4
mov edi, eax
push 1
mov dword [edi], ebx
call fcn.0040823c
mov dword [edi], eax
mov byte [eax], bl
mov dword [esi], edi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov edx, dword [0x58e614]
mov dword [edx + 4], esi
mov eax, dword [0x58e614]
mov ecx, dword [eax + 4]
mov dword [ecx + 8], eax
mov edx, dword [0x58e614]
mov eax, dword [edx + 4]
inc dword [0x58e618]
add esp, 4
mov dword [0x58e614], eax
cmp ebp, ebx
je 0x443c59
push ebp
call fcn.00407edf
add esp, 4
mov eax, dword [esp + 0x14]
inc eax
cmp eax, dword [esp + 0x30]
mov dword [esp + 0x14], eax
jl 0x443bc0
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x2c], ebx
cmp dword [esp + 0x28], ebx
je 0x443cd5
add esi, 4
mov dword [esi - 4], ebx
mov ecx, esi
sub ecx, edi
cmp ecx, 0x32000
mov dword [esp + 0x1c], esi
jl 0x443caa
push 0x488260
push 0x488150
call fcn.00456ce0
add esp, 8
mov eax, dword [esp + 0x2c]
mov dword [esi], eax
add esi, 4
mov dword [esp + 0x1c], esi
sub esi, edi
cmp esi, 0x32000
jl 0x443d0d
push 0x488260
push 0x488150
call fcn.00456ce0
add esp, 8
jmp 0x443d0d
mov esi, dword [esp + 0x24]
push esi
push 1
lea edx, [esp + 0x40]
push 4
push edx
call fcn.00408e1e
add esp, 0x10
test eax, eax
jne 0x443cf3
mov dword [esp + 0x38], ebx
push esi
push 1
lea ecx, [esp + 0x34]
push 4
push ecx
call fcn.00408e1e
add esp, 0x10
test eax, eax
jne 0x443d0d
mov dword [esp + 0x2c], ebx
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x38]
call fcn.00457010
mov ecx, dword [0x497b6c]
mov dword [0x58cb08], 1
cmp byte [0x4ea978], bl
jne 0x443d48
push 0x482c0c
push 0x58d510
call fcn.00401f90
push 0x482c24
jmp 0x443d5c
push 0x4ea978
push 0x58d510
call fcn.00401f90
push 0x4eaa78
mov ecx, dword [0x497b6c]
push 0x58d7a4
call fcn.00401f90
mov dword [0x58cb08], ebx
mov dword [0x58cb0c], ebx
mov dword [0x541d9c], ebx
mov dword [0x541b7c], ebx
mov dword [0x58cb98], ebx
cmp byte [0x52ac10], bl
je 0x443db0
cmp dword [0x52c064], 0xffffffff
jne 0x443db0
mov ecx, dword [0x497b6c]
push 0x52ac10
push 0x495328
call fcn.00401f90
mov edi, dword [0x4937f0]
mov ebp, dword [0x4935ec]
push ebx
mov byte [0x4955c0], bl
call dword [0x47805c]
mov esi, eax
mov eax, dword [0x4957d8]
push esi
lea edx, [esp + 0x40]
push edx
push eax
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x54], edi
mov dword [esp + 0x48], ebx
mov dword [esp + 0x50], ebp
call dword [0x4782c0]
push esi
call dword [0x47806c]
mov esi, dword [0x4935ec]
mov edi, dword [0x4937f0]
mov edx, dword [0x58cb24]
mov ecx, esi
imul ecx, edi
push ecx
push ebx
push edx
call fcn.00411230
mov eax, dword [0x494ae0]
add esp, 0xc
mov dword [0x52ab04], ebx
mov dword [0x538590], ebx
mov dword [0x498484], ebx
cmp eax, ebx
je 0x443e73
push eax
call dword [0x478064]
cmp dword [0x494b1c], ebx
je 0x443e61
mov eax, dword [0x494b28]
push eax
call dword [0x47806c]
mov ecx, dword [0x494b1c]
push ecx
call fcn.00407edf
add esp, 4
mov dword [0x494b1c], ebx
mov dword [0x494ae0], ebx
mov dword [0x494b3c], ebx
mov byte [0x4948c8], bl
mov ebp, dword [0x478058]
push ebx
call ebp
mov dword [0x494ae0], eax
mov eax, edi
mov ecx, esi
mov ebx, 0x494ae4
call fcn.00466ec0
mov edx, dword [0x494b28]
mov eax, dword [0x494ae0]
mov edi, dword [0x478054]
push edx
push eax
call edi
mov ecx, 0x482c3c
mov eax, 0x541c90
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x443ed2
test dl, dl
je 0x443ecc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x443ed2
add eax, 2
add ecx, 2
test dl, dl
jne 0x443eb0
xor ebx, ebx
xor eax, eax
jmp 0x443ed9
sbb eax, eax
sbb eax, 0xffffffff
xor ebx, ebx
cmp eax, ebx
jne 0x443f9f
cmp byte [0x58cba0], 0
je 0x443f0d
mov ecx, dword [esp + 0x2a4]
mov edx, dword [0x49731c]
push ecx
push 0x58cba0
push str._s_save_d.ss
push edx
call fcn.00408143
add esp, 0x10
jmp 0x443f29
mov eax, dword [esp + 0x2a4]
mov ecx, dword [0x49731c]
push eax
push str.save_d.ss
push ecx
call fcn.00408143
add esp, 0xc
mov eax, dword [0x494ae0]
mov esi, dword [0x49731c]
cmp eax, ebx
je 0x443f7b
push eax
call dword [0x478064]
cmp dword [0x494b1c], ebx
je 0x443f68
mov edx, dword [0x494b28]
push edx
call dword [0x47806c]
mov eax, dword [0x494b1c]
push eax
call fcn.00407edf
add esp, 4
mov dword [0x494b1c], ebx
mov dword [0x494ae0], ebx
mov dword [0x494b3c], ebx
mov byte [0x4948c8], 0
mov eax, esi
mov ebx, 0x494ae4
call fcn.00467140
push 0
call ebp
mov ecx, dword [0x494b28]
push ecx
push eax
mov dword [0x494ae0], eax
call edi
jmp 0x444172
cmp byte [0x541c90], 0x23
jne 0x444056
push 0x541c91
call fcn.00458490
mov ecx, eax
cdq
and edx, 0xffff
add eax, edx
mov ebx, eax
add esp, 4
sar ebx, 0x10
and ecx, 0x8000ffff
jns 0x443fd9
dec ecx
or ecx, 0xffff0000
inc ecx
mov eax, ecx
cdq
and edx, 0xff
add eax, edx
sar eax, 8
and ecx, 0x800000ff
jns 0x443ff7
dec ecx
or ecx, 0xffffff00
inc ecx
mov edi, dword [0x4937f0]
mov ebp, dword [0x4935ec]
movzx edx, cl
shl edx, 8
movzx eax, al
or edx, eax
movzx ecx, bl
shl edx, 8
or edx, ecx
push edx
mov byte [0x4948c8], 0
call dword [0x47805c]
mov esi, eax
xor eax, eax
push esi
lea edx, [esp + 0x60]
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], eax
mov eax, dword [0x494ae0]
push edx
push eax
mov dword [esp + 0x74], edi
mov dword [esp + 0x70], ebp
call dword [0x4782c0]
push esi
call dword [0x47806c]
jmp 0x444172
mov ecx, 0x482c60
mov eax, 0x541c90
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x444080
test dl, dl
je 0x44407c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x444080
add eax, 2
add ecx, 2
test dl, dl
jne 0x444060
xor eax, eax
jmp 0x444085
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4440dc
mov edi, dword [0x4937f0]
mov ebx, dword [0x4935ec]
xor ebp, ebp
push ebp
mov byte [0x4948c8], 0
call dword [0x47805c]
mov edx, dword [0x494ae0]
mov esi, eax
push esi
lea ecx, [esp + 0x70]
push ecx
push edx
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x84], edi
mov dword [esp + 0x78], ebp
mov dword [esp + 0x80], ebx
call dword [0x4782c0]
push esi
call dword [0x47806c]
jmp 0x444172
mov ecx, str.white
mov eax, 0x541c90
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x444106
test dl, dl
je 0x444102
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x444106
add eax, 2
add ecx, 2
test dl, dl
jne 0x4440e6
xor eax, eax
jmp 0x44410b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x44415d
mov edi, dword [0x4937f0]
mov ebx, dword [0x4935ec]
push 0xffffff
mov byte [0x4948c8], 0
call dword [0x47805c]
mov ecx, dword [0x494ae0]
mov esi, eax
push esi
lea eax, [esp + 0x50]
push eax
xor ebp, ebp
push ecx
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x64], edi
mov dword [esp + 0x58], ebp
mov dword [esp + 0x60], ebx
call dword [0x4782c0]
push esi
call dword [0x47806c]
jmp 0x444174
mov ecx, dword [0x497b6c]
push 0x541c90
push 0x4948c8
call fcn.00401f90
xor ebp, ebp
mov esi, 0x58e0c0
mov ebx, 0x536cb8
xor edi, edi
cmp byte [ebx], 0
je 0x444198
mov ecx, dword [0x497b6c]
push ebx
lea edx, [esi - 0x280]
push edx
call fcn.00401f90
mov eax, dword [edi + 0x544f54]
mov ecx, dword [edi + 0x545860]
mov dword [esi], eax
mov dword [esi - 4], ecx
add ebx, 0x100
add edi, 4
add esi, 0x294
cmp ebx, 0x536fb8
jl 0x444180
mov esi, 0x59a288
mov ebx, 0x4aa7c0
xor edi, edi
lea esp, [esp]
cmp byte [ebx], 0
je 0x4441e8
mov ecx, dword [0x497b6c]
push ebx
lea edx, [esi - 0x280]
push edx
call fcn.00401f90
mov eax, dword [edi + 0x545870]
mov ecx, dword [edi + 0x546910]
mov dword [esi], eax
mov dword [esi - 4], ecx
add ebx, 0x100
add edi, 4
add esi, 0x294
cmp ebx, 0x4e8fc0
jl 0x4441d0
mov esi, 0x652424
cmp byte [esi], 0
je 0x44422d
mov ecx, dword [0x497b6c]
push esi
lea edx, [esi + 0x108]
push edx
call fcn.00401f90
mov dword [esi + 0x388], ebp
mov dword [esi + 0x384], 0xff
add esi, 0x3b0
cmp esi, 0x68d424
jl 0x444215
cmp byte [0x52c168], 0
je 0x444269
mov ecx, dword [0x497b6c]
push 0x52c168
push 0x495090
call fcn.00401f90
mov ecx, dword [0x497b6c]
mov esi, dword [ecx + 0x528]
mov dword [0x538590], ebp
mov dword [0x498484], ebp
cmp esi, 0xffffffff
je 0x4443e6
mov ebp, dword [ecx + 0x518]
xor eax, eax
mov edi, ecx
cmp esi, eax
jne 0x444302
cmp dword [0x58cb18], eax
jle 0x4442b3
cmp dword [0x58cb4c], eax
jne 0x4442b3
push ecx
call fcn.0046c1c0
jmp 0x4443e0
cmp dword [0x4a85b4], eax
je 0x4442f3
cmp dword [0x58c97c], eax
je 0x4442f3
cmp dword [0x58c980], eax
je 0x4442f3
mov ecx, dword [0x58c988]
mov dword [0x58c980], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
push 2
push 0x808
push ecx
call dword [0x4783bc]
mov ecx, dword [0x497b6c]
mov dword [edi + 0x528], 0xffffffff
jmp 0x4443e6
cmp dword [0x4a85b4], 0
mov ebx, dword [0x4783bc]
je 0x444366
cmp dword [0x58c97c], 0
je 0x444366
mov edx, dword [ecx + 0x10]
mov ecx, dword [0x58c988]
xor eax, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], eax
lea eax, [esp + 0x3c]
push eax
push 2
push 0x814
push ecx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x54], 4
call ebx
test eax, eax
jne 0x4443e0
mov eax, dword [esp + 0x40]
cmp eax, 0x20e
je 0x4443e0
cmp eax, 0x210
je 0x4443e0
cmp dword [edi + 0x528], 0xffffffff
je 0x4443cd
cmp dword [0x58cb18], 0
jle 0x444389
cmp dword [0x58cb4c], 0
jne 0x444389
push edi
call fcn.0046c1c0
jmp 0x4443cd
cmp dword [0x4a85b4], 0
je 0x4443c3
cmp dword [0x58c97c], 0
je 0x4443c3
cmp dword [0x58c980], 0
je 0x4443c3
lea edx, [esp + 0x14]
push edx
xor eax, eax
push 2
mov dword [0x58c980], eax
mov dword [esp + 0x1c], eax
mov eax, dword [0x58c988]
push 0x808
push eax
call ebx
mov dword [edi + 0x528], 0xffffffff
mov eax, esi
mov dword [edi + 0x528], esi
mov dword [edi + 0x518], ebp
call fcn.0046bf40
mov ecx, dword [0x497b6c]
cmp byte [ecx + 0x52c], 0
lea eax, [ecx + 0x52c]
je 0x444423
lea esi, [esp + 0x7c]
sub esi, eax
jmp 0x444400
mov dl, byte [eax]
mov byte [esi + eax], dl
inc eax
test dl, dl
jne 0x444400
mov edx, dword [ecx + 0x51c]
push edx
lea edx, [esp + 0x80]
call fcn.0046f340
mov ecx, dword [0x497b6c]
cmp byte [ecx + 0x62c], 0
lea eax, [ecx + 0x62c]
je 0x444465
cmp dword [ecx + 0x520], 0
je 0x444465
lea esi, [esp + 0x7c]
sub esi, eax
mov dl, byte [eax]
mov byte [esi + eax], dl
inc eax
test dl, dl
jne 0x444441
mov eax, dword [ecx + 0x520]
push eax
lea edx, [esp + 0x80]
push edx
call fcn.0046ef70
mov ecx, dword [0x497b6c]
cmp byte [ecx + 0x72c], 0
lea eax, [ecx + 0x72c]
je 0x4444d6
lea esi, [esp + 0x7c]
sub esi, eax
lea ebx, [ebx]
mov dl, byte [eax]
mov byte [esi + eax], dl
inc eax
test dl, dl
jne 0x444480
cmp dword [0x551438], 0
je 0x4444b2
push 0x558280
call fcn.00408f1a
mov eax, dword [0x497b6c]
push ecx
mov ecx, dword [eax + 0x524]
fstp qword [esp]
push 1
push ecx
push eax
jmp 0x4444c4
fldz
mov edx, dword [ecx + 0x524]
sub esp, 8
fstp qword [esp]
push 0
push edx
push ecx
lea ecx, [esp + 0x90]
call fcn.0046e130
mov ecx, dword [0x497b6c]
cmp byte [0x497740], 0
je 0x444518
xor eax, eax
mov dl, byte [eax + 0x497740]
mov byte [esp + eax + 0x7c], dl
inc eax
test dl, dl
jne 0x4444e1
xor eax, eax
mov dl, byte [eax + 0x497960]
mov byte [esp + eax + 0x184], dl
inc eax
test dl, dl
jne 0x4444f2
push ecx
lea edx, [esp + 0x188]
lea ecx, [esp + 0x80]
call fcn.0046ddb0
mov dword [esp + 0x29c], 0xffffffff
cmp dword [esp + 0x28], 0
jne 0x44453b
mov eax, dword [esp + 0x24]
test eax, eax
je 0x44453b
push eax
call fcn.00408fa4
add esp, 4
xor eax, eax
call fcn.00454390
mov ecx, dword [0x497b6c]
push 0
push 0
push 1
xor edx, edx
call fcn.0045cc30
mov dword [0x52b4b4], 0
call fcn.00443580
mov ecx, str.:load
call fcn.00402c00
mov edi, eax
test edi, edi
je 0x4445b6
call dword [0x58c9f0]
mov esi, eax
push edi
push esi
call dword [0x58ca50]
mov eax, dword [esp + 0x2ac]
push eax
push esi
call dword [0x58ca34]
push 0
push 1
call dword [0x58ca4c]
add esp, 0x18
test al, al
jne 0x4445b6
push 0x482c78
push 0x482ca8
call fcn.00456ce0
add esp, 8
cmp dword [0x58cac8], 0
je 0x444602
cmp dword [0x4a85a4], 0x3e7
jle 0x4445dd
push str.gosub
push 0x482cd8
call fcn.00456ce0
add esp, 8
mov eax, dword [0x4a85a4]
mov ecx, dword [0x4e90a0]
mov dword [eax*4 + 0x4a9810], ecx
inc eax
push 0x538ba8
mov dword [0x4a85a4], eax
call fcn.004574d0
add esp, 4
mov ecx, dword [esp + 0x294]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x278]
xor ecx, esp
call fcn.00407ed0
add esp, 0x28c
ret