Function at 0x4611f0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x476911
mov eax, dword fs:[0]
push eax
sub esp, 0x4a0
mov eax, dword [0x4921c0]
xor eax, esp
mov dword [esp + 0x498], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4921c0]
xor eax, esp
push eax
lea eax, [esp + 0x4b4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x4c4]
xor ebx, ebx
push ebx
mov dword [esp + 0x18], eax
call dword [0x4783ec]
push 8
lea ecx, [esp + 0x3c]
push ecx
call dword [0x4783d0]
mov edx, dword [esp + 0x38]
push edx
call dword [0x4783d4]
mov eax, dword [0x497b6c]
mov edx, dword [eax + 0x10]
mov ecx, 0x650bf8
call fcn.004013b0
push ebx
push 0x4837f0
call fcn.004084f2
add esp, 8
test eax, eax
jne 0x461482
push 0x4837fc
mov eax, 0x483808
call fcn.00402340
mov dword [0x58c9ec], eax
push 0x483814
mov eax, 0x48381c
call fcn.00402340
mov dword [0x58c9f0], eax
push 0x483828
mov eax, 0x483834
call fcn.00402340
mov dword [0x58c9f4], eax
push 0x483840
mov eax, 0x483848
call fcn.00402340
mov dword [0x58c9f8], eax
push 0x483854
mov eax, 0x483860
call fcn.00402340
mov dword [0x58ca00], eax
push 0x48386c
mov eax, 0x483878
call fcn.00402340
mov dword [0x58ca04], eax
push 0x483884
mov eax, 0x483890
call fcn.00402340
mov dword [0x58ca08], eax
push 0x48389c
mov eax, 0x4838a8
call fcn.00402340
mov dword [0x58ca0c], eax
push 0x4838b4
mov eax, 0x4838c0
call fcn.00402340
mov dword [0x58ca10], eax
push 0x4838cc
mov eax, 0x4838d8
call fcn.00402340
mov dword [0x58ca14], eax
push 0x4838e4
mov eax, 0x4838f4
call fcn.00402340
mov dword [0x58ca18], eax
push 0x483900
mov eax, 0x48390c
call fcn.00402340
mov dword [0x58ca1c], eax
push 0x483918
mov eax, 0x483924
call fcn.00402340
mov dword [0x58ca20], eax
push 0x483930
mov eax, 0x483940
call fcn.00402340
mov dword [0x58ca24], eax
push 0x48394c
mov eax, 0x483958
call fcn.00402340
mov dword [0x58ca28], eax
push 0x483964
mov eax, 0x483974
call fcn.00402340
mov dword [0x58ca2c], eax
push 0x483980
mov eax, 0x483990
call fcn.00402340
mov dword [0x58ca30], eax
push 0x48399c
mov eax, 0x4839ac
call fcn.00402340
mov dword [0x58ca34], eax
push 0x4839b8
mov eax, 0x4839c8
call fcn.00402340
mov dword [0x58ca38], eax
push 0x4839d4
mov eax, 0x4839e4
call fcn.00402340
mov dword [0x58ca3c], eax
push 0x4839f0
mov eax, 0x4839fc
call fcn.00402340
mov dword [0x58ca40], eax
push 0x483a08
mov eax, 0x483a10
call fcn.00402340
mov dword [0x58ca44], eax
push 0x483a1c
mov eax, 0x483a28
call fcn.00402340
mov dword [0x58c9fc], eax
push 0x483a34
mov eax, 0x483a40
call fcn.00402340
mov dword [0x58ca48], eax
push 0x483a4c
mov eax, 0x483a5c
call fcn.00402340
mov dword [0x58ca50], eax
push 0x483a68
mov eax, str.nslua.dll
jmp 0x461696
push ebx
push 0x483a84
call fcn.004084f2
add esp, 8
test eax, eax
jne 0x4616ab
push 0x483a94
mov eax, 0x483aa0
call fcn.00402340
mov dword [0x58c9ec], eax
push str.NL_GetL
mov eax, 0x483ab8
call fcn.00402340
mov dword [0x58c9f0], eax
push 0x483ac8
mov eax, 0x483ad4
call fcn.00402340
mov dword [0x58c9f4], eax
push str.NL_call
mov eax, 0x483aec
call fcn.00402340
mov dword [0x58c9f8], eax
push str.NL_error
mov eax, 0x483b08
call fcn.00402340
mov dword [0x58ca00], eax
push str.NL_settop
mov eax, 0x483b24
call fcn.00402340
mov dword [0x58ca04], eax
push str.NL_gettop
mov eax, 0x483b40
call fcn.00402340
mov dword [0x58ca08], eax
push str.NL_isnumber
mov eax, 0x483b5c
call fcn.00402340
mov dword [0x58ca0c], eax
push str.NL_istable
mov eax, 0x483b78
call fcn.00402340
mov dword [0x58ca10], eax
push str.NL_isstring
mov eax, 0x483b94
call fcn.00402340
mov dword [0x58ca14], eax
push str.NL_isboolean
mov eax, 0x483bb4
call fcn.00402340
mov dword [0x58ca18], eax
push str.NL_isnil
mov eax, 0x483bd0
call fcn.00402340
mov dword [0x58ca1c], eax
push str.NL_tonumber
mov eax, 0x483bec
call fcn.00402340
mov dword [0x58ca20], eax
push str.NL_tointeger
mov eax, 0x483c0c
call fcn.00402340
mov dword [0x58ca24], eax
push str.NL_tostring
mov eax, 0x483c28
call fcn.00402340
mov dword [0x58ca28], eax
push str.NL_toboolean
mov eax, 0x483c48
call fcn.00402340
mov dword [0x58ca2c], eax
push str.NL_pushnumber
mov eax, 0x483c68
call fcn.00402340
mov dword [0x58ca30], eax
push str.NL_pushinteger
mov eax, 0x483c88
call fcn.00402340
mov dword [0x58ca34], eax
push str.NL_pushstring
mov eax, 0x483ca8
call fcn.00402340
mov dword [0x58ca38], eax
push str.NL_pushboolean
mov eax, 0x483cc8
call fcn.00402340
mov dword [0x58ca3c], eax
push str.NL_gettable
mov eax, 0x483ce4
call fcn.00402340
mov dword [0x58ca40], eax
push str.NL_pop
mov eax, 0x483cfc
call fcn.00402340
mov dword [0x58ca44], eax
push str.NL_dostring
mov eax, 0x483d18
call fcn.00402340
mov dword [0x58c9fc], eax
push str.NL_register
mov eax, 0x483d34
call fcn.00402340
mov dword [0x58ca48], eax
push str.NL_getglobal
mov eax, 0x483d54
call fcn.00402340
mov dword [0x58ca50], eax
push str.NL_paramcall
mov eax, str.dll_nslua.dll
call fcn.00402340
mov dword [0x58ca4c], eax
call dword [0x58c9ec]
call fcn.0041ffe0
push ebx
push 0x483d84
call fcn.004084f2
add esp, 8
test eax, eax
jne 0x4617b4
push 0x483d94
mov eax, 0x483da0
call fcn.00402340
mov dword [0x549f04], eax
push 0x483db0
mov eax, 0x483dbc
call fcn.00402340
mov dword [0x55143c], eax
push 0x483dcc
mov eax, 0x483dd4
call fcn.00402340
mov dword [0x55827c], eax
push 0x483de4
mov eax, 0x483dec
call fcn.00402340
mov dword [0x55c144], eax
push 0x483dfc
mov eax, 0x483e04
call fcn.00402340
mov dword [0x5523e0], eax
push 0x483e14
mov eax, 0x483e1c
call fcn.00402340
mov dword [0x55c140], eax
push 0x483e2c
mov eax, 0x483e38
call fcn.00402340
mov dword [0x5523e8], eax
push 0x483e48
mov eax, 0x483e50
call fcn.00402340
mov dword [0x558278], eax
push 0x483e60
mov eax, str.dll_nsogg2.dll
call fcn.00402340
push 0xc8
push ebx
push 0x5523f0
mov dword [0x5523e4], eax
mov byte [0x58cb97], 1
mov dword [0x540994], 0xc7
call fcn.00411230
mov ecx, dword [0x65123c]
add esp, 0xc
push ecx
call dword [0x549f04]
add esp, 4
mov byte [0x548122], bl
jmp 0x461a49
push ebx
push 0x483e78
call fcn.004084f2
add esp, 8
test eax, eax
jne 0x4618bd
push 0x483e84
mov eax, 0x483e90
call fcn.00402340
mov dword [0x549f04], eax
push 0x483e9c
mov eax, 0x483ea8
call fcn.00402340
mov dword [0x55143c], eax
push 0x483eb4
mov eax, 0x483ebc
call fcn.00402340
mov dword [0x55827c], eax
push 0x483ec8
mov eax, 0x483ed0
call fcn.00402340
mov dword [0x55c144], eax
push 0x483edc
mov eax, 0x483ee4
call fcn.00402340
mov dword [0x5523e0], eax
push 0x483ef0
mov eax, 0x483ef8
call fcn.00402340
mov dword [0x55c140], eax
push 0x483f04
mov eax, 0x483f10
call fcn.00402340
mov dword [0x5523e8], eax
push 0x483f1c
mov eax, 0x483f24
call fcn.00402340
mov dword [0x558278], eax
push str.Fade
mov eax, str.nsogg2.dll
call fcn.00402340
push 0xc8
push ebx
push 0x5523f0
mov dword [0x5523e4], eax
mov byte [0x58cb97], 1
mov dword [0x540994], 0xc7
call fcn.00411230
mov edx, dword [0x65123c]
add esp, 0xc
push edx
call dword [0x549f04]
add esp, 4
mov byte [0x548122], bl
jmp 0x461a49
push ebx
push 0x483f44
call fcn.004084f2
add esp, 8
test eax, eax
jne 0x4619a7
push 0x483f50
mov eax, 0x483f5c
call fcn.00402340
mov dword [0x549f04], eax
push 0x483f68
mov eax, 0x483f74
call fcn.00402340
mov dword [0x55143c], eax
push str.Open
mov eax, 0x483f88
call fcn.00402340
mov dword [0x55827c], eax
push str.Close
mov eax, 0x483f9c
call fcn.00402340
mov dword [0x55c144], eax
push str.Play
mov eax, 0x483fb0
call fcn.00402340
mov dword [0x5523e0], eax
push str.Play2
mov eax, 0x483fc4
call fcn.00402340
mov dword [0x55c140], eax
push str.IsPlaying
mov eax, 0x483fdc
call fcn.00402340
mov dword [0x5523e8], eax
push str.Volume
mov eax, str.nsogg.dll
call fcn.00402340
push 0xc8
push ebx
push 0x5523f0
mov dword [0x558278], eax
mov byte [0x58cb96], 1
call fcn.00411230
mov eax, dword [0x65123c]
add esp, 0xc
push eax
call dword [0x549f04]
add esp, 4
mov byte [0x548122], bl
jmp 0x461a49
push ebx
push 0x483ffc
call fcn.004084f2
add esp, 8
test eax, eax
jne 0x461a49
push str.OggOpen
mov eax, 0x484010
call fcn.00402340
mov dword [0x58c9d0], eax
push str.OggDecode
mov eax, 0x484028
call fcn.00402340
mov dword [0x58c9d8], eax
push str.OggClose
mov eax, 0x484040
call fcn.00402340
mov dword [0x58c9e0], eax
push str.OggOpen2
mov eax, 0x484058
call fcn.00402340
mov dword [0x58c9d4], eax
push str.OggDecode2
mov eax, 0x484070
call fcn.00402340
mov dword [0x58c9dc], eax
push str.OggClose2
mov eax, 0x484088
call fcn.00402340
mov dword [0x58c9e4], eax
push str.OggRestart
mov eax, 0x4840a0
call fcn.00402340
mov dword [0x58c9e8], eax
push ebx
push 0x4840ac
call fcn.004084f2
add esp, 8
test eax, eax
jne 0x461ad8
push 0x4840bc
mov eax, 0x4840c4
call fcn.00402340
mov dword [0x58ce6c], eax
push 0x4840d4
mov eax, 0x4840e0
call fcn.00402340
mov dword [0x58ce70], eax
push 0x4840f0
mov eax, 0x484100
call fcn.00402340
mov dword [0x58ce78], eax
push 0x484110
mov eax, 0x484124
call fcn.00402340
mov dword [0x58ce74], eax
push 0x484134
mov eax, 0x484140
call fcn.00402340
mov dword [0x58ce7c], eax
push 0x484150
mov eax, str.dll_nspng.dll
call fcn.00402340
mov dword [0x58ce80], eax
jmp 0x461b62
push ebx
push 0x484170
call fcn.004084f2
add esp, 8
test eax, eax
jne 0x461b62
push str.PngLoad
mov eax, 0x484184
call fcn.00402340
mov dword [0x58ce6c], eax
push str.PngGetInfo
mov eax, 0x48419c
call fcn.00402340
mov dword [0x58ce70], eax
push str.PngLoad32
mov eax, 0x4841b4
call fcn.00402340
mov dword [0x58ce7c], eax
push str.PngGetInfo32
mov eax, 0x4841d0
call fcn.00402340
mov dword [0x58ce80], eax
push str.PngLoadFromMem
mov eax, 0x4841ec
call fcn.00402340
mov dword [0x58ce78], eax
push str.PngGetInfoFromMem
mov eax, 0x48420c
call fcn.00402340
mov dword [0x58ce74], eax
mov dword [0x541644], ebx
call fcn.0046b9b0
call fcn.00453f60
push ebx
push str.debug.314
call fcn.004084f2
add esp, 8
mov ebp, 1
test eax, eax
jne 0x461b8f
mov dword [0x58cb50], ebp
mov dword [0x52a86c], ebx
mov byte [0x5478d8], bl
jmp 0x461ba0
mov edx, dword [0x484254]
mov ax, word [0x484258]
mov ecx, 0xa
mov esi, 0x484224
mov edi, 0x538f38
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x484250]
mov dword [0x4ea348], ecx
mov cl, byte [0x48425a]
mov dword [0x4ea34c], edx
mov edx, dword [0x482f44]
mov word [0x4ea350], ax
mov eax, dword [0x49731c]
mov byte [0x4ea352], cl
movsb byte es:[edi], byte [esi]
mov dword [eax], edx
mov ecx, dword [0x482f48]
push ebx
push eax
mov byte [0x498481], bl
mov dword [0x5497f0], ebx
mov dword [0x58cb88], ebx
mov dword [eax + 4], ecx
call fcn.004084f2
add esp, 8
test eax, eax
jne 0x461c1d
call fcn.0044da40
mov esi, 0x68d890
call fcn.00403740
mov esi, dword [esp + 0x14]
or edi, 0xffffffff
mov dword [esi + 0x528], edi
mov byte [0x5490d8], bl
mov byte [esi + 0x52c], bl
mov byte [esi + 0x72c], bl
mov dword [0x58ccb0], ebx
mov dword [0x5492e4], ebx
mov dword [0x52aea0], ebx
mov dword [0x4933bc], edi
mov dword [0x4a8588], 0xffff00
mov dword [0x4eab9c], 0x88ffff
mov dword [0x541640], ebp
mov dword [0x4ea554], 0x28
mov dword [0x4ea558], 0xa
mov dword [0x4ea55c], ebx
mov dword [0x58cb3c], ebx
mov dword [0x493800], ebp
mov dword [0x58cadc], ebx
mov dword [0x58cae8], ebx
mov dword [0x58caec], ebx
mov dword [0x58caf4], ebx
mov dword [0x58caf8], ebx
mov dword [0x58cafc], ebx
mov dword [0x58cb08], ebx
mov dword [0x58cb0c], ebx
mov dword [0x4aa7b8], 9
mov dword [0x52b5b8], ebp
mov dword [0x4a85b4], ebp
mov dword [0x54153c], ebp
call dword [0x4781ac]
push eax
call fcn.00408e3b
add esp, 4
push ebp
mov eax, esi
call fcn.0046d1b0
mov ax, word [0x484260]
mov cl, byte [0x484262]
mov edx, dword [0x48425c]
mov word [0x52aa04], ax
mov eax, dword [0x484268]
mov dword [0x536fcc], eax
mov eax, dword [0x484270]
mov dword [0x52aa00], edx
mov edx, dword [0x484264]
mov byte [0x52aa06], cl
mov cx, word [0x48426c]
mov dword [0x4ea668], eax
mov al, byte [0x48427a]
mov dword [0x536fc8], edx
mov dl, byte [0x48426e]
mov word [0x536fd0], cx
mov ecx, dword [0x484274]
mov byte [0x4ea672], al
mov eax, 0xffffff
mov byte [0x536fd2], dl
mov dx, word [0x484278]
mov dword [0x4ea66c], ecx
mov ecx, 0xaaaaaa
mov dword [0x52b4b0], eax
mov dword [0x4a980c], eax
mov eax, 0x1a
mov word [0x4ea670], dx
mov byte [0x4ea770], bl
mov byte [0x52b3b0], bl
mov byte [0x4ea878], bl
mov byte [0x538598], bl
mov byte [0x538698], bl
mov byte [0x52c068], bl
mov byte [0x541b80], bl
mov byte [0x541648], bl
mov byte [0x52b4b8], bl
mov byte [0x5409a0], bl
mov byte [0x52ab08], bl
mov dword [0x4eab78], ecx
mov dword [0x53816c], ecx
mov dword [0x4eaba4], 0x555599
mov dword [0x4eb53c], eax
mov dword [0x4a85b0], eax
mov dword [0x4ea33c], eax
mov dword [0x541748], 0x1c
mov dword [0x52d074], 0x999999
mov dword [0x52ac0c], ebp
mov dword [0x52ab00], ebx
call fcn.00457630
cmp dword [0x58cb24], ebx
jne 0x461e66
mov ecx, dword [0x4937f0]
imul ecx, dword [0x4935ec]
push ecx
call fcn.00407e31
mov edx, dword [0x4937f0]
imul edx, dword [0x4935ec]
add esp, 4
push edx
mov dword [0x58cb24], eax
call fcn.00407e31
add esp, 4
mov dword [0x495af0], eax
mov edx, dword [0x4933d8]
cmp edx, ebx
jle 0x461e8c
mov eax, dword [0x4a85a0]
mov ecx, dword [0x536fb8]
sub ecx, eax
lea ecx, [ecx]
mov dword [ecx + eax], edi
mov dword [eax], edi
add eax, 4
sub edx, ebp
jne 0x461e80
mov esi, dword [0x4935ec]
mov eax, esi
cdq
and edx, 3
add eax, edx
mov ecx, eax
mov eax, esi
cdq
sub eax, edx
sar eax, 1
sar ecx, 2
mov dword [0x645ab0], eax
lea eax, [ecx + ecx*2]
mov dword [0x58e5fc], eax
mov eax, dword [0x4937f0]
mov dword [0x645ab4], eax
mov edi, eax
mov eax, dword [0x493b50]
mov dword [0x58de3c], ecx
mov ecx, 0xff
mov dword [0x541854], ebx
mov dword [0x4e8fd0], ebx
mov dword [0x4a8594], ecx
mov dword [0x4a85a8], ecx
mov dword [0x541f30], 0x40
mov dword [0x4aa7b0], ebx
mov dword [0x58cb18], 0x3e8
mov dword [0x58cb20], ebx
mov byte [0x538170], bl
cmp eax, ebx
je 0x461f54
push eax
call dword [0x478064]
cmp dword [0x493b8c], ebx
je 0x461f42
mov ecx, dword [0x493b98]
push ecx
call dword [0x47806c]
mov edx, dword [0x493b8c]
push edx
call fcn.00407edf
add esp, 4
mov dword [0x493b8c], ebx
mov dword [0x493b50], ebx
mov dword [0x493bac], ebx
mov byte [0x493938], bl
mov ebp, dword [0x478058]
push ebx
call ebp
mov dword [0x493b50], eax
mov eax, edi
mov ecx, esi
mov ebx, 0x493b54
call fcn.00466ec0
mov eax, dword [0x493b98]
mov ecx, dword [0x493b50]
mov esi, dword [0x478054]
push eax
push ecx
call esi
mov eax, dword [0x494848]
mov edi, dword [0x4937f0]
mov ebx, dword [0x4935ec]
test eax, eax
je 0x461fe0
push eax
call dword [0x478064]
cmp dword [0x494884], 0
je 0x461fcf
mov edx, dword [0x494890]
push edx
call dword [0x47806c]
mov eax, dword [0x494884]
push eax
call fcn.00407edf
add esp, 4
mov dword [0x494884], 0
xor eax, eax
mov dword [0x494848], eax
mov dword [0x4948a4], eax
mov byte [0x494630], al
push 0
call ebp
mov dword [0x494848], eax
mov ecx, ebx
mov eax, edi
mov ebx, 0x49484c
call fcn.00466ec0
mov ecx, dword [0x494890]
mov edx, dword [0x494848]
push ecx
push edx
call esi
mov eax, dword [0x494ae0]
mov edi, dword [0x4937f0]
mov ebx, dword [0x4935ec]
test eax, eax
je 0x462062
push eax
call dword [0x478064]
cmp dword [0x494b1c], 0
je 0x462051
mov eax, dword [0x494b28]
push eax
call dword [0x47806c]
mov ecx, dword [0x494b1c]
push ecx
call fcn.00407edf
add esp, 4
mov dword [0x494b1c], 0
xor eax, eax
mov dword [0x494ae0], eax
mov dword [0x494b3c], eax
mov byte [0x4948c8], al
push 0
call ebp
mov dword [0x494ae0], eax
mov ecx, ebx
mov eax, edi
mov ebx, 0x494ae4
call fcn.00466ec0
mov edx, dword [0x494b28]
mov eax, dword [0x494ae0]
push edx
push eax
call esi
mov eax, dword [0x494d78]
xor ebx, ebx
cmp eax, ebx
je 0x4620d6
push eax
call dword [0x478064]
cmp dword [0x494db4], ebx
je 0x4620c4
mov ecx, dword [0x494dc0]
push ecx
call dword [0x47806c]
mov edx, dword [0x494db4]
push edx
call fcn.00407edf
add esp, 4
mov dword [0x494db4], ebx
mov dword [0x494d78], ebx
mov dword [0x494dd4], ebx
mov byte [0x494b60], bl
push ebx
call ebp
mov dword [0x494d78], eax
mov eax, 0x80
mov ecx, eax
mov ebx, 0x494d7c
call fcn.00466ec0
mov eax, dword [0x494dc0]
mov ecx, dword [0x494d78]
push eax
push ecx
call esi
mov edx, dword [0x494d78]
push 0xffffff
push edx
call dword [0x478038]
mov eax, dword [0x494d78]
push 2
push eax
call dword [0x478044]
mov ecx, dword [0x494d78]
push 0
push ecx
call dword [0x478040]
mov eax, dword [0x495010]
mov ebx, dword [0x4937f0]
mov edi, dword [0x4935ec]
test eax, eax
je 0x462188
push eax
call dword [0x478064]
cmp dword [0x49504c], 0
je 0x462177
mov edx, dword [0x495058]
push edx
call dword [0x47806c]
mov eax, dword [0x49504c]
push eax
call fcn.00407edf
add esp, 4
mov dword [0x49504c], 0
xor eax, eax
mov dword [0x495010], eax
mov dword [0x49506c], eax
mov byte [0x494df8], al
push 0
call ebp
mov dword [0x495010], eax
mov eax, ebx
mov ecx, edi
mov ebx, 0x495014
call fcn.00466ec0
mov ecx, dword [0x495058]
mov edx, dword [0x495010]
push ecx
push edx
call esi
xor ebp, ebp
xor ebx, ebx
cmp dword [0x4933e0], ebp
jle 0x4621e4
jmp 0x4621c0
mov ecx, dword [0x536fbc]
mov eax, dword [0x4ea548]
lea esi, [ecx + ebx*4]
mov edi, 0x47a4d1
mov dword [eax + ebx*4], ebp
call fcn.004021f0
inc ebx
cmp ebx, dword [0x4933e0]
jl 0x4621c0
cmp byte [0x58cba0], 0
je 0x46220d
mov edx, dword [0x49731c]
push 0x58cba0
push str._sgloval.sav
push edx
call fcn.00408143
mov eax, dword [0x49731c]
add esp, 0xc
jmp 0x462237
mov ecx, dword [str.gloval.sav]
mov eax, dword [0x49731c]
mov dword [eax], ecx
mov edx, dword [0x484290]
mov dword [eax + 4], edx
mov cx, word [0x484294]
mov word [eax + 8], cx
mov dl, byte [0x484296]
mov byte [eax + 0xa], dl
push ebp
push eax
call fcn.004084f2
add esp, 8
test eax, eax
je 0x462289
mov ebx, dword [0x4933e0]
cmp ebx, dword [0x4933d8]
jge 0x462364
jmp 0x462260
mov ecx, dword [0x536fbc]
mov eax, dword [0x4ea548]
lea esi, [ecx + ebx*4]
mov edi, 0x47a4d2
mov dword [eax + ebx*4], ebp
call fcn.004021f0
inc ebx
cmp ebx, dword [0x4933d8]
jl 0x462260
jmp 0x462364
mov edx, dword [0x49731c]
push 0x48814c
push edx
mov dword [esp + 0x2c], ebp
call fcn.00408b67
add esp, 8
mov dword [esp + 0x20], eax
mov dword [esp + 0x4bc], ebp
mov ebx, dword [0x4933e0]
cmp ebx, dword [0x4933d8]
jge 0x462346
mov edi, edi
mov ecx, dword [0x4ea548]
lea esi, [ecx + ebx*4]
cmp dword [esp + 0x24], ebp
je 0x4622fd
mov eax, dword [esp + 0x18]
mov edx, dword [esi]
mov dword [eax], edx
add eax, 4
mov dword [esp + 0x18], eax
sub eax, dword [esp + 0x1c]
cmp eax, 0x32000
jl 0x462311
push 0x488260
push 0x488150
call fcn.00456ce0
add esp, 8
jmp 0x462311
push eax
push 1
push 4
push esi
call fcn.00408e1e
add esp, 0x10
test eax, eax
jne 0x462311
mov dword [esi], ebp
lea eax, [esp + 0xac]
lea esi, [esp + 0x18]
call fcn.00402710
mov eax, dword [0x536fbc]
lea esi, [eax + ebx*4]
lea edi, [esp + 0xac]
call fcn.004021f0
mov eax, dword [esp + 0x20]
inc ebx
cmp ebx, dword [0x4933d8]
jl 0x4622c0
mov dword [esp + 0x4bc], 0xffffffff
cmp dword [esp + 0x24], ebp
jne 0x462364
cmp eax, ebp
je 0x462364
push eax
call fcn.00408fa4
add esp, 4
mov eax, dword [0x4957d8]
mov esi, dword [0x4937f0]
mov edi, dword [0x4935ec]
cmp eax, ebp
je 0x4623bd
push eax
call dword [0x478064]
cmp dword [0x495814], ebp
je 0x4623aa
mov ecx, dword [0x495820]
push ecx
call dword [0x47806c]
mov edx, dword [0x495814]
push edx
call fcn.00407edf
add esp, 4
mov dword [0x495814], ebp
mov dword [0x4957d8], ebp
mov dword [0x495834], ebp
mov byte [0x4955c0], 0
push ebp
call dword [0x478058]
mov dword [0x4957d8], eax
mov eax, esi
mov ecx, edi
mov ebx, 0x4957dc
call fcn.00466ec0
mov eax, dword [0x495820]
mov ecx, dword [0x4957d8]
push eax
push ecx
call dword [0x478054]
mov edi, dword [0x4937f0]
mov ebx, dword [0x4935ec]
xor ebp, ebp
push ebp
mov byte [0x4955c0], 0
call dword [0x47805c]
mov esi, eax
mov eax, dword [0x4957d8]
push esi
lea edx, [esp + 0x2c]
push edx
push eax
mov dword [esp + 0x38], ebp
mov dword [esp + 0x40], edi
mov dword [esp + 0x34], ebp
mov dword [esp + 0x3c], ebx
call dword [0x4782c0]
push esi
call dword [0x47806c]
mov ecx, dword [0x4937f0]
imul ecx, dword [0x4935ec]
mov edx, dword [0x58cb24]
push ecx
push ebp
push edx
call fcn.00411230
add esp, 0xc
xor ebx, ebx
jmp 0x462460
lea esi, [ebx + 0x646bc0]
mov edi, 0x47a4d3
call fcn.004021f0
lea esi, [ebx + 0x645858]
mov edi, 0x47a4db
call fcn.004021f0
lea esi, [ebx + 0x63ba88]
mov edi, 0x47a515
call fcn.004021f0
add ebx, 4
cmp ebx, 0xc8
jl 0x462460
xor eax, eax
mov ecx, 0x100
mov edi, 0x52cb70
rep stosd dword es:[edi], eax
or eax, 0xffffffff
mov ecx, 0x100
mov edi, 0x5387a8
rep stosd dword es:[edi], eax
mov dword [0x5387a8], ebp
mov dword [0x5387ac], 1
mov dword [0x52cb74], ebp
xor ebx, ebx
lea esi, [ebx + 0x646fb0]
mov edi, 0x47a516
call fcn.004021f0
lea esi, [ebx + 0x63bb50]
mov edi, 0x47a517
call fcn.004021f0
lea esi, [ebx + 0x58fab8]
mov edi, 0x47a51f
call fcn.004021f0
mov dword [ebx + 0x52d078], ebp
add ebx, 4
cmp ebx, 0x9c40
jl 0x4624d0
mov ecx, dword [0x497b6c]
lea eax, [esp + 0x40]
push eax
push ebp
mov ebx, 1
mov dword [esp + 0x48], 0x30
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x54], 8
mov edx, dword [ecx + 0xc]
push 0x9c44
push edx
call dword [0x4782dc]
cmp dword [0x52a86c], ebp
je 0x462570
cmp dword [0x58ccbc], ebp
jne 0x462570
mov eax, dword [0x497b6c]
cmp dword [eax + 0x514], ebp
jne 0x462570
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
push ecx
push edx
call dword [0x478390]
mov dword [0x52a86c], ebp
mov dword [0x4a86bc], ebp
mov dword [0x4eab84], ebp
mov dword [0x541c88], ebp
mov dword [0x536fc0], ebp
mov dword [0x54099c], ebp
call fcn.0045a490
push ebx
mov byte [0x58c97b], bl
call fcn.00460330
add esp, 4
cmp byte [0x498481], 0
jne 0x4625f2
push ebp
mov byte [esp + 0x8b], 0x80
mov byte [esp + 0x90], 0
mov byte [esp + 0x8f], bl
mov dword [0x4ebed0], ebp
call dword [0x47828c]
push ebp
push ebp
mov esi, eax
push 0x454100
lea eax, [esp + 0x7c]
push eax
push esi
call dword [0x478048]
push esi
push ebp
call dword [0x4782a0]
cmp dword [0x58cb10], ebp
je 0x462604
push 0x599f00
call fcn.00402a50
cmp dword [0x58cb14], ebp
je 0x462616
push 0x646ab8
call fcn.00402a50
mov esi, dword [esp + 0x14]
cmp dword [0x493de8], ebp
jne 0x462672
push str.uoncur.bmp
push 0x493bd0
mov ecx, esi
mov dword [0x58cb08], ebx
call fcn.00401f90
push str.uoffcur.bmp
push 0x493e68
mov ecx, esi
call fcn.00401f90
push str.doncur.bmp
push 0x494100
mov ecx, esi
call fcn.00401f90
push str.doffcur.bmp
push 0x494398
mov ecx, esi
call fcn.00401f90
mov dword [0x58cb08], ebp
push esi
call fcn.0044d3e0
push 0x7f00
push ebp
call dword [0x4782d8]
push eax
call dword [0x478340]
mov ecx, dword [esi]
mov edx, dword [esi + 0x10]
push ecx
push edx
call dword [0x47838c]
mov eax, dword [esi + 0x10]
push eax
call dword [0x478298]
mov edi, dword [0x47823c]
push 0x1f4
call edi
mov ecx, dword [esi + 0x10]
push ebp
push 0x1e
push ebx
push ecx
call dword [0x478348]
lea ecx, [ecx]
call fcn.0045ec50
push 5
call edi
push ebp
mov byte [0x58c97b], 0
call fcn.00460330
add esp, 4
cmp dword [0x52a86c], ebx
jne 0x4626c0
mov edx, dword [0x52ab00]
push edx
call fcn.00407edf
add esp, 4
xor ebx, ebx
mov dword [0x52ab00], ebp
lea ebp, [ebx + 1]
jmp 0x461ba0