Function at 0x401f90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x422349
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x274
mov eax, dword [0x42a1bc]
push ebx
push ebp
push esi
push edi
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x28], 0
call fcn.00401d10
mov edi, dword [esp + 0x29c]
mov ecx, edi
call fcn.00404720
mov edx, dword [eax]
lea ecx, [esp + 0x18]
push 0x5f
push ecx
mov ecx, eax
call dword [edx + 0x14]
mov dword [esp + 0x18], eax
mov ebp, dword [esp + 0x2a0]
fild dword [esp + 0x18]
cmp ebp, 0xffffffff
fmul dword [0x425360]
fstp dword [esp + 0x78]
jne 0x40202b
mov edx, dword [0x42a1d4]
lea ecx, [esp + 0x18]
push edx
call fcn.00401d10
mov ecx, edi
call fcn.00404720
mov edx, dword [eax]
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
call dword [edx + 0x38]
test eax, eax
je 0x403fe8
push 0x10000
call fcn.00404010
add esp, 4
lea ecx, [esp + 0xc0]
push eax
call fcn.00404aa0
mov edx, dword [0x42a1ac]
xor ebx, ebx
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x290], ebx
call fcn.00401d10
mov ecx, edi
call fcn.00404720
mov edx, dword [eax]
lea ecx, [esp + 0x18]
push ebx
push ecx
lea ecx, [esp + 0x44]
push ecx
mov ecx, eax
call dword [edx + 0x20]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x28c], 1
call fcn.00401f50
mov esi, dword [eax + 0xc]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
xor esi, ecx
mov ecx, dword [eax]
xor esi, edx
xor esi, ecx
imul esi, esi, 0x19660d
lea ecx, [esp + 0xc0]
add esi, 0x3c6ef35f
call fcn.00404ac0
mov dword [eax + ebx], esi
add ebx, 4
cmp ebx, 0x10000
jb 0x402099
lea ecx, [esp + 0x3c]
mov byte [esp + 0x28c], 0
call dword [0x425270]
lea ecx, [esp + 0x14]
call fcn.00404ad0
mov esi, dword [0x42526c]
mov byte [esp + 0x28c], 2
test ebp, ebp
jge 0x4020fa
mov ebx, dword [esp + 0x24]
mov eax, 0x42a604
jmp 0x4021ac
push 0x42c9e8
lea ecx, [esp + 0x1c]
call fcn.00401d10
push ebp
push ecx
mov ecx, esp
mov dword [esp + 0x64], esp
push 0x42a5f4
call fcn.00401d10
lea edx, [esp + 0x4c]
push edx
call esi
add esp, 0xc
mov dword [esp + 0x24], 1
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x290], 3
call fcn.00405dd0
mov ecx, edi
call fcn.00404720
mov edx, dword [eax]
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x40]
push ecx
mov ecx, eax
call dword [edx + 0x18]
mov dword [esp + 0x24], 3
mov ecx, eax
mov dword [esp + 0x28c], 4
call fcn.00401f50
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x64], esp
push 0x42a5e0
call fcn.00401d10
lea edx, [esp + 0x44]
push edx
call esi
mov ebx, 7
add esp, 0xc
mov dword [esp + 0x24], ebx
mov ecx, eax
mov dword [esp + 0x28c], 5
call fcn.00401f50
push eax
lea ecx, [esp + 0x2c]
call fcn.00401d10
lea eax, [esp + 0x28]
push 0xc9
push eax
call fcn.004073b0
add esp, 8
mov dword [esp + 0x28c], 4
test bl, 4
je 0x4021e9
and ebx, 0xfffffffb
lea ecx, [esp + 0x3c]
mov dword [esp + 0x24], ebx
call dword [0x425270]
test bl, 2
mov dword [esp + 0x28c], 3
je 0x40220a
and ebx, 0xfffffffd
lea ecx, [esp + 0x38]
mov dword [esp + 0x24], ebx
call dword [0x425270]
test bl, 1
mov dword [esp + 0x28c], 2
je 0x402224
lea ecx, [esp + 0x44]
call dword [0x425270]
mov ecx, dword [0x42a1c8]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00401d10
mov ecx, edi
call fcn.00404720
mov edx, dword [eax]
lea ecx, [esp + 0x18]
push 0
push ecx
mov ecx, eax
call dword [edx + 0x14]
test eax, eax
jne 0x4022da
test ebp, ebp
jge 0x4022da
mov ecx, dword [esp + 0x298]
push 0x42a5dc
call fcn.00404020
push eax
call dword [0x425130]
add esp, 8
lea ecx, [esp + 0x14]
push eax
call fcn.00404b20
lea ecx, [esp + 0x14]
call fcn.00404b40
test al, al
jne 0x4022bc
push 0x42a5bc
lea ecx, [esp + 0x1c]
call fcn.00401d10
lea edx, [esp + 0x18]
lea ecx, [esp + 0xa8]
push edx
call fcn.00404670
lea eax, [esp + 0xa8]
push 0x425560
push eax
call fcn.00421a10
push 2
push 0
lea ecx, [esp + 0x1c]
call fcn.00404b50
mov ebx, dword [0x42512c]
push eax
call ebx
add esp, 0xc
jmp 0x4025ed
lea ecx, [esp + 0x24]
call fcn.00404030
test ebp, ebp
mov byte [esp + 0x28c], 6
push 0x42c9e8
jge 0x40234e
lea ecx, [esp + 0x1c]
call fcn.00401d10
mov ecx, dword [0x42a1cc]
push ecx
lea ecx, [esp + 0x20]
call fcn.00401d10
mov ecx, edi
call fcn.00404720
mov edx, dword [eax]
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x30]
push ecx
mov ecx, eax
call dword [edx + 0x18]
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x290], 7
call dword [0x425240]
mov byte [esp + 0x28c], 6
lea ecx, [esp + 0x28]
jmp 0x4023d3
lea ecx, [esp + 0x1c]
call fcn.00401d10
push ebp
push ecx
mov ecx, esp
mov dword [esp + 0x64], esp
push 0x42a5ac
call fcn.00401d10
lea edx, [esp + 0x44]
push edx
call esi
add esp, 0xc
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x290], 8
call fcn.00405dd0
mov ecx, edi
call fcn.00404720
mov edx, dword [eax]
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x30]
push ecx
mov ecx, eax
call dword [edx + 0x18]
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x290], 9
call dword [0x425240]
lea ecx, [esp + 0x28]
mov byte [esp + 0x28c], 8
call dword [0x425270]
mov byte [esp + 0x28c], 6
lea ecx, [esp + 0x3c]
call dword [0x425270]
lea ecx, [esp + 0x24]
call fcn.00404040
test eax, eax
jne 0x4024b6
push 0x42c9e8
lea ecx, [esp + 0x1c]
call fcn.00401d10
mov edx, dword [0x42a198]
lea ecx, [esp + 0x1c]
push edx
call fcn.00401d10
mov ecx, edi
call fcn.00404720
mov edx, dword [eax]
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x44]
push ecx
mov ecx, eax
call dword [edx + 0x18]
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x290], 0xa
call fcn.00405dd0
lea edx, [esp + 0x28]
lea ecx, [esp + 0x2c]
call dword [0x425244]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x28c], 0xc
call dword [0x425270]
push 0x2e
lea ecx, [esp + 0x30]
call fcn.00401f50
push eax
call dword [0x425128]
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x402487
lea ecx, [esp + 0x2c]
call fcn.00401f50
sub ebx, eax
lea ecx, [esp + 0x2c]
push ebx
call fcn.00404060
push 0x425358
lea ecx, [esp + 0x30]
call fcn.00405e70
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x24]
push edx
call dword [0x425240]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x28c], 6
call dword [0x425270]
test ebp, ebp
lea ecx, [esp + 0x24]
jge 0x40250e
call fcn.00401f50
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x64], esp
push 0x42a58c
call fcn.00401d10
lea eax, [esp + 0x24]
push eax
call esi
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x290], 0xd
call fcn.00405dd0
lea ecx, [esp + 0x18]
push 0x49
push ecx
call fcn.004073b0
add esp, 8
mov byte [esp + 0x28c], 6
lea ecx, [esp + 0x1c]
jmp 0x40255c
call fcn.00401f50
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x64], esp
push 0x42a574
call fcn.00401d10
lea edx, [esp + 0x24]
push edx
call esi
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x290], 0xe
call fcn.00405dd0
lea eax, [esp + 0x18]
push 0x49
push eax
call fcn.004073b0
add esp, 8
mov byte [esp + 0x28c], 6
lea ecx, [esp + 0x1c]
call dword [0x425270]
push 0x42a570
lea ecx, [esp + 0x28]
call fcn.00401f50
push eax
call dword [0x425130]
add esp, 8
lea ecx, [esp + 0x14]
push eax
call fcn.00404b20
lea ecx, [esp + 0x14]
call fcn.00404b40
test al, al
jne 0x4025c2
push 0x42a558
lea ecx, [esp + 0x1c]
call fcn.00401d10
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0xac]
call fcn.00404670
lea edx, [esp + 0xa8]
push 0x425560
push edx
call fcn.00421a10
push 0
push 0
lea ecx, [esp + 0x1c]
call fcn.00404b50
mov ebx, dword [0x42512c]
push eax
call ebx
add esp, 0xc
lea ecx, [esp + 0x24]
mov byte [esp + 0x28c], 2
call dword [0x425270]
mov eax, dword [0x42a1b8]
lea ecx, [esp + 0x18]
push eax
call fcn.00401d10
mov ecx, edi
call fcn.00404720
mov edx, dword [eax]
lea ecx, [esp + 0x18]
push 0
push ecx
mov ecx, eax
call dword [edx + 0x14]
cmp eax, 1
jne 0x40268c
push 0x42a540
lea ecx, [esp + 0x1c]
call fcn.00401d10
lea edx, [esp + 0x18]
push 0x49
push edx
call fcn.004073b0
fld dword [esp + 0x80]
fmul dword [0x425354]
fstp qword [esp]
push ecx
mov ecx, esp
mov dword [esp + 0x68], esp
push 0x42a514
call fcn.00401d10
lea eax, [esp + 0x28]
push eax
call esi
add esp, 0x10
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x290], 0xf
call fcn.00405dd0
lea ecx, [esp + 0x18]
push ecx
call fcn.00404090
add esp, 4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28c], 2
call dword [0x425270]
lea ecx, [esp + 0x14]
call fcn.00404b50
push eax
call dword [0x425124]
add esp, 4
mov dword [esp + 0x18], eax
xor esi, esi
add eax, 0x20
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.00404b50
push eax
call ebx
add esp, 0xc
lea edx, [esp + 0xa3]
lea ecx, [esp + 0x80]
mov dword [esp + 0x3c], esi
push edx
call fcn.004049d0
lea eax, [esp + 0x80]
lea ecx, [esp + 0x10c]
push eax
mov byte [esp + 0x290], 0x10
call fcn.00404450
lea ecx, [esp + 0x80]
push ebp
push ecx
push edi
mov byte [esp + 0x298], 0x11
call fcn.004040b0
add esp, 0xc
lea ecx, [esp + 0x80]
call fcn.00404a40
push eax
lea ecx, [esp + 0x84]
call fcn.00404a30
push eax
call fcn.00405ea0
mov edx, dword [esp + 0x29c]
add esp, 8
lea ecx, [esp + 0xbc]
call dword [0x425248]
push 0x10000
mov byte [esp + 0x290], 0x12
call fcn.00404010
add esp, 4
lea ecx, [esp + 0xc4]
push eax
call fcn.00404b60
push 0x10000
mov byte [esp + 0x290], 0x13
call fcn.00404010
add esp, 4
lea ecx, [esp + 0xfc]
push eax
call fcn.00404b60
lea ecx, [esp + 0x80]
mov byte [esp + 0x28c], 0x14
call fcn.00404a50
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], esi
fild qword [esp + 0x5c]
lea ecx, [esp + 0x80]
mov dword [esp + 0x38], esi
fdivr dword [0x425350]
fstp dword [esp + 0x5c]
call fcn.00404a30
lea ecx, [esp + 0xb8]
mov esi, eax
call dword [0x42524c]
push ebp
push ecx
mov byte [esp + 0x294], 0x15
mov ecx, esp
mov dword [esp + 0x74], esp
push 0x42a384
call fcn.00401d10
lea edx, [esp + 0x30]
push edx
call dword [0x42526c]
add esp, 0xc
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x290], 0x16
call fcn.00405dd0
mov ecx, edi
call fcn.00404720
mov edx, dword [eax]
lea ecx, [esp + 0x1c]
push 0
push ecx
mov ecx, eax
call dword [edx + 0x14]
mov ebx, eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x64], ebx
mov byte [esp + 0x28c], 0x15
call dword [0x425270]
mov edx, dword [0x42a1b8]
lea ecx, [esp + 0x1c]
shr ebx, 0xf
and bl, 1
push edx
mov byte [esp + 0x37], bl
call fcn.00401d10
mov ecx, edi
call fcn.00404720
mov edx, dword [eax]
lea ecx, [esp + 0x1c]
push 0
push ecx
mov ecx, eax
call dword [edx + 0x14]
test ebp, ebp
mov dword [esp + 0x58], eax
jl 0x40289c
test bl, bl
je 0x40287b
test byte [esp + 0x64], 0x10
jne 0x40287b
mov dword [esp + 0x58], 0
mov eax, dword [esp + 0x64]
and eax, 3
je 0x402922
test bl, bl
je 0x402922
cmp eax, 2
jne 0x4028cc
mov eax, 0x42a50c
jmp 0x4028d1
mov edx, dword [0x42a1c4]
lea ecx, [esp + 0x1c]
push edx
call fcn.00401d10
mov ecx, edi
call fcn.00404720
mov edx, dword [eax]
lea ecx, [esp + 0x1c]
push 0
push ecx
mov ecx, eax
call dword [edx + 0x14]
test eax, eax
je 0x4028cc
mov eax, 0x42a50c
jmp 0x4028d1
mov eax, 0x42a4f8
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x74], esp
push 0x42a4e4
call fcn.00401d10
lea edx, [esp + 0x4c]
push edx
call dword [0x42526c]
add esp, 0xc
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x290], 0x17
call fcn.00405dd0
lea eax, [esp + 0x28]
push eax
call fcn.00404090
add esp, 4
lea ecx, [esp + 0x44]
mov byte [esp + 0x28c], 0x15
call dword [0x425270]
lea ecx, [esp + 0xcc]
call fcn.00404510
lea ecx, [esp + 0x80]
mov byte [esp + 0x28c], 0x18
call fcn.00404a40
mov ebp, dword [0x425120]
cmp esi, eax
je 0x403138
lea ecx, [esp + 0xbc]
push ecx
lea ecx, [esp + 0x38]
call dword [0x425250]
lea ecx, [esp + 0x24]
mov byte [esp + 0x28c], 0x19
call fcn.00404ad0
mov ecx, esi
mov byte [esp + 0x28c], 0x1a
mov byte [esp + 0x13], 0x5c
call fcn.004040a0
lea edx, [esp + 0x13]
push eax
push edx
lea ecx, [esp + 0x3c]
call fcn.00405e60
mov ecx, eax
call fcn.00405ec0
lea ecx, [esp + 0x14]
call fcn.00404b50
mov ebp, dword [0x425124]
push eax
call ebp
add esp, 4
mov ecx, esi
mov edi, eax
call fcn.004040a0
mov dword [eax + 0x28], edi
lea eax, [esp + 0xcc]
push eax
mov ecx, esi
call fcn.004040a0
mov ecx, eax
call dword [0x4250c4]
push eax
lea ecx, [esp + 0x3c]
call fcn.00401f50
push eax
call fcn.0040fb50
add esp, 0xc
lea ecx, [esp + 0x34]
push 0x42a4e0
call fcn.00401f50
push eax
call dword [0x425130]
add esp, 8
lea ecx, [esp + 0x24]
push eax
call fcn.00404b20
lea ecx, [esp + 0x24]
call fcn.00404b40
test al, al
je 0x403245
push 2
push 0
lea ecx, [esp + 0x2c]
call fcn.00404b50
mov edi, dword [0x42512c]
push eax
call edi
add esp, 0xc
lea ecx, [esp + 0x24]
call fcn.00404b50
push eax
call ebp
mov ebx, eax
add esp, 4
cmp ebx, 0xffffffff
mov dword [esp + 0xf8], ebx
je 0x4032a6
mov ecx, esi
call fcn.004040a0
push 0
push 0
lea ecx, [esp + 0x2c]
mov dword [eax + 0x24], ebx
call fcn.00404b50
push eax
call edi
add esp, 0xc
mov ecx, esi
call fcn.004040a0
xor edi, edi
mov dword [eax + 0x30], edi
call fcn.004072c0
mov ecx, esi
call fcn.004040a0
mov edx, dword [eax + 0x30]
add eax, 0x30
or edx, 2
mov ecx, esi
mov dword [eax], edx
call fcn.004040a0
mov ecx, dword [eax + 0x30]
add eax, 0x30
or ecx, 1
mov dword [eax], ecx
mov ecx, esi
call fcn.004040a0
mov ecx, dword [eax + 0x24]
push 0x11c
push 0x42a4a0
lea edx, [esp + 0x30]
push 0x42a48c
push edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x54], edi
mov dword [esp + 0x38], 1
call fcn.00405ef0
add esp, 0x10
lea eax, [esp + 0x6b]
lea edi, [ebx + 0xffff]
lea ecx, [esp + 0xa8]
push eax
shr edi, 0x10
call fcn.00404750
lea ecx, [esp + 0x14]
mov byte [esp + 0x28c], 0x1d
call fcn.00404b50
push eax
call ebp
add esp, 4
lea ecx, [esp + 0x14]
shl edi, 2
push 1
push edi
mov dword [esp + 0x78], eax
mov dword [esp + 0xf8], edi
call fcn.00404b50
push eax
call dword [0x42512c]
add esp, 0xc
lea ecx, [esp + 0x14]
call fcn.00404b50
push eax
call ebp
add esp, 4
mov ecx, esi
mov ebp, eax
call fcn.004040a0
mov dword [eax + 0x28], ebp
mov eax, dword [esp + 0x1c]
test eax, eax
jbe 0x402d39
mov dword [esp + 0x74], 1
lea ecx, [esp + 0xc4]
call fcn.00404b90
push eax
push 0x10000
lea ecx, [esp + 0x2c]
call fcn.00404b50
push eax
call fcn.00401c20
mov ecx, dword [esp + 0x50]
mov edi, eax
mov eax, dword [esp + 0x64]
add esp, 0xc
add ecx, edi
test eax, eax
mov dword [esp + 0x44], ecx
je 0x402bfa
mov ecx, dword [esp + 0x74]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x42a478
call fcn.00401d10
lea edx, [esp + 0x10c]
push edx
call dword [0x42526c]
add esp, 0xc
push eax
lea ecx, [esp + 0xf8]
mov byte [esp + 0x290], 0x1e
call fcn.00405dd0
lea eax, [esp + 0xf4]
push eax
call fcn.00407520
add esp, 4
lea ecx, [esp + 0x104]
mov byte [esp + 0x28c], 0x1d
call dword [0x425270]
lea ecx, [esp + 0xc4]
call fcn.00404b90
mov ebx, eax
mov eax, dword [esp + 0x58]
test eax, eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0xa4], edi
mov ebp, 0x80000000
je 0x402ca5
push 9
push edi
lea ecx, [esp + 0xcc]
call fcn.00404b90
push eax
lea ecx, [esp + 0x108]
lea ebx, [esp + 0xb0]
call fcn.00404b90
mov ecx, eax
mov edx, ebx
call dword [0x425254]
test eax, eax
jne 0x402ca1
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0x144], eax
mov dword [esp + 0x140], ecx
mov dword [esp + 0x48], edi
fild qword [esp + 0x140]
mov dword [esp + 0x4c], eax
fidiv dword [esp + 0x48]
fcomp dword [esp + 0x78]
fnstsw ax
test ah, 1
je 0x402ca1
lea ecx, [esp + 0xfc]
call fcn.00404b90
mov edi, dword [esp + 0xa4]
mov ebx, eax
xor ebp, ebp
jmp 0x402ca5
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x2a0]
test eax, eax
jl 0x402cbf
test byte [esp + 0x64], 3
jne 0x402cbf
mov al, byte [esp + 0x33]
test al, al
jne 0x402ce4
mov edx, dword [esp + 0x2a0]
mov eax, dword [esp + 0x29c]
push edx
push eax
mov ecx, esi
call fcn.004040a0
add eax, 0x30
push eax
push edi
push ebx
call fcn.00401d80
add esp, 0x14
lea ecx, [esp + 0x14]
call fcn.00404b50
push eax
push 1
push edi
push ebx
call dword [0x425120]
add esp, 0x10
lea ecx, [esp + 0x28]
or ebp, edi
push ecx
lea ecx, [esp + 0xac]
mov dword [esp + 0x2c], ebp
call fcn.004047d0
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x44]
inc ecx
cmp eax, edx
mov dword [esp + 0x74], ecx
jb 0x402b61
mov edi, dword [esp + 0xf0]
mov ebx, dword [esp + 0xf8]
lea ecx, [esp + 0x14]
call fcn.00404b50
push eax
call dword [0x425124]
add esp, 4
mov ebp, eax
mov eax, dword [esp + 0x70]
lea ecx, [esp + 0x14]
push 0
push eax
call fcn.00404b50
push eax
call dword [0x42512c]
add esp, 0xc
lea ecx, [esp + 0x14]
call fcn.00404b50
push eax
push 1
push edi
push 0
lea ecx, [esp + 0xb8]
call fcn.004047b0
push eax
call dword [0x425120]
add esp, 0x10
lea ecx, [esp + 0x14]
push 0
push ebp
call fcn.00404b50
push eax
call dword [0x42512c]
add esp, 0xc
lea ecx, [esp + 0x70]
mov dword [esp + 0x70], 0
push ecx
lea ecx, [esp + 0x114]
call fcn.00405f10
lea edx, [esp + 0x110]
push edx
call fcn.00407520
add esp, 4
lea ecx, [esp + 0x14]
call fcn.00404b50
push eax
call dword [0x425124]
add esp, 4
mov ecx, esi
mov edi, eax
call fcn.004040a0
mov ecx, dword [eax + 0x28]
mov eax, dword [esp + 0x58]
sub edi, ecx
test eax, eax
je 0x402e2d
xor eax, eax
mov dword [esp + 0x134], edi
mov dword [esp + 0x138], eax
mov dword [esp + 0xe4], ebx
fild qword [esp + 0x134]
mov dword [esp + 0xe8], eax
fidiv dword [esp + 0xe4]
fmul dword [0x425354]
fstp dword [esp + 0x2c]
jmp 0x402e35
mov dword [esp + 0x2c], 0
lea ecx, [esp + 0xa8]
mov byte [esp + 0x28c], 0x1a
call fcn.00404770
fld dword [esp + 0x2c]
fcomp dword [0x42534c]
fnstsw ax
test ah, 0x40
jne 0x402f97
mov ecx, esi
call fcn.004040a0
test byte [eax + 0x30], 2
je 0x402f97
fld dword [esp + 0x2c]
fcomp dword [0x425348]
mov ebx, 0x43
fnstsw ax
test ah, 0x41
jne 0x402e8a
mov ebx, 0x4e
fld dword [esp + 0x2c]
fcomp dword [0x425344]
fnstsw ax
test ah, 0x41
jne 0x402ea0
mov ebx, 0x4f
cmp edi, 0x400
mov ecx, esi
jbe 0x402f25
call fcn.004040a0
mov ecx, eax
call dword [0x4250c4]
fld dword [esp + 0x2c]
push eax
sub esp, 8
shr edi, 0xa
fstp qword [esp]
push edi
push ecx
mov ecx, esp
mov dword [esp + 0x84], esp
push 0x42a464
call fcn.00401d10
lea eax, [esp + 0xa8]
push eax
call dword [0x42526c]
add esp, 0x18
push eax
lea ecx, [esp + 0x10c]
mov byte [esp + 0x290], 0x20
call fcn.00405dd0
lea ecx, [esp + 0x108]
push ebx
push ecx
call fcn.004073b0
add esp, 8
mov byte [esp + 0x28c], 0x1a
lea ecx, [esp + 0x94]
jmp 0x403065
call fcn.004040a0
mov ecx, eax
call dword [0x4250c4]
fld dword [esp + 0x2c]
push eax
sub esp, 8
fstp qword [esp]
push edi
push ecx
mov ecx, esp
mov dword [esp + 0x84], esp
push 0x42a450
call fcn.00401d10
lea edx, [esp + 0x54]
push edx
call dword [0x42526c]
add esp, 0x18
push eax
lea ecx, [esp + 0x9c]
mov byte [esp + 0x290], 0x21
call fcn.00405dd0
lea eax, [esp + 0x98]
push ebx
push eax
call fcn.004073b0
add esp, 8
mov byte [esp + 0x28c], 0x1a
lea ecx, [esp + 0x40]
jmp 0x403065
cmp edi, 0x400
mov ecx, esi
jbe 0x403007
call fcn.004040a0
mov ecx, eax
call dword [0x4250c4]
shr edi, 0xa
push eax
push edi
push ecx
mov ecx, esp
mov dword [esp + 0x7c], esp
push 0x42a444
call fcn.00401d10
lea ecx, [esp + 0xa8]
push ecx
call dword [0x42526c]
add esp, 0x10
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x290], 0x22
call fcn.00405dd0
lea edx, [esp + 0x20]
push 0x55
push edx
call fcn.004073b0
add esp, 8
mov byte [esp + 0x28c], 0x1a
lea ecx, [esp + 0x9c]
jmp 0x403065
call fcn.004040a0
mov ecx, eax
call dword [0x4250c4]
push eax
push edi
push ecx
mov ecx, esp
mov dword [esp + 0x7c], esp
push 0x42a438
call fcn.00401d10
lea eax, [esp + 0x78]
push eax
call dword [0x42526c]
add esp, 0x10
push eax
lea ecx, [esp + 0x80]
mov byte [esp + 0x290], 0x23
call fcn.00405dd0
lea ecx, [esp + 0x7c]
push 0x55
push ecx
call fcn.004073b0
add esp, 8
mov byte [esp + 0x28c], 0x1a
lea ecx, [esp + 0x6c]
call dword [0x425270]
lea edi, [esp + 0x148]
mov ebx, 0x14
lea ecx, [esp + 0xb8]
call fcn.00404bc0
mov edx, dword [eax]
mov ecx, eax
call dword [edx]
mov dword [edi], eax
add edi, 4
dec ebx
jne 0x403077
test byte [esp + 0x148], 0xf
je 0x4030c3
lea ecx, [esp + 0x14]
call fcn.00404b50
push eax
mov eax, dword [esp + 0x14c]
and eax, 0xf
push 1
lea ecx, [esp + 0x154]
push eax
push ecx
call dword [0x425120]
add esp, 0x10
fld dword [esp + 0x38]
fadd dword [esp + 0x5c]
fst dword [esp + 0x38]
call fcn.00421a46
push eax
call fcn.00407640
add esp, 4
mov ecx, esi
call fcn.004040a0
mov edx, dword [eax + 0x24]
mov edi, dword [esp + 0x3c]
add edi, edx
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], edi
mov byte [esp + 0x28c], 0x19
call fcn.00404ae0
lea ecx, [esp + 0x34]
mov byte [esp + 0x28c], 0x18
call dword [0x425270]
lea ecx, [esp + 0x80]
add esi, 4
call fcn.00404a40
cmp esi, eax
jne 0x402950
mov ebp, dword [0x425120]
mov edi, dword [esp + 0x29c]
lea ecx, [esp + 0x80]
mov dword [esp + 0x74], 0
call fcn.00404a40
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], eax
call fcn.00404b50
push eax
call dword [0x425124]
add esp, 4
lea ecx, [esp + 0x6b]
mov dword [esp + 0x58], eax
push ecx
lea ecx, [esp + 0x4c]
call fcn.00404bd0
push 0x42c9e8
lea ecx, [esp + 0x60]
mov byte [esp + 0x290], 0x25
call fcn.00401d10
mov edx, dword [0x42a194]
lea ecx, [esp + 0x6c]
push edx
call fcn.00401d10
mov ecx, edi
call fcn.00404720
mov edx, dword [eax]
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x70]
push ecx
lea ecx, [esp + 0xa4]
push ecx
mov ecx, eax
call dword [edx + 0x18]
mov ecx, eax
mov byte [esp + 0x28c], 0x26
call fcn.00401f50
push eax
lea ecx, [esp + 0x80]
call fcn.00401d10
lea edx, [esp + 0x7c]
push 0
push edx
lea ecx, [esp + 0x34]
call dword [0x425258]
lea ecx, [esp + 0x9c]
mov byte [esp + 0x28c], 0x28
call dword [0x425270]
push 0x2f
lea ecx, [esp + 0x30]
call fcn.00401f50
mov ebx, dword [0x425128]
push eax
call ebx
add esp, 8
lea ecx, [esp + 0x2c]
mov esi, eax
push 0x5c
call fcn.00401f50
push eax
call ebx
add esp, 8
cmp eax, esi
jbe 0x40322d
mov esi, eax
test esi, esi
jne 0x403321
lea ecx, [esp + 0x2c]
call fcn.00401f50
mov esi, eax
jmp 0x403322
lea ecx, [esp + 0x34]
call fcn.00401f50
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x74], esp
push 0x42a424
call fcn.00401d10
lea eax, [esp + 0x84]
push eax
call dword [0x42526c]
add esp, 0xc
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x290], 0x1b
call fcn.00405dd0
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0xac]
call fcn.00404670
lea edx, [esp + 0xa8]
push 0x425560
push edx
call fcn.00421a10
lea ecx, [esp + 0x24]
call fcn.00404b50
mov eax, dword [eax + 0xc]
and eax, 0x20
push eax
call dword [0x425104]
add esp, 4
lea ecx, [esp + 0x34]
push eax
call fcn.00401f50
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x78], esp
push 0x42a3f8
call fcn.00401d10
lea ecx, [esp + 0x88]
push ecx
call dword [0x42526c]
add esp, 0x10
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x290], 0x1c
call fcn.00405dd0
lea edx, [esp + 0x5c]
lea ecx, [esp + 0xa8]
push edx
call fcn.00404670
lea eax, [esp + 0xa8]
push 0x425560
push eax
call fcn.00421a10
inc esi
lea ecx, [esp + 0x80]
mov dword [esp + 0x1c], esi
call fcn.00404a30
lea ecx, [esp + 0x80]
mov ebx, eax
call fcn.00404a40
cmp ebx, eax
je 0x403433
mov ecx, ebx
call fcn.004040a0
mov ecx, eax
call dword [0x4250c4]
push eax
push esi
call dword [0x425144]
add esp, 8
test eax, eax
je 0x403418
lea ecx, [esp + 0x48]
call fcn.00404c80
mov ecx, ebx
mov esi, eax
call fcn.004040a0
mov dword [eax + 0x2c], esi
lea eax, [esp + 0x13]
push eax
mov ecx, ebx
mov byte [esp + 0x17], 0
call fcn.004040a0
mov ecx, eax
call dword [0x4250c0]
lea ecx, [esp + 0x4c]
mov esi, eax
call fcn.00404c80
lea ecx, [esi + eax + 1]
push ecx
lea ecx, [esp + 0x50]
call fcn.00404c20
mov ecx, ebx
call fcn.004040a0
mov ecx, eax
call dword [0x4250c0]
mov edi, eax
mov ecx, ebx
inc edi
call fcn.004040a0
mov ecx, eax
call dword [0x4250c4]
mov ecx, ebx
mov esi, eax
call fcn.004040a0
mov edx, dword [eax + 0x2c]
lea ecx, [esp + 0x48]
push edx
call fcn.00404c90
mov dword [esp + 0x20], edi
mov edi, eax
mov eax, dword [esp + 0x20]
mov ecx, eax
mov eax, dword [esp + 0x74]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
inc eax
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x29c]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x74], eax
jmp 0x40341c
mov dword [esp + 0x44], ebx
lea ecx, [esp + 0x80]
add ebx, 4
call fcn.00404a40
cmp ebx, eax
jne 0x403348
lea ecx, [esp + 0x48]
call fcn.00404c80
mov edx, dword [esp + 0x58]
mov esi, eax
add esi, edx
lea ecx, [esp + 0x80]
mov dword [esp + 0x1c], esi
call fcn.00404a30
lea ecx, [esp + 0x80]
mov ebx, eax
call fcn.00404a40
cmp ebx, eax
je 0x403532
cmp ebx, dword [esp + 0x44]
je 0x40351b
lea ecx, [esp + 0x48]
call fcn.00404c80
mov esi, eax
lea eax, [esp + 0x13]
push eax
mov dword [esp + 0x3c], esi
lea ecx, [esi + 0x10]
mov byte [esp + 0x17], 0
push ecx
lea ecx, [esp + 0x50]
call fcn.00404c20
mov ecx, ebx
call fcn.004040a0
mov edx, eax
push esi
lea ecx, [esp + 0x4c]
mov dword [esp + 0x24], edx
call fcn.00404c90
mov edx, dword [esp + 0x20]
mov ecx, dword [edx + 0x2c]
mov dword [eax], ecx
mov ecx, ebx
call fcn.004040a0
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x48]
add edx, 4
mov esi, eax
push edx
call fcn.00404c90
mov ecx, dword [esi + 0x28]
mov dword [eax], ecx
mov ecx, ebx
call fcn.004040a0
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x48]
add edx, 8
mov esi, eax
push edx
call fcn.00404c90
mov ecx, dword [esi + 0x24]
mov dword [eax], ecx
mov ecx, ebx
call fcn.004040a0
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x48]
add edx, 0xc
mov esi, eax
push edx
call fcn.00404c90
mov ecx, dword [esi + 0x30]
mov esi, dword [esp + 0x1c]
mov dword [eax], ecx
lea ecx, [esp + 0x80]
add ebx, 4
call fcn.00404a40
cmp ebx, eax
jne 0x40346a
lea ecx, [esp + 0xcc]
call fcn.00404830
test eax, eax
je 0x40384d
lea edx, [esp + 0x33]
lea ecx, [esp + 0xe4]
push edx
call fcn.00404ca0
lea eax, [esp + 0x93]
lea ecx, [esp + 0x134]
push eax
mov byte [esp + 0x290], 0x29
call fcn.00404d00
mov ecx, dword [0x42a1ac]
mov bl, 0x2a
push ecx
lea ecx, [esp + 0x24]
mov byte [esp + 0x290], bl
call fcn.00401d10
mov ecx, edi
call fcn.00404720
mov edx, dword [eax]
lea ecx, [esp + 0x20]
push 0
push ecx
lea ecx, [esp + 0x48]
push ecx
mov ecx, eax
call dword [edx + 0x20]
mov ecx, eax
mov byte [esp + 0x28c], 0x2b
call fcn.00401f50
push eax
lea ecx, [esp + 0x1b8]
call fcn.0041b450
lea ecx, [esp + 0x40]
mov byte [esp + 0x28c], bl
call dword [0x425270]
lea ecx, [esp + 0xd8]
xor ebx, ebx
call fcn.00404890
test eax, eax
jbe 0x40369b
lea ecx, [esp + 0x48]
call fcn.00404c80
lea edx, [esp + 0x20]
mov edi, eax
push edx
lea ecx, [esp + 0xe8]
mov dword [esp + 0x24], edi
call fcn.00404ce0
lea eax, [esp + 0x13]
lea ecx, [esp + 0xd8]
push eax
push ebx
mov byte [esp + 0x1b], 0
call fcn.004048a0
mov ecx, eax
call fcn.00404730
lea ecx, [eax + edi + 1]
push ecx
lea ecx, [esp + 0x50]
call fcn.00404c20
push ebx
lea ecx, [esp + 0xdc]
call fcn.004048a0
mov ecx, eax
call fcn.00404730
mov esi, eax
push ebx
lea ecx, [esp + 0xdc]
inc esi
call fcn.004048a0
mov ecx, eax
call fcn.00404740
mov dword [esp + 0x20], esi
push edi
lea ecx, [esp + 0x4c]
mov esi, eax
call fcn.00404c90
mov edx, dword [esp + 0x20]
mov edi, eax
mov ecx, edx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
inc ebx
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xd8]
call fcn.00404890
cmp ebx, eax
jb 0x4035e9
lea ecx, [esp + 0x48]
call fcn.00404c80
lea ecx, [esp + 0xcc]
mov dword [esp + 0x20], eax
xor esi, esi
call fcn.00404830
test eax, eax
jbe 0x40377d
lea ecx, [esp + 0x48]
call fcn.00404c80
mov edi, eax
lea ecx, [esp + 0x13]
push ecx
lea ecx, [esp + 0x4c]
lea edx, [edi + 0x18]
mov byte [esp + 0x17], 0
push edx
call fcn.00404c20
push esi
lea ecx, [esp + 0xd0]
call fcn.00404850
mov ebx, eax
push edi
lea ecx, [esp + 0x4c]
add ebx, 4
call fcn.00404c90
mov ecx, dword [ebx]
push esi
mov dword [eax], ecx
mov edx, dword [ebx + 4]
mov dword [eax + 4], edx
mov ecx, dword [ebx + 8]
mov dword [eax + 8], ecx
lea ecx, [esp + 0xd0]
mov edx, dword [ebx + 0xc]
mov dword [eax + 0xc], edx
call fcn.00404850
mov eax, dword [eax]
lea ecx, [esp + 0xe4]
push eax
call fcn.00404cd0
lea ecx, [edi + 0x10]
mov ebx, eax
push ecx
lea ecx, [esp + 0x4c]
call fcn.00404c90
mov edx, dword [ebx]
push esi
lea ecx, [esp + 0xd0]
mov dword [eax], edx
call fcn.00404850
mov ecx, dword [eax + 0x14]
xor ebx, ebx
cmp ecx, 1
lea ecx, [esp + 0x48]
setne bl
add edi, 0x14
push edi
call fcn.00404c90
lea ecx, [esp + 0xcc]
mov dword [eax], ebx
inc esi
call fcn.00404830
cmp esi, eax
jb 0x4036be
lea ecx, [esp + 0x48]
call fcn.00404c80
mov esi, eax
and eax, 7
je 0x4037aa
mov ecx, 8
lea edx, [esp + 0x13]
sub ecx, eax
push edx
add esi, ecx
lea ecx, [esp + 0x4c]
push esi
mov byte [esp + 0x1b], 0
call fcn.00404c20
lea eax, [esp + 0x13]
add esi, 4
push eax
push esi
lea ecx, [esp + 0x50]
mov byte [esp + 0x1b], 0
call fcn.00404c20
lea ecx, [esp + 0x13]
lea edx, [esi + 0xc]
push ecx
push edx
lea ecx, [esp + 0x50]
mov byte [esp + 0x1b], 0
call fcn.00404c20
lea ecx, [esp + 0xcc]
call fcn.00404830
push esi
lea ecx, [esp + 0x4c]
mov edi, eax
call fcn.00404c90
mov ecx, dword [esp + 0x20]
lea edx, [esi + 4]
mov dword [eax], ecx
push edx
lea ecx, [esp + 0x4c]
call fcn.00404c90
add esi, 8
lea ecx, [esp + 0x48]
push esi
mov dword [eax], edi
call fcn.00404c90
lea ecx, [esp + 0x134]
mov dword [eax], 0xfefefefe
mov byte [esp + 0x28c], 0x29
call fcn.00404d20
lea ecx, [esp + 0xe4]
mov byte [esp + 0x28c], 0x28
call fcn.00404cc0
mov edi, dword [esp + 0x29c]
mov esi, dword [esp + 0x1c]
jmp 0x403893
lea ecx, [esp + 0x48]
mov byte [esp + 0x13], 0
call fcn.00404c80
mov ebx, eax
lea eax, [esp + 0x13]
add ebx, 4
push eax
push ebx
lea ecx, [esp + 0x50]
call fcn.00404c20
mov eax, ebx
and eax, 7
je 0x403893
mov ecx, 8
lea edx, [esp + 0x13]
sub ecx, eax
push edx
add ebx, ecx
lea ecx, [esp + 0x4c]
push ebx
mov byte [esp + 0x1b], 0
call fcn.00404c20
lea ecx, [esp + 0x148]
call fcn.00421d30
lea ecx, [esp + 0x48]
call fcn.00404c80
mov ecx, eax
and ecx, 7
je 0x4038cc
mov edx, 8
mov byte [esp + 0x13], 0
sub edx, ecx
lea ecx, [esp + 0x13]
add eax, edx
push ecx
push eax
lea ecx, [esp + 0x50]
call fcn.00404c20
lea ecx, [esp + 0x48]
call fcn.00404c80
push eax
push 0
lea ecx, [esp + 0x50]
call fcn.00404c90
push eax
lea ecx, [esp + 0x150]
call fcn.00421d40
mov edx, dword [0x42a1ac]
lea ecx, [esp + 0x20]
push edx
call fcn.00401d10
mov ecx, edi
call fcn.00404720
mov edx, dword [eax]
lea ecx, [esp + 0x20]
push 0
push ecx
lea ecx, [esp + 0x48]
push ecx
mov ecx, eax
call dword [edx + 0x20]
mov ecx, eax
mov byte [esp + 0x28c], 0x2c
call fcn.00401f50
push eax
lea ecx, [esp + 0x1b8]
call fcn.0041b450
lea ecx, [esp + 0x40]
mov byte [esp + 0x28c], 0x28
call dword [0x425270]
lea ecx, [esp + 0x48]
call fcn.00404c80
shr eax, 3
push eax
push 0
lea ecx, [esp + 0x50]
call fcn.00404c90
push eax
lea ecx, [esp + 0x1bc]
call fcn.0041b700
lea ecx, [esp + 0x48]
call fcn.00404c80
test eax, eax
je 0x40399f
lea ecx, [esp + 0x14]
call fcn.00404b50
push eax
push 1
lea ecx, [esp + 0x50]
call fcn.00404c80
push eax
push 0
lea ecx, [esp + 0x58]
call fcn.00404c90
push eax
call ebp
add esp, 0x10
lea ecx, [esp + 0x14]
call fcn.00404b50
push eax
call dword [0x425124]
mov ecx, dword [esp + 0x5c]
add esp, 4
sub eax, ecx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x2a0]
cmp eax, 0xffffffff
jne 0x403a87
lea ecx, [esp + 0x80]
call fcn.00404a40
mov ebx, dword [esp + 0x44]
cmp ebx, eax
jne 0x403a2d
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], 0
call fcn.00404b50
push eax
push 1
lea edx, [esp + 0x40]
push 4
push edx
call ebp
add esp, 0x10
lea ecx, [esp + 0x14]
call fcn.00404b50
push eax
push 1
lea eax, [esp + 0x40]
push 4
push eax
call ebp
add esp, 0x10
lea ecx, [esp + 0x14]
call fcn.00404b50
push eax
push 1
lea ecx, [esp + 0x40]
push 4
push ecx
jmp 0x403a82
lea ecx, [esp + 0x14]
call fcn.00404b50
push eax
push 1
push 4
mov ecx, ebx
call fcn.004040a0
add eax, 0x28
push eax
call ebp
add esp, 0x10
lea ecx, [esp + 0x14]
call fcn.00404b50
push eax
push 1
push 4
mov ecx, ebx
call fcn.004040a0
add eax, 0x24
push eax
call ebp
add esp, 0x10
lea ecx, [esp + 0x14]
call fcn.00404b50
push eax
push 1
push 4
mov ecx, ebx
call fcn.004040a0
add eax, 0x30
push eax
call ebp
add esp, 0x10
lea ecx, [esp + 0x14]
call fcn.00404b50
mov ebx, dword [0x425124]
push eax
call ebx
add eax, 0x2c
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x5c]
sub esi, eax
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x78], edx
mov dword [esp + 0x98], esi
call fcn.00404b50
push eax
push 1
lea ecx, [esp + 0x30]
push 4
push ecx
call ebp
add esp, 0x10
lea ecx, [esp + 0x14]
call fcn.00404b50
push eax
push 1
lea edx, [esp + 0x80]
push 4
push edx
call ebp
add esp, 0x10
lea ecx, [esp + 0x14]
call fcn.00404b50
push eax
push 1
lea eax, [esp + 0x60]
push 4
push eax
call ebp
add esp, 0x10
lea ecx, [esp + 0x14]
call fcn.00404b50
push eax
push 1
lea ecx, [esp + 0xa0]
push 4
push ecx
call ebp
add esp, 0x10
lea ecx, [esp + 0x14]
call fcn.00404b50
push eax
push 1
lea edx, [esp + 0x6c]
push 4
push edx
call ebp
add esp, 0x10
lea ecx, [esp + 0x14]
call fcn.00404b50
push eax
push 1
lea eax, [esp + 0x9c]
push 4
push eax
call ebp
add esp, 0x10
lea ecx, [esp + 0xa8]
push ecx
lea ecx, [esp + 0x14c]
call fcn.00421e10
lea ecx, [esp + 0x14]
call fcn.00404b50
push eax
push 1
lea edx, [esp + 0xb0]
push 0x10
push edx
call ebp
add esp, 0x10
lea ecx, [esp + 0x14]
call fcn.00404b50
push eax
call ebx
mov ecx, dword [esp + 0x2a4]
mov esi, eax
mov eax, dword [0x42a3f0]
add esp, 4
add esi, 4
mov dword [esp + 0x34], eax
test ecx, ecx
jge 0x403bdf
mov eax, dword [0x42a1c8]
lea ecx, [esp + 0x20]
push eax
call fcn.00401d10
mov ecx, edi
call fcn.00404720
mov edx, dword [eax]
lea ecx, [esp + 0x20]
push 0
push ecx
mov ecx, eax
call dword [edx + 0x14]
test eax, eax
je 0x403bf2
mov eax, dword [esp + 0x34]
xor eax, esi
xor eax, 0xcafebabe
mov dword [esp + 0x34], eax
mov al, byte [esp + 0x37]
test al, al
jne 0x403bfa
mov dword [esp + 0x34], 0xcafebabe
lea ecx, [esp + 0x14]
call fcn.00404b50
push eax
push 1
lea edx, [esp + 0x3c]
push 4
push edx
call ebp
push 0x64
call fcn.00407640
mov eax, dword [esp + 0x8c]
add esp, 0x14
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x42a3dc
call fcn.00401d10
lea ecx, [esp + 0x48]
push ecx
call dword [0x42526c]
add esp, 0xc
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x290], 0x3c
call fcn.00405dd0
lea edx, [esp + 0x20]
push 0x54
push edx
call fcn.004073b0
add esp, 8
lea ecx, [esp + 0x40]
mov byte [esp + 0x28c], 0x28
call dword [0x425270]
mov ebx, dword [esp + 0x3c]
mov eax, dword [esp + 0x64]
cmp ebx, 0x100000
push eax
jae 0x403cd3
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x42a3c0
call fcn.00401d10
lea ecx, [esp + 0x4c]
push ecx
call dword [0x42526c]
add esp, 0x10
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x290], 0x3d
call fcn.00405dd0
lea edx, [esp + 0x20]
push 0x54
push edx
call fcn.004073b0
add esp, 8
mov byte [esp + 0x28c], 0x28
lea ecx, [esp + 0x40]
jmp 0x403d25
mov ecx, ebx
shr ecx, 0xa
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x42a3a8
call fcn.00401d10
lea edx, [esp + 0x4c]
push edx
call dword [0x42526c]
add esp, 0x10
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x290], 0x3e
call fcn.00405dd0
lea eax, [esp + 0x20]
push 0x54
push eax
call fcn.004073b0
add esp, 8
mov byte [esp + 0x28c], 0x28
lea ecx, [esp + 0x40]
call dword [0x425270]
mov ecx, dword [0x42a1c8]
mov dword [0x42ca3c], ebx
push ecx
lea ecx, [esp + 0x24]
call fcn.00401d10
mov ecx, edi
call fcn.00404720
mov edx, dword [eax]
lea ecx, [esp + 0x20]
push 0
push ecx
mov ecx, eax
call dword [edx + 0x14]
test eax, eax
jne 0x403d65
mov eax, dword [esp + 0x2a0]
test eax, eax
jl 0x403d6b
mov dword [0x42ca34], esi
mov ebx, dword [esp + 0x18]
lea ecx, [esp + 0x14]
sub esi, ebx
mov dword [0x42ca30], esi
call fcn.00404b50
push eax
call dword [0x425124]
add esp, 4
lea ecx, [esp + 0x14]
mov esi, eax
push 0
push ebx
call fcn.00404b50
push eax
call dword [0x42512c]
mov edx, dword [0x42a394]
mov eax, dword [0x42a398]
mov ecx, dword [0x42a39c]
mov dword [esp + 0x120], edx
mov edx, dword [0x42a3a0]
add esp, 0xc
mov dword [esp + 0x120], edx
xor edx, edx
mov dword [esp + 0x127], edx
mov dword [esp + 0x118], eax
mov ax, word [0x42a3a4]
mov dword [esp + 0x12b], edx
mov dword [esp + 0x11c], ecx
mov cl, byte [0x42a3a6]
mov dword [esp + 0x12f], edx
mov word [esp + 0x124], ax
mov byte [esp + 0x126], cl
mov byte [esp + 0x133], dl
lea ebx, [esp + 0x118]
mov dword [esp + 0x1c], 7
call dword [0x42511c]
mov dword [ebx], eax
mov eax, dword [esp + 0x1c]
add ebx, 4
dec eax
mov dword [esp + 0x1c], eax
jne 0x403e1d
mov edx, dword [esp + 0x18]
mov eax, esi
sub eax, edx
lea ecx, [esp + 0x1b4]
mov dword [esp + 0x114], eax
call fcn.00421d30
lea ecx, [esp + 0x114]
push 0x10
push ecx
lea ecx, [esp + 0x1bc]
call fcn.00421d40
lea edx, [esp + 0x124]
lea ecx, [esp + 0x1b4]
push edx
call fcn.00421e10
lea ecx, [esp + 0x14]
call fcn.00404b50
push eax
push 0x20
lea eax, [esp + 0x11c]
push 1
push eax
call ebp
add esp, 0x10
lea ecx, [esp + 0x14]
push 0
push esi
call fcn.00404b50
push eax
call dword [0x42512c]
add esp, 0xc
lea ecx, [esp + 0x2c]
mov byte [esp + 0x28c], 0x25
call dword [0x425270]
lea ecx, [esp + 0x48]
mov byte [esp + 0x28c], 0x18
call fcn.00404bf0
mov ecx, dword [0x42a1c8]
push ecx
lea ecx, [esp + 0x60]
call fcn.00401d10
mov ecx, edi
call fcn.00404720
mov edx, dword [eax]
lea ecx, [esp + 0x5c]
push 0
push ecx
mov ecx, eax
call dword [edx + 0x14]
test eax, eax
jne 0x403f0d
lea ecx, [esp + 0x14]
call fcn.00404b50
push eax
call dword [0x425124]
add esp, 4
mov dword [0x42ca2c], eax
lea ecx, [esp + 0x14]
call fcn.00404b50
push eax
call dword [0x425118]
add esp, 4
lea ecx, [esp + 0x14]
call fcn.00404b50
push eax
call dword [0x425114]
add esp, 4
lea ecx, [esp + 0xcc]
mov byte [esp + 0x28c], 0x15
call fcn.00404560
lea ecx, [esp + 0xb8]
mov byte [esp + 0x28c], 0x14
call fcn.00404ba0
lea ecx, [esp + 0xfc]
mov byte [esp + 0x28c], 0x13
call fcn.00404b80
lea ecx, [esp + 0xc4]
mov byte [esp + 0x28c], 0x12
call fcn.00404b80
lea ecx, [esp + 0xbc]
mov byte [esp + 0x28c], 0x11
call dword [0x425270]
lea ecx, [esp + 0x10c]
mov byte [esp + 0x28c], 0x10
call fcn.00404460
lea ecx, [esp + 0x80]
mov byte [esp + 0x28c], 2
call fcn.004049f0
lea ecx, [esp + 0x14]
mov byte [esp + 0x28c], 0
call fcn.00404ae0
lea ecx, [esp + 0xc0]
mov dword [esp + 0x28c], 0xffffffff
call fcn.00404ab0
mov ecx, dword [esp + 0x284]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x280
ret