Function at 0x41f240
Capabilities:
Check http status code
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xd4
push ebx
push esi
mov eax, dword [ecx + 0xd2c]
push edi
push ebp
mov ebx, ecx
cmp eax, 0xffffffff
nop
mov ebp, dword [ebx + 0x7e4]
je 0x41f29f
mov eax, ebx
sub eax, ebp
cmp eax, 0xfffff820
je 0x41f28a
test ebp, ebp
je 0x41f28a
mov ecx, ebp
call fcn.004183a0
cmp eax, dword [ebx + 0xd2c]
je 0x41f28a
mov ebp, dword [ebp + 4]
mov eax, ebx
sub eax, ebp
cmp eax, 0xfffff820
jne 0x41f269
mov ecx, ebp
call fcn.004183a0
cmp eax, dword [ebx + 0xd2c]
je 0x41f29f
mov ebp, dword [ebx + 0x7e4]
mov eax, ebx
sub eax, ebp
cmp eax, 0xfffff820
je 0x4213e3
test ebp, ebp
je 0x4213e3
mov ecx, ebp
call fcn.004183e0
cmp eax, 0x6b
je 0x4213d1
mov ecx, ebp
call fcn.004183e0
cmp eax, 0x6c
je 0x4213d1
mov ecx, ebp
call fcn.004183e0
cmp eax, 0x6a
je 0x4213d1
mov ecx, ebp
call fcn.004188a0
test eax, eax
je 0x4213d1
mov ecx, ebp
call fcn.004188a0
cmp eax, 1
je 0x4213d1
mov eax, dword [ebx + 0xf0]
mov ecx, ebp
push eax
call fcn.00419fd0
test eax, eax
jne 0x41f331
mov eax, dword [ebx + 0xf0]
mov ecx, dword [eax + 0xf0]
mov edx, dword [ecx + 0x38]
mov ecx, ebp
mov eax, dword [edx + 4]
push eax
call fcn.0041a060
mov ecx, ebp
call fcn.004183c0
test eax, eax
jne 0x41ff25
xor edi, edi
mov ecx, ebp
mov dword [esp + 0x24], 1
mov dword [esp + 0x1c], edi
call fcn.004183e0
cmp eax, 0x64
je 0x41f866
mov ecx, ebp
call fcn.004183e0
cmp eax, 0x67
je 0x41f866
mov ecx, ebp
call fcn.004183e0
cmp eax, 0x65
je 0x41f596
mov ecx, ebp
call fcn.004183e0
cmp eax, 0x68
je 0x41f596
mov ecx, ebp
call fcn.004183e0
cmp eax, 0x6d
jne 0x41fe1a
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
mov ecx, dword [ebx + 0xf0]
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x6d
push 0xffffffffffffffff
call fcn.004d1010
mov esi, eax
test esi, esi
jne 0x41f3d1
push 1
mov ecx, ebp
call fcn.004188b0
jmp 0x4213a5
mov ecx, ebp
call fcn.00418770
push eax
mov ecx, dword [ebx + 0xf0]
call fcn.004d0ff0
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x41f3fa
push 1
mov ecx, ebp
call fcn.004188b0
jmp 0x4213a5
fld dword [esi + 0x38]
call fcn.005194c4
fld dword [esi + 0x3c]
mov dword [esp + 0x30], eax
call fcn.005194c4
fld dword [esi + 0x40]
mov dword [esp + 0x34], eax
call fcn.005194c4
lea edx, [esp + 0x84]
push 1
mov dword [esp + 0x3c], eax
push edx
fild dword [ebx + 0x1f0]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x40]
mov ecx, dword [eax]
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x28], ecx
push eax
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
sub esp, 4
fstp dword [esp]
push edx
push eax
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x38]
call dword [eax + 0x180]
test eax, eax
jne 0x41f54a
lea eax, [esp + 0x84]
push 1
fild dword [ebx + 0x1f0]
push 0x16
mov ecx, dword [esi + 0x2c]
push 1
push eax
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
sub esp, 4
fstp dword [esp]
push eax
push ecx
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
push edx
call dword [eax + 0x184]
test eax, eax
jne 0x41f4b4
push 1
mov ecx, ebp
call fcn.004188b0
jmp 0x4213a5
lea eax, [esp + 0xe0]
lea ecx, [esp + 0xdc]
mov edi, dword [esp + 0x20]
push eax
push ecx
push 2
mov ecx, dword [esp + 0x28]
call dword [edi + 0x188]
cmp eax, 1
jne 0x41f53c
push 0
mov eax, dword [ebx + 0xf0]
push 1
mov ecx, ebp
push 0xe
push eax
push ebx
call fcn.00418a60
push 0xd
mov ecx, ebp
call fcn.004188b0
mov eax, dword [esi + 0x2c]
mov ecx, ebp
push eax
call fcn.004188d0
xor eax, eax
mov ecx, ebp
mov al, byte [esi + 0x50]
push eax
call fcn.004188f0
mov ecx, dword [esi + 0x40]
mov edx, dword [esi + 0x3c]
push ecx
mov eax, dword [esi + 0x38]
push edx
mov ecx, ebp
push eax
call fcn.00418960
push 1
mov ecx, ebp
call fcn.004183d0
push 0xc8
mov ecx, ebp
call fcn.00418a20
jmp 0x4213a5
push 1
mov ecx, ebp
call fcn.004188b0
jmp 0x4213a5
mov eax, dword [esi + 0x2c]
mov ecx, ebp
push eax
call fcn.004188d0
xor eax, eax
mov ecx, ebp
mov al, byte [esi + 0x50]
push eax
call fcn.004188f0
mov ecx, dword [esi + 0x40]
mov edx, dword [esi + 0x3c]
push ecx
mov eax, dword [esi + 0x38]
push edx
mov ecx, ebp
push eax
call fcn.00418960
mov ecx, dword [esi + 0x40]
mov edx, dword [esi + 0x3c]
push ecx
mov eax, dword [esi + 0x38]
push edx
mov ecx, ebp
push eax
call fcn.004189a0
push 1
mov ecx, ebp
call fcn.004183d0
jmp 0x41fe1a
mov ecx, ebp
call fcn.00418770
push eax
mov ecx, dword [ebx + 0xf0]
add ecx, 0xcec
call fcn.00435590
mov edi, eax
test edi, edi
jne 0x41f5c3
push 1
mov ecx, ebp
call fcn.004188b0
jmp 0x4213a5
mov ecx, ebp
call fcn.00418770
push eax
mov ecx, dword [ebx + 0xf0]
call fcn.004d0ff0
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x41f5ec
push 1
mov ecx, ebp
call fcn.004188b0
jmp 0x4213a5
cmp word [edi + 4], 0x6d
jne 0x41f5fb
fild dword [ebx + 0x1ec]
jmp 0x41f601
fild dword [ebx + 0x278]
fstp dword [esp + 0x14]
xor eax, eax
mov al, byte [edi + 8]
mov dword [esp + 0x3c], eax
xor eax, eax
mov al, byte [edi + 9]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x40], eax
push 1
xor eax, eax
mov al, byte [edi + 0xa]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x8c]
mov esi, dword [ecx]
push eax
mov ecx, dword [edi]
push ecx
mov ecx, dword [esp + 0x28]
call dword [esi + 0xf4]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
sub esp, 4
fstp dword [esp]
push ecx
push edx
mov ecx, dword [esp + 0x34]
push eax
call dword [esi + 0x180]
test eax, eax
jne 0x41f787
lea eax, [esp + 0x88]
push 1
push 0x16
mov ecx, dword [edi]
mov edx, dword [esp + 0x1c]
push 1
push eax
push ecx
mov eax, dword [esp + 0x58]
push edx
mov ecx, dword [esp + 0x58]
push eax
mov edx, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
call dword [esi + 0x184]
test eax, eax
jne 0x41f6a5
push 1
mov ecx, ebp
call fcn.004188b0
jmp 0x4213a5
lea eax, [esp + 0xd8]
lea ecx, [esp + 0xd4]
push eax
push ecx
mov ecx, dword [esp + 0x24]
push 2
call dword [esi + 0x188]
cmp eax, 1
jne 0x41f779
mov dword [edi + 0x10], 1
push 0
mov eax, dword [ebx + 0xf0]
push 1
mov ecx, ebp
push 0xe
push eax
push ebx
call fcn.00418a60
push 0xd
mov ecx, ebp
call fcn.004188b0
mov eax, dword [edi]
mov ecx, ebp
push eax
call fcn.004188d0
movsx eax, word [edi + 4]
push eax
mov ecx, ebp
call fcn.004188f0
xor eax, eax
sub esp, 4
mov al, byte [edi + 0xa]
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x1c], 0
fild qword [esp + 0x18]
mov al, byte [edi + 9]
mov dword [esp + 0x18], eax
sub esp, 4
xor eax, eax
fstp dword [esp + 4]
mov dword [esp + 0x20], 0
fild qword [esp + 0x1c]
mov al, byte [edi + 8]
sub esp, 4
mov ecx, ebp
mov dword [esp + 0x20], eax
fstp dword [esp + 4]
mov dword [esp + 0x24], 0
fild qword [esp + 0x20]
fstp dword [esp]
call fcn.00418960
push 1
mov ecx, ebp
call fcn.004183d0
push 0xc8
mov ecx, ebp
call fcn.00418a20
jmp 0x4213a5
push 1
mov ecx, ebp
call fcn.004188b0
jmp 0x4213a5
mov dword [edi + 0x10], 1
mov eax, dword [edi]
mov ecx, ebp
push eax
call fcn.004188d0
movsx eax, word [edi + 4]
push eax
mov ecx, ebp
call fcn.004188f0
xor eax, eax
sub esp, 4
mov al, byte [edi + 0xa]
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x1c], 0
fild qword [esp + 0x18]
mov al, byte [edi + 9]
mov dword [esp + 0x18], eax
sub esp, 4
xor eax, eax
fstp dword [esp + 4]
mov dword [esp + 0x20], 0
fild qword [esp + 0x1c]
mov al, byte [edi + 8]
sub esp, 4
mov ecx, ebp
mov dword [esp + 0x20], eax
fstp dword [esp + 4]
mov dword [esp + 0x24], 0
fild qword [esp + 0x20]
fstp dword [esp]
call fcn.00418960
xor eax, eax
sub esp, 4
mov al, byte [edi + 0xa]
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x1c], 0
fild qword [esp + 0x18]
mov al, byte [edi + 9]
mov dword [esp + 0x18], eax
sub esp, 4
xor eax, eax
fstp dword [esp + 4]
mov dword [esp + 0x20], 0
fild qword [esp + 0x1c]
mov al, byte [edi + 8]
sub esp, 4
mov ecx, ebp
mov dword [esp + 0x20], eax
fstp dword [esp + 4]
mov dword [esp + 0x24], 0
fild qword [esp + 0x20]
fstp dword [esp]
call fcn.004189a0
push 1
mov ecx, ebp
call fcn.004183d0
jmp 0x41fe1a
mov eax, dword [ebx + 0xbc0]
test eax, eax
je 0x4213a5
mov eax, dword [ebx + 0x41c]
test eax, eax
je 0x41f8a7
mov ecx, ebp
call fcn.004183e0
cmp eax, 0x67
je 0x41f8a7
xor eax, eax
mov ecx, dword [eax]
push ecx
mov ecx, dword [ebx + 0xf0]
add ecx, 0xcec
call fcn.00432670
mov edi, eax
jmp 0x41fb62
mov ecx, dword [ebx + 0xab4]
mov eax, dword [ebx + 0xf0]
mov edx, dword [eax + 0xf0]
mov esi, dword [edx + 0x38]
sub edx, edx
mov eax, dword [esi + 4]
mov esi, 0x3e8
sub eax, ecx
div esi
mov esi, eax
test ecx, ecx
je 0x41f8f0
mov eax, dword [ebx + 0x250]
cmp eax, 2
jne 0x41f8f0
test esi, esi
je 0x41f8f0
push 0x2e
mov ecx, ebx
call fcn.0042bb10
cmp eax, esi
ja 0x4213a5
mov eax, dword [ebx + 0xab4]
test eax, eax
je 0x41f916
mov eax, dword [ebx + 0x250]
cmp eax, 1
jne 0x41f916
push 0x2e
mov ecx, ebx
call fcn.0042bb10
cmp eax, esi
ja 0x4213a5
mov ecx, dword [ebx + 0xf0]
add ecx, 0x11668
call fcn.004a99d0
test eax, eax
jne 0x41f9ed
mov ecx, ebx
call fcn.0042ba50
push eax
mov ecx, dword [ebx + 0xf0]
add ecx, 0xcec
call fcn.00432670
mov edi, eax
test edi, edi
jne 0x41fb5f
mov eax, dword [ebx + 0xadc]
dec eax
jns 0x41f9bd
push 4
call fcn.00513eb0
add esp, 4
mov esi, eax
test esi, esi
je 0x41f9bd
xor edx, edx
mov eax, dword [ebx + 0xadc]
cmp eax, edx
jle 0x41f99e
xor ecx, ecx
mov eax, esi
cmp ecx, 4
jge 0x41f99e
mov edi, dword [ebx + 0xad0]
add ecx, 4
add eax, 4
inc edx
mov edi, dword [edi + ecx - 4]
mov dword [eax - 4], edi
mov edi, dword [ebx + 0xadc]
cmp edi, edx
jg 0x41f97b
mov eax, dword [ebx + 0xad0]
push eax
call fcn.00513ed0
add esp, 4
mov dword [ebx + 0xad0], esi
mov dword [ebx + 0xadc], 1
lea eax, [esp + 0x24]
mov ecx, ebp
push eax
call fcn.00418770
push eax
push 1
push 1
mov eax, dword [ebx + 0xad0]
mov ecx, dword [eax]
push ecx
mov ecx, dword [ebx + 0xf0]
add ecx, 0xcec
call fcn.00434480
jmp 0x41fb4b
mov ecx, dword [ebx + 0xf0]
add ecx, 0x11668
call fcn.004a99d0
cmp eax, 4
jne 0x41fac5
mov ecx, ebx
call fcn.0042baa0
push eax
mov ecx, dword [ebx + 0xf0]
add ecx, 0xcec
call fcn.00432670
mov edi, eax
test edi, edi
jne 0x41fb5f
mov eax, dword [ebx + 0xadc]
dec eax
jns 0x41fa95
push 4
call fcn.00513eb0
add esp, 4
mov esi, eax
test esi, esi
je 0x41fa95
xor edx, edx
mov eax, dword [ebx + 0xadc]
cmp eax, edx
jle 0x41fa76
xor ecx, ecx
mov eax, esi
cmp ecx, 4
jge 0x41fa76
mov edi, dword [ebx + 0xad0]
add ecx, 4
add eax, 4
inc edx
mov edi, dword [edi + ecx - 4]
mov dword [eax - 4], edi
mov edi, dword [ebx + 0xadc]
cmp edi, edx
jg 0x41fa53
mov eax, dword [ebx + 0xad0]
push eax
call fcn.00513ed0
add esp, 4
mov dword [ebx + 0xad0], esi
mov dword [ebx + 0xadc], 1
lea eax, [esp + 0x24]
mov ecx, ebp
push eax
call fcn.00418770
push eax
push 1
push 1
mov eax, dword [ebx + 0xad0]
mov ecx, dword [eax]
push ecx
mov ecx, dword [ebx + 0xf0]
add ecx, 0xcec
call fcn.00434480
jmp 0x41fb4b
mov eax, dword [ebx + 0xadc]
dec eax
jns 0x41fb30
push 4
call fcn.00513eb0
add esp, 4
mov esi, eax
test esi, esi
je 0x41fb30
xor edx, edx
mov eax, dword [ebx + 0xadc]
cmp eax, edx
jle 0x41fb11
xor ecx, ecx
mov eax, esi
cmp ecx, 4
jge 0x41fb11
mov edi, dword [ebx + 0xad0]
add ecx, 4
add eax, 4
inc edx
mov edi, dword [edi + ecx - 4]
mov dword [eax - 4], edi
mov edi, dword [ebx + 0xadc]
cmp edi, edx
jg 0x41faee
mov eax, dword [ebx + 0xad0]
push eax
call fcn.00513ed0
add esp, 4
mov dword [ebx + 0xad0], esi
mov dword [ebx + 0xadc], 1
push ebp
mov eax, dword [ebx + 0xad0]
mov ecx, dword [eax]
push ecx
mov ecx, dword [ebx + 0xf0]
add ecx, 0xcec
call fcn.00434c10
mov edi, eax
test edi, edi
jne 0x41fb5f
push 1
mov ecx, ebp
call fcn.004188b0
jmp 0x4213a5
inc dword [edi + 0x10]
mov ecx, ebp
call fcn.00418770
push eax
mov ecx, dword [ebx + 0xf0]
call fcn.004d0ff0
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x41fb8b
push 1
mov ecx, ebp
call fcn.004188b0
jmp 0x4213a5
xor eax, eax
mov al, byte [edi + 8]
mov dword [esp + 0x48], eax
xor eax, eax
mov al, byte [edi + 9]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x4c], eax
push 1
xor eax, eax
mov al, byte [edi + 0xa]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x90]
mov esi, dword [ecx]
push eax
mov ecx, dword [edi]
push ecx
mov ecx, dword [esp + 0x28]
call dword [esi + 0xf4]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
sub esp, 4
fstp dword [esp]
push ecx
push edx
mov ecx, dword [esp + 0x34]
push eax
call dword [esi + 0x180]
test eax, eax
jne 0x41fd51
mov ecx, ebp
call fcn.004183e0
push 1
cmp eax, 0x67
jne 0x41fc0e
mov ecx, ebp
call fcn.004188b0
mov dword [ebp + 0x1d0], 0xffffffff
jmp 0x4213a5
lea eax, [esp + 0x90]
push 0x16
push 1
mov ecx, dword [edi]
push eax
push ecx
mov ecx, dword [esp + 0x30]
call dword [esi + 0xf4]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x5c]
sub esp, 4
fstp dword [esp]
push ecx
push edx
mov ecx, dword [esp + 0x3c]
push eax
call dword [esi + 0x184]
test eax, eax
jne 0x41fc62
push 1
mov ecx, ebp
call fcn.004188b0
mov dword [ebp + 0x1d0], 0xffffffff
jmp 0x4213a5
lea eax, [esp + 0xd0]
lea ecx, [esp + 0xcc]
push eax
push ecx
mov ecx, dword [esp + 0x24]
push 2
call dword [esi + 0x188]
cmp eax, 1
jne 0x41fd39
push 0
mov eax, dword [ebx + 0xf0]
push 1
mov ecx, ebp
push 0xe
push eax
push ebx
call fcn.00418a60
push 0xd
mov ecx, ebp
call fcn.004188b0
mov eax, dword [edi]
mov ecx, ebp
push eax
call fcn.004188d0
movsx eax, word [edi + 4]
push eax
mov ecx, ebp
call fcn.004188f0
xor eax, eax
sub esp, 4
mov al, byte [edi + 0xa]
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x1c], 0
fild qword [esp + 0x18]
mov al, byte [edi + 9]
mov dword [esp + 0x18], eax
sub esp, 4
xor eax, eax
fstp dword [esp + 4]
mov dword [esp + 0x20], 0
fild qword [esp + 0x1c]
mov al, byte [edi + 8]
sub esp, 4
mov ecx, ebp
mov dword [esp + 0x20], eax
fstp dword [esp + 4]
mov dword [esp + 0x24], 0
fild qword [esp + 0x20]
fstp dword [esp]
call fcn.00418960
push 1
mov ecx, ebp
call fcn.004183d0
push 0xc8
mov ecx, ebp
call fcn.00418a20
mov dword [ebp + 0x1d0], 0xffffffff
jmp 0x4213a5
push 1
mov ecx, ebp
call fcn.004188b0
mov dword [ebp + 0x1d0], 0xffffffff
jmp 0x4213a5
mov ecx, dword [ebx + 0xf0]
mov eax, dword [ecx + 0xf0]
add ecx, 0xf0
mov edx, dword [eax + 0x38]
mov eax, dword [ebx + 0x2b0]
cmp eax, 1
mov esi, dword [edx + 4]
mov dword [ebx + 0xab4], esi
jne 0x41fd88
mov eax, dword [ecx]
mov ecx, dword [eax + 0x38]
mov edx, dword [ecx + 4]
mov dword [ebx + 0xabc], edx
mov eax, dword [edi]
mov ecx, ebp
push eax
call fcn.004188d0
movsx eax, word [edi + 4]
push eax
mov ecx, ebp
call fcn.004188f0
xor eax, eax
sub esp, 4
mov al, byte [edi + 0xa]
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x1c], 0
fild qword [esp + 0x18]
mov al, byte [edi + 9]
mov dword [esp + 0x18], eax
sub esp, 4
xor eax, eax
fstp dword [esp + 4]
mov dword [esp + 0x20], 0
fild qword [esp + 0x1c]
mov al, byte [edi + 8]
sub esp, 4
mov ecx, ebp
mov dword [esp + 0x20], eax
fstp dword [esp + 4]
mov dword [esp + 0x24], 0
fild qword [esp + 0x20]
fstp dword [esp]
call fcn.00418960
push 1
mov ecx, ebp
call fcn.004183d0
xor eax, eax
mov al, byte [edi + 9]
push eax
xor eax, eax
mov al, byte [edi + 8]
mov ecx, ebx
push eax
xor eax, eax
mov al, byte [edi + 0xb]
push eax
call fcn.0042d8e0
mov ecx, dword [ebx + 0xf0]
add ecx, 0x11668
call fcn.004a99d0
cmp eax, 0xb
jne 0x41fefe
mov ecx, ebp
call fcn.004183e0
cmp eax, 0x64
je 0x41fe50
mov ecx, ebp
call fcn.004183e0
cmp eax, 0x67
jne 0x41fefe
mov eax, dword [ebx + 0x330]
cmp eax, 1
jne 0x41fefe
test edi, edi
je 0x41fefe
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x41fefe
mov eax, dword [edi]
mov ecx, dword [ebx + 0xf0]
push eax
add ecx, 0xcec
xor eax, eax
mov al, byte [edi + 0xb]
push eax
call fcn.004322d0
mov ecx, dword [edi]
xor eax, eax
push ecx
mov al, byte [edi + 0xb]
push eax
mov ecx, dword [ebx + 0xf0]
add ecx, 0xcec
call fcn.004324f0
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov al, byte [edi + 8]
mov dword [esp + 0x94], eax
xor eax, eax
mov al, byte [edi + 9]
mov dword [esp + 0x9c], 1
mov dword [esp + 0x98], eax
mov eax, dword [edi]
mov esi, dword [ecx]
push eax
call dword [esi + 0xf4]
lea eax, [esp + 0x98]
mov ecx, dword [esp + 0x20]
sub esp, 4
fstp dword [esp]
push eax
call dword [esi + 0x1ac]
test eax, eax
je 0x41fefe
push eax
mov ecx, ebx
push ebp
call fcn.0042d040
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x42138a
mov ecx, ebp
call fcn.004188a0
cmp eax, 2
jne 0x42138a
push 0
push 1
push 0x15
jmp 0x421396
mov ecx, ebp
call fcn.004188a0
mov ecx, ebp
cmp eax, 0xd
jne 0x42005c
call fcn.00418a10
cmp eax, 0xc8
jne 0x4213a5
mov ecx, ebp
call fcn.00418a30
cmp eax, 0xffffffff
jne 0x420005
mov ecx, ebp
call fcn.00418770
push eax
mov ecx, dword [ebx + 0xf0]
call fcn.004d0ff0
mov esi, eax
test esi, esi
je 0x4213a5
fld dword [esi + 0x38]
call fcn.005194c4
mov dword [esp + 0x6c], eax
fld dword [esi + 0x3c]
call fcn.005194c4
mov dword [esp + 0x70], eax
push 0xffffffffffffffff
lea eax, [esp + 0x70]
mov ecx, ebx
push eax
push 0xffffffffffffffff
push 1
push 0x6a
call fcn.0042b5a0
mov esi, eax
test esi, esi
jne 0x41ffc4
lea eax, [esp + 0x6c]
push 0xffffffffffffffff
push eax
mov ecx, ebx
push 0xffffffffffffffff
push 0
push 0x6a
call fcn.0042b5a0
mov esi, eax
test esi, esi
je 0x4213a5
mov ecx, esi
call fcn.004183a0
push eax
mov ecx, ebp
call fcn.00418a40
mov ecx, esi
call fcn.004183e0
push eax
mov ecx, ebp
call fcn.00418a50
push 0xc
mov ecx, esi
call fcn.004188b0
push 1
mov ecx, esi
call fcn.004183d0
mov ecx, ebp
call fcn.004183a0
push eax
mov ecx, esi
call fcn.00418a40
jmp 0x42001c
push 0xffffffffffffffff
mov ecx, ebp
push 0xffffffffffffffff
push 0xffffffffffffffff
call fcn.00418a30
push eax
mov ecx, ebx
call fcn.0042b500
mov esi, eax
test esi, esi
je 0x4213a5
mov eax, dword [ebx + 0xf0]
mov ecx, ebp
push eax
call fcn.0041a0d0
cmp eax, 0xffffffff
mov edi, eax
jne 0x420047
push 0xf
mov ecx, ebp
call fcn.004188b0
jmp 0x4213a5
mov ecx, esi
call fcn.00418770
push eax
mov ecx, ebx
push edi
call fcn.00426cb0
jmp 0x4213a5
call fcn.004188a0
cmp eax, 0xf
jne 0x420451
push 0xffffffffffffffff
mov ecx, ebp
push 0xffffffffffffffff
push 0xffffffffffffffff
call fcn.00418a30
push eax
mov ecx, ebx
call fcn.0042b500
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x4200b0
push 0xffffffffffffffff
mov ecx, ebp
call fcn.004188d0
push 0xffffffffffffffff
mov ecx, ebp
call fcn.004188f0
push 1
mov ecx, ebp
call fcn.004188b0
push 0
mov ecx, ebp
call fcn.004183d0
jmp 0x4213a5
mov ecx, dword [esp + 0x1c]
call fcn.00418770
push eax
mov ecx, dword [ebx + 0xf0]
call fcn.004d0ff0
test eax, eax
jne 0x4200f2
push 0xffffffffffffffff
mov ecx, ebp
call fcn.004188d0
push 0xffffffffffffffff
mov ecx, ebp
call fcn.004188f0
push 1
mov ecx, ebp
call fcn.004188b0
push 0
mov ecx, ebp
call fcn.004183d0
jmp 0x4213a5
mov edx, dword [eax + 0x30]
xor ecx, ecx
mov eax, dword [eax + 0x18]
mov cl, byte [edx + 0x28]
movsx edx, word [eax + 8]
cmp ecx, edx
jg 0x420114
mov eax, dword [ebx + 0xf0]
mov ecx, ebp
push eax
push ebx
call fcn.004185e0
xor esi, esi
mov ecx, ebp
mov byte [esp + 0x13], 0xff
mov dword [esp + 0x20], 1
call fcn.004186a0
test eax, eax
jle 0x420299
push esi
mov ecx, ebp
call fcn.004186b0
push eax
mov ecx, dword [ebx + 0xf0]
call fcn.004d0ff0
mov edi, eax
test edi, edi
jne 0x42015f
push str.____Unit__d_is_invalid.
push ebx
call fcn.00416470
add esp, 8
jmp 0x420289
mov ecx, edi
call fcn.004dc0c0
test eax, eax
jne 0x42017d
push str.____Unit__d_has_invalid_unitAI.
push ebx
call fcn.00416470
add esp, 8
jmp 0x420289
mov ecx, ebp
call fcn.00418770
push esi
mov ecx, ebp
mov dword [esp + 0x18], eax
call fcn.004186b0
cmp dword [esp + 0x14], eax
jne 0x4201d0
mov ecx, ebp
call fcn.00418900
fld dword [eax]
call fcn.005194c4
mov ecx, ebp
mov dword [esp + 0x74], eax
call fcn.00418900
fld dword [eax + 4]
call fcn.005194c4
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
push ecx
push eax
mov ecx, edi
call fcn.004dc0d0
mov byte [esp + 0x13], al
mov eax, dword [edi + 0x14]
test eax, eax
je 0x420236
mov ecx, dword [esp + 0x1c]
call fcn.00418770
mov ecx, dword [edi + 0x14]
cmp eax, dword [ecx + 0x2c]
jne 0x42020a
mov ecx, edi
call fcn.004dc0c0
mov ecx, eax
call fcn.0048d2d0
cmp eax, 0xffffffff
je 0x42020a
push 0x64
mov eax, dword [edi + 0x2c]
push eax
mov ecx, ebx
call fcn.00425130
jmp 0x420289
mov eax, dword [edi + 0x14]
test eax, eax
je 0x42023d
mov ecx, dword [esp + 0x1c]
call fcn.00418770
mov ecx, dword [edi + 0x14]
cmp eax, dword [ecx + 0x2c]
je 0x420236
mov eax, dword [ebx + 0xf0]
mov ecx, dword [edi + 0x2c]
push eax
push ecx
mov ecx, ebp
call fcn.00418490
jmp 0x420289
mov eax, dword [edi + 0x14]
test eax, eax
jne 0x420289
mov dword [esp + 0x20], 0
mov ecx, edi
call fcn.004dc0c0
mov ecx, eax
call fcn.0048d2a0
cmp eax, 0x2bc
je 0x420289
mov ecx, edi
call fcn.004dc0c0
mov ecx, eax
call fcn.0048d2a0
cmp eax, 0x2cd
je 0x420289
mov ecx, dword [esp + 0x1c]
call fcn.00418770
push eax
mov ecx, ebp
push esi
call fcn.004186b0
push eax
mov ecx, ebx
call fcn.00426cb0
inc esi
mov ecx, ebp
call fcn.004186a0
cmp eax, esi
jg 0x420132
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4213a5
mov ecx, ebp
call fcn.00418900
fld dword [eax]
call fcn.005194c4
mov ecx, ebp
mov dword [esp + 0x7c], eax
call fcn.00418900
fld dword [eax + 4]
call fcn.005194c4
mov ecx, ebp
mov dword [esp + 0x80], eax
call fcn.00418770
push eax
mov ecx, ebp
push 0xf
call fcn.004188c0
mov edx, dword [esp + 0x84]
push eax
lea eax, [esp + 0x34]
push 0
mov ecx, dword [esp + 0x90]
push 1
push eax
push ecx
push edx
mov ecx, dword [ebx + 0xf0]
add ecx, 0xcec
call fcn.00438c80
test eax, eax
jne 0x420332
mov ecx, ebp
call fcn.00418900
fld dword [eax]
call fcn.005194c4
mov ecx, ebp
mov dword [esp + 0x28], eax
call fcn.00418900
fld dword [eax + 4]
call fcn.005194c4
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
fild dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
sub esp, 4
fxch st(1)
fstp dword [esp]
sub esp, 4
fstp dword [esp]
call fcn.00418770
push eax
mov ecx, ebx
call fcn.00426de0
fild dword [esp + 0x2c]
fild dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
push 0xbf800000
sub esp, 4
fxch st(1)
fstp dword [esp]
sub esp, 4
fstp dword [esp]
call fcn.00418960
mov ecx, dword [esp + 0x1c]
push 0xc
call fcn.004188b0
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov al, byte [esp + 0x13]
push eax
call fcn.004188f0
push 0x10
mov ecx, ebp
call fcn.004188b0
push 1
mov ecx, dword [ebx + 0xf0]
push 0
push 0x16
push ecx
push ebx
mov ecx, ebp
call fcn.00418a60
mov ecx, dword [esp + 0x1c]
call fcn.004186a0
cmp eax, 1
jle 0x4213a5
xor esi, esi
mov ecx, dword [esp + 0x1c]
call fcn.004186a0
test eax, eax
jle 0x4213a5
mov ecx, dword [esp + 0x1c]
push esi
call fcn.004186b0
mov edi, eax
mov ecx, dword [esp + 0x1c]
call fcn.00418770
cmp edi, eax
je 0x42043e
mov ecx, dword [esp + 0x1c]
push esi
call fcn.004186b0
push eax
mov ecx, dword [ebx + 0xf0]
call fcn.004d0ff0
test eax, eax
je 0x42043e
push 0x63
mov eax, dword [eax + 0x30]
mov ecx, dword [esp + 0x20]
sub esp, 4
fld dword [eax + 0x24]
fmul dword [0x532d54]
fstp dword [esp]
call fcn.00418770
mov ecx, dword [esp + 0x24]
push eax
push esi
call fcn.004186b0
push eax
mov ecx, ebx
call fcn.00426450
inc esi
mov ecx, dword [esp + 0x1c]
call fcn.004186a0
cmp eax, esi
jg 0x4203db
jmp 0x4213a5
mov ecx, ebp
call fcn.004188a0
cmp eax, 0x10
jne 0x420623
xor esi, esi
mov ecx, ebp
mov dword [esp + 0x14], 1
call fcn.004186a0
test eax, eax
jle 0x420532
push esi
mov ecx, ebp
call fcn.004186b0
push eax
mov ecx, dword [ebx + 0xf0]
call fcn.004d0ff0
mov edi, eax
test edi, edi
je 0x420522
mov ecx, edi
call fcn.004dc0c0
test eax, eax
je 0x420522
mov eax, dword [edi + 0x14]
test eax, eax
je 0x4204b4
mov dword [esp + 0x14], 0
jmp 0x420522
mov ecx, ebp
call fcn.004188c0
push eax
mov ecx, dword [ebx + 0xf0]
call fcn.004d0ff0
mov edi, eax
mov ecx, ebp
call fcn.004183e0
cmp eax, 0x64
jne 0x420510
test edi, edi
je 0x420510
push 0xffffffffffffffff
mov ecx, ebp
push 0
push 0
push 0xffffffffffffffff
call fcn.004188c0
push eax
mov ecx, ebp
call fcn.00418900
mov eax, dword [eax + 4]
mov ecx, ebp
push eax
call fcn.00418900
mov eax, dword [eax]
mov ecx, ebp
push eax
push esi
call fcn.004186b0
push eax
mov ecx, ebx
call fcn.004268c0
jmp 0x420522
push 0x64
mov ecx, ebp
push esi
call fcn.004186b0
push eax
mov ecx, ebx
call fcn.00425130
inc esi
mov ecx, ebp
call fcn.004186a0
cmp eax, esi
jg 0x42047a
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4213a5
push 0xffffffffffffffff
mov ecx, ebp
push 0xffffffffffffffff
push 0xffffffffffffffff
call fcn.00418a30
push eax
mov ecx, ebx
call fcn.0042b500
mov esi, eax
test esi, esi
je 0x42057d
push 0xffffffffffffffff
mov ecx, esi
call fcn.004188d0
push 0xffffffffffffffff
mov ecx, esi
call fcn.004188f0
push 1
mov ecx, esi
call fcn.004188b0
push 0
mov ecx, esi
call fcn.004183d0
mov ecx, ebp
call fcn.004183e0
cmp eax, 0x64
jne 0x4205c7
mov ecx, dword [ebx + 0xf0]
mov edi, dword [ebx + 0x2b0]
mov eax, dword [ecx + 0xf0]
mov edx, dword [eax + 0x38]
add ecx, 0xf0
cmp edi, 1
mov esi, dword [edx + 4]
mov dword [ebx + 0xab4], esi
jne 0x4205c0
mov eax, dword [ecx]
mov ecx, dword [eax + 0x38]
mov edx, dword [ecx + 4]
mov dword [ebx + 0xabc], edx
push 2
jmp 0x421383
mov ecx, ebp
call fcn.004183e0
cmp eax, 0x65
je 0x4205df
mov ecx, ebp
call fcn.004183e0
cmp eax, 0x6d
jne 0x420623
mov ecx, ebp
call fcn.00418900
mov eax, dword [eax + 8]
mov ecx, ebp
push eax
call fcn.00418900
mov eax, dword [eax + 4]
mov ecx, ebp
push eax
call fcn.00418900
mov eax, dword [eax]
mov ecx, ebp
push eax
call fcn.004189a0
push 0
mov ecx, ebp
call fcn.004183d0
push 1
mov ecx, ebp
call fcn.004188b0
push 1
push 1
push 1
jmp 0x421396
mov ecx, ebp
call fcn.004188a0
cmp eax, 0xc
je 0x4213a5
mov ecx, ebp
call fcn.004188a0
cmp eax, 0x13
jne 0x4206ce
mov eax, dword [ebx + 0xf0]
mov ecx, ebp
push eax
push ebx
call fcn.00419ee0
test eax, eax
jne 0x4213a5
mov eax, dword [ebx + 0xf0]
mov ecx, dword [eax + 0xf0]
mov edx, dword [ecx + 0x38]
mov ecx, ebp
mov esi, dword [edx + 4]
call fcn.0041a050
sub esi, eax
mov ecx, 0x3e8
mov eax, esi
sub edx, edx
div ecx
mov esi, eax
mov ecx, ebp
mov eax, dword [ebx + 0xf0]
push eax
call fcn.00419fd0
cmp eax, 1
jne 0x4213a5
cmp esi, 5
jbe 0x4213a5
mov eax, dword [ebx + 0xf0]
mov ecx, dword [eax + 0xf0]
mov edx, dword [ecx + 0x38]
mov ecx, ebp
mov eax, dword [edx + 4]
push eax
call fcn.0041a060
push 0
mov ecx, dword [ebx + 0xf0]
push 1
push 9
push ecx
jmp 0x42139d
mov ecx, ebp
call fcn.004188a0
cmp eax, 3
jne 0x420859
mov eax, dword [ebx + 0xf0]
mov ecx, dword [eax + 0xf0]
mov edx, dword [ecx + 0x38]
mov ecx, ebp
mov esi, dword [edx + 4]
call fcn.0041a050
sub esi, eax
mov ecx, 0x3e8
mov eax, esi
sub edx, edx
div ecx
cmp dword [ebx + 0x2c4], eax
jae 0x42074b
push 0
mov ecx, ebp
call fcn.004183d0
push 1
mov ecx, ebp
call fcn.004188b0
push 0xffffffffffffffff
mov ecx, ebp
call fcn.004188d0
push 0xffffffffffffffff
mov ecx, ebp
call fcn.004188f0
push 0xbf800000
mov ecx, ebp
push 0xbf800000
push 0xbf800000
call fcn.00418960
jmp 0x4213a5
mov eax, dword [ebx + 0xf0]
mov ecx, ebp
push eax
push ebx
call fcn.00419ee0
test eax, eax
je 0x420859
push 1
mov ecx, ebp
call fcn.004188b0
push 0
mov ecx, ebp
call fcn.004183d0
mov ecx, ebp
call fcn.004183e0
cmp eax, 0x65
je 0x42078c
mov ecx, ebp
call fcn.004183e0
cmp eax, 0x68
jne 0x4207b0
mov ecx, ebp
call fcn.004188c0
push eax
mov ecx, dword [ebx + 0xf0]
add ecx, 0xcec
call fcn.00432670
test eax, eax
je 0x4207b0
mov dword [eax + 0x10], 0
mov ecx, dword [ebx + 0xf0]
add ecx, 0x104
call fcn.00503ab0
test eax, eax
jne 0x4213a5
mov ecx, ebp
call fcn.004183e0
cmp eax, 0x64
jne 0x4207e5
push 0xffffffffffffffff
mov ecx, ebx
push 0x64
call fcn.0042b8f0
cmp eax, 1
jg 0x4207f5
mov ecx, ebp
call fcn.004183e0
cmp eax, 0x64
je 0x4213a5
mov ecx, ebp
call fcn.004183e0
cmp eax, 0x66
jne 0x420810
mov eax, dword [ebx + 0x23c]
dec eax
mov dword [ebx + 0x23c], eax
jmp 0x42083d
mov ecx, ebp
call fcn.004183e0
cmp eax, 0x65
jne 0x42082b
mov eax, dword [ebx + 0x22c]
dec eax
mov dword [ebx + 0x22c], eax
jmp 0x42083d
mov ecx, ebp
call fcn.004183e0
cmp eax, 0x64
jne 0x42083d
dec dword [ebx + 0x224]
mov eax, dword [ebx + 0xf0]
mov ecx, ebp
push eax
call fcn.004185a0
push 0
mov ecx, ebp
call fcn.004188b0
jmp 0x4213a5
mov ecx, ebp
call fcn.004188a0
cmp eax, 7
jne 0x420b71
mov ecx, ebp
call fcn.00418770
push eax
mov ecx, dword [ebx + 0xf0]
call fcn.004d0ff0
mov edi, eax
mov eax, dword [ebx + 0xadc]
dec eax
jns 0x4208f1
push 4
call fcn.00513eb0
mov dword [esp + 0x18], eax
add esp, 4
test eax, eax
je 0x4208f1
xor ecx, ecx
mov eax, dword [ebx + 0xadc]
cmp eax, ecx
jle 0x4208ce
xor edx, edx
mov eax, dword [esp + 0x14]
cmp edx, 4
jge 0x4208ce
mov esi, dword [ebx + 0xad0]
add edx, 4
add eax, 4
inc ecx
mov esi, dword [esi + edx - 4]
mov dword [eax - 4], esi
mov esi, dword [ebx + 0xadc]
cmp esi, ecx
jg 0x4208ab
mov eax, dword [ebx + 0xad0]
push eax
call fcn.00513ed0
mov eax, dword [esp + 0x18]
add esp, 4
mov dword [ebx + 0xadc], 1
mov dword [ebx + 0xad0], eax
push ebp
mov eax, dword [ebx + 0xad0]
mov ecx, dword [eax]
push ecx
mov ecx, dword [ebx + 0xf0]
add ecx, 0xcec
call fcn.00434c10
mov esi, eax
test edi, edi
je 0x420b2a
test esi, esi
je 0x420b2a
xor eax, eax
mov al, byte [esi + 8]
mov dword [esp + 0x54], eax
xor eax, eax
mov al, byte [esi + 9]
mov dword [esp + 0x58], eax
xor eax, eax
mov al, byte [esi + 0xa]
push 1
mov dword [esp + 0x60], eax
lea eax, [esp + 0x94]
mov ecx, dword [edi]
push eax
mov edx, dword [ecx + 0xf4]
mov ecx, dword [esi]
mov dword [esp + 0x1c], edx
push ecx
mov ecx, edi
call dword [esp + 0x20]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
sub esp, 4
fstp dword [esp]
push ecx
push edx
push eax
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x180]
cmp eax, 1
jne 0x420a14
push 2
mov ecx, ebp
call fcn.004188b0
mov eax, dword [esi]
mov ecx, ebp
push eax
call fcn.004188d0
movsx eax, word [esi + 4]
push eax
mov ecx, ebp
call fcn.004188f0
xor eax, eax
sub esp, 4
mov al, byte [esi + 0xa]
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x1c], 0
fild qword [esp + 0x18]
mov al, byte [esi + 9]
mov dword [esp + 0x18], eax
sub esp, 4
xor eax, eax
fstp dword [esp + 4]
mov dword [esp + 0x20], 0
fild qword [esp + 0x1c]
mov al, byte [esi + 8]
sub esp, 4
mov ecx, ebp
mov dword [esp + 0x20], eax
fstp dword [esp + 4]
mov dword [esp + 0x24], 0
fild qword [esp + 0x20]
fstp dword [esp]
call fcn.00418960
push 1
mov ecx, ebp
call fcn.004183d0
push 1
mov ecx, dword [ebx + 0xf0]
push 0
push 2
push ecx
jmp 0x42139d
lea eax, [esp + 0x90]
push 1
push 0x16
mov ecx, dword [esi]
push 1
push eax
push ecx
mov ecx, edi
call dword [esp + 0x28]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x68]
sub esp, 4
fstp dword [esp]
push ecx
push edx
push eax
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x184]
cmp eax, 1
jne 0x420b2a
lea eax, [esp + 0xc8]
lea ecx, [esp + 0xc4]
push eax
push ecx
push 2
mov ecx, edi
mov edi, dword [edi]
call dword [edi + 0x188]
cmp eax, 1
jne 0x420b2a
push 0
mov eax, dword [ebx + 0xf0]
push 1
mov ecx, ebp
push 0xe
push eax
push ebx
call fcn.00418a60
push 0xd
mov ecx, ebp
call fcn.004188b0
mov eax, dword [esi]
mov ecx, ebp
push eax
call fcn.004188d0
movsx eax, word [esi + 4]
push eax
mov ecx, ebp
call fcn.004188f0
xor eax, eax
sub esp, 4
mov al, byte [esi + 0xa]
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x1c], 0
fild qword [esp + 0x18]
mov al, byte [esi + 9]
mov dword [esp + 0x18], eax
sub esp, 4
xor eax, eax
fstp dword [esp + 4]
mov dword [esp + 0x20], 0
fild qword [esp + 0x1c]
mov al, byte [esi + 8]
sub esp, 4
mov ecx, ebp
mov dword [esp + 0x20], eax
fstp dword [esp + 4]
mov dword [esp + 0x24], 0
fild qword [esp + 0x20]
fstp dword [esp]
call fcn.00418960
push 1
mov ecx, ebp
call fcn.004183d0
push 0xc8
mov ecx, ebp
call fcn.00418a20
mov dword [ebp + 0x1d0], 0xffffffff
jmp 0x4213a5
mov eax, dword [ebx + 0xf0]
mov ecx, dword [eax + 0xf0]
mov edx, dword [ecx + 0x38]
mov ecx, ebp
mov esi, dword [edx + 4]
call fcn.0041a050
sub esi, eax
mov ecx, 0x3e8
mov eax, esi
sub edx, edx
div ecx
mov ecx, dword [ebx + 0x2f4]
shl ecx, 2
cmp ecx, eax
jae 0x420b71
push 7
mov ecx, ebp
call fcn.004188b0
push 1
push 0
push 7
jmp 0x421396
mov ecx, ebp
call fcn.004188a0
cmp eax, 2
jne 0x4211b6
mov eax, dword [ebp + 0x1d0]
cmp eax, 0xffffffff
jne 0x4211b6
mov eax, dword [ebx + 0x300]
cmp eax, 0x64
jge 0x420c63
xor esi, esi
mov ecx, ebp
call fcn.004186a0
test eax, eax
jle 0x420c63
push esi
mov ecx, ebp
call fcn.004186b0
push eax
mov ecx, dword [ebx + 0xf0]
call fcn.004d0ff0
mov dword [esp + 0x14], eax
test eax, eax
je 0x420c53
push esi
mov ecx, ebp
call fcn.00418700
mov edi, eax
mov eax, dword [esp + 0x14]
fld dword [eax + 0x1c]
call fcn.005194c4
sub edi, eax
push esi
shl edi, 2
mov ecx, ebp
lea eax, [edi + edi*4]
lea edi, [eax + eax*4]
call fcn.00418700
mov ecx, eax
mov eax, edi
cdq
idiv ecx
cmp dword [ebx + 0x300], eax
jge 0x420c53
push 0x64
mov ecx, ebp
call fcn.004189d0
mov eax, dword [eax + 4]
mov ecx, ebp
push eax
call fcn.004189d0
mov eax, dword [eax]
mov ecx, ebp
push eax
push esi
call fcn.004186b0
push eax
mov ecx, ebx
call fcn.00425180
mov eax, dword [ebx + 0xf0]
mov ecx, ebp
push eax
push esi
call fcn.004186b0
push eax
mov ecx, ebp
call fcn.00418490
mov ecx, ebp
call fcn.004186a0
test eax, eax
jne 0x420c54
jmp 0x420c63
inc esi
mov ecx, ebp
call fcn.004186a0
cmp eax, esi
jg 0x420bb0
mov ecx, ebp
call fcn.004188c0
push eax
mov ecx, dword [ebx + 0xf0]
call fcn.004d0ff0
mov esi, eax
test esi, esi
je 0x420efb
mov al, byte [esi + 0x44]
cmp al, 2
ja 0x420efb
test esi, esi
je 0x420df7
mov ecx, ebp
call fcn.00418400
cmp eax, 0xffffffff
je 0x420e68
mov ecx, ebp
call fcn.00418400
test eax, eax
je 0x420df7
mov ecx, ebp
call fcn.00418400
cmp eax, 4
jne 0x420df7
mov ecx, dword [ebx + 0xf0]
mov eax, dword [esi + 0x34]
mov ax, word [eax + 0x42]
mov edx, dword [ecx + 0xf0]
cmp word [edx + 0x42], ax
jne 0x420df7
mov eax, dword [esi + 0x2c]
push eax
call fcn.00510ce0
test eax, eax
je 0x420df7
mov eax, dword [ebx + 0xf0]
mov ecx, dword [esi + 0x2c]
push eax
push ecx
mov ecx, ebp
call fcn.00418420
mov ecx, dword [ebx + 0xf0]
add ecx, 0x11668
call fcn.004a9a00
lea edx, [esp + 0xb0]
mov ecx, dword [eax]
mov esi, dword [eax + 4]
mov edi, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [edx], ecx
mov ecx, dword [ebx + 0xf0]
mov dword [edx + 4], esi
add ecx, 0x11668
mov dword [edx + 8], edi
mov dword [edx + 0xc], eax
call fcn.004a9a10
lea edx, [esp + 0xa0]
mov ecx, dword [eax]
mov esi, dword [eax + 4]
mov edi, dword [eax + 8]
mov eax, dword [eax + 0xc]
push 0
mov dword [edx], ecx
mov ecx, ebp
mov dword [edx + 4], esi
mov dword [edx + 8], edi
mov dword [edx + 0xc], eax
call fcn.004183d0
push 1
mov ecx, ebp
call fcn.004188b0
push 0xffffffffffffffff
mov ecx, ebp
call fcn.004188d0
push 0xffffffffffffffff
mov ecx, ebp
call fcn.004188f0
push 0xbf800000
mov ecx, ebp
push 0xbf800000
push 0xbf800000
call fcn.00418960
fld dword [esp + 0xa8]
fadd dword [esp + 0xb8]
fld dword [esp + 0xa4]
fadd dword [esp + 0xb4]
fxch st(1)
fmul dword [0x532d54]
fld dword [esp + 0xa0]
fadd dword [esp + 0xb0]
fxch st(2)
fmul dword [0x532d54]
fxch st(2)
fmul dword [0x532d54]
sub esp, 4
fxch st(1)
fstp dword [esp]
sub esp, 4
fxch st(1)
fstp dword [esp]
sub esp, 4
fstp dword [esp]
mov ecx, ebp
call fcn.004189a0
mov eax, dword [ebx + 0xf0]
mov ecx, dword [eax + 0xf0]
mov edx, dword [ecx + 0x38]
mov ecx, ebp
mov esi, dword [edx + 4]
call fcn.0041a050
sub esi, eax
mov ecx, 0x3e8
mov eax, esi
sub edx, edx
div ecx
cmp dword [ebx + 0x2c4], eax
jae 0x4211b6
push 0
mov ecx, ebp
call fcn.004183d0
push 1
mov ecx, ebp
call fcn.004188b0
push 0xffffffffffffffff
mov ecx, ebp
call fcn.004188d0
push 0xffffffffffffffff
mov ecx, ebp
call fcn.004188f0
push 0xbf800000
mov ecx, ebp
push 0xbf800000
push 0xbf800000
call fcn.00418960
jmp 0x4213a5
mov eax, dword [ebx + 0xf0]
mov edx, dword [esi + 0x34]
mov ecx, dword [eax + 0xf0]
movsx eax, word [edx + 0x42]
push eax
mov esi, dword [ecx]
call dword [esi + 0x1c]
push 0
test eax, eax
je 0x420ef2
mov ecx, ebp
call fcn.004183d0
push 1
mov ecx, ebp
call fcn.004188b0
push 0xffffffffffffffff
mov ecx, ebp
call fcn.004188d0
push 0xffffffffffffffff
mov ecx, ebp
call fcn.004188f0
push 0xbf800000
mov ecx, ebp
push 0xbf800000
push 0xbf800000
call fcn.00418960
mov ecx, ebp
call fcn.00418770
push eax
mov ecx, dword [ebx + 0xf0]
call fcn.004d0ff0
test eax, eax
je 0x4213a5
mov ecx, dword [eax + 0x40]
mov edx, dword [eax + 0x3c]
push ecx
mov eax, dword [eax + 0x38]
push edx
mov ecx, ebp
push eax
call fcn.004189a0
jmp 0x4213a5
push 0
push 0x14
jmp 0x421396
mov eax, dword [ebx + 0x258]
cmp eax, 2
jne 0x420f3c
push 1
mov ecx, ebp
call fcn.004188b0
push 0xffffffffffffffff
mov ecx, ebp
call fcn.004188d0
push 0xffffffffffffffff
mov ecx, ebp
call fcn.004188f0
push 0xbf800000
mov ecx, ebp
push 0xbf800000
push 0xbf800000
call fcn.00418960
jmp 0x42138a
mov ecx, ebp
call fcn.00418770
push eax
mov ecx, dword [ebx + 0xf0]
call fcn.004d0ff0
mov edi, eax
test edi, edi
je 0x4213a5
mov eax, dword [ebx + 0xadc]
dec eax
jns 0x420fcc
push 4
call fcn.00513eb0
mov dword [esp + 0x18], eax
add esp, 4
test eax, eax
je 0x420fcc
xor edx, edx
mov eax, dword [ebx + 0xadc]
cmp eax, edx
jle 0x420fa9
xor eax, eax
mov ecx, dword [esp + 0x14]
cmp eax, 4
jge 0x420fa9
mov esi, dword [ebx + 0xad0]
add eax, 4
add ecx, 4
inc edx
mov esi, dword [esi + eax - 4]
mov dword [ecx - 4], esi
mov esi, dword [ebx + 0xadc]
cmp esi, edx
jg 0x420f86
mov eax, dword [ebx + 0xad0]
push eax
call fcn.00513ed0
mov eax, dword [esp + 0x18]
add esp, 4
mov dword [ebx + 0xadc], 1
mov dword [ebx + 0xad0], eax
push ebp
mov eax, dword [ebx + 0xad0]
mov ecx, dword [eax]
push ecx
mov ecx, dword [ebx + 0xf0]
add ecx, 0xcec
call fcn.00434c10
mov esi, eax
test esi, esi
je 0x4210d6
xor eax, eax
mov al, byte [esi + 8]
mov dword [esp + 0x60], eax
xor eax, eax
mov al, byte [esi + 9]
push 1
lea ecx, [esp + 0xc4]
mov edx, dword [esi]
mov dword [esp + 0x68], eax
push ecx
xor eax, eax
push edx
mov al, byte [esi + 0xa]
mov ecx, edi
mov dword [esp + 0x74], eax
mov eax, dword [edi]
call dword [eax + 0xf4]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
sub esp, 4
fstp dword [esp]
push ecx
push edx
push eax
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x180]
cmp eax, 1
jne 0x4210d6
mov eax, dword [esi]
mov ecx, ebp
push eax
call fcn.004188d0
movsx eax, word [esi + 4]
push eax
mov ecx, ebp
call fcn.004188f0
xor eax, eax
sub esp, 4
mov al, byte [esi + 0xa]
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x1c], 0
fild qword [esp + 0x18]
mov al, byte [esi + 9]
mov dword [esp + 0x18], eax
sub esp, 4
xor eax, eax
fstp dword [esp + 4]
mov dword [esp + 0x20], 0
fild qword [esp + 0x1c]
mov al, byte [esi + 8]
sub esp, 4
mov ecx, ebp
mov dword [esp + 0x20], eax
fstp dword [esp + 4]
mov dword [esp + 0x24], 0
fild qword [esp + 0x20]
fstp dword [esp]
call fcn.00418960
push 1
mov ecx, ebp
call fcn.004183d0
push 0
mov ecx, dword [ebx + 0xf0]
push 0
push 2
push ecx
jmp 0x42139d
mov ecx, ebp
call fcn.004188e0
mov esi, eax
push 0
mov ecx, ebp
call fcn.004183d0
push 1
mov ecx, ebp
call fcn.004188b0
push 0xffffffffffffffff
mov ecx, ebp
call fcn.004188d0
push 0xffffffffffffffff
mov ecx, ebp
call fcn.004188f0
push 0xbf800000
mov ecx, ebp
push 0xbf800000
push 0xbf800000
call fcn.00418960
mov eax, dword [ebx + 0x258]
test eax, eax
jne 0x42113b
mov eax, dword [edi + 0x40]
mov ecx, dword [edi + 0x3c]
push eax
mov edx, dword [edi + 0x38]
push ecx
push edx
mov ecx, ebp
call fcn.004189a0
jmp 0x4213a5
cmp eax, 3
jne 0x4213a5
cmp esi, 0x7e
je 0x4213a5
cmp esi, 0x59
je 0x4213a5
mov eax, dword [ebx + 0x3b0]
cmp eax, 1
jne 0x4211a2
fld dword [edi + 0x3c]
call fcn.005194c4
fld dword [edi + 0x38]
mov esi, eax
call fcn.005194c4
mov ecx, dword [ebx + 0x3b4]
mov edx, dword [ebx + 0x3b4]
add ecx, esi
sub esi, edx
push ecx
mov ecx, dword [ebx + 0x3b4]
add ecx, eax
sub eax, edx
push ecx
push esi
push eax
mov ecx, dword [ebx + 0xf0]
add ecx, 0xcec
call fcn.00431290
push 7
mov ecx, ebp
call fcn.004188b0
push 1
push 0
push 7
jmp 0x421396
mov ecx, ebp
call fcn.004188a0
cmp eax, 2
jne 0x42121d
mov eax, dword [ebp + 0x1d0]
cmp eax, 0xffffffff
je 0x42121d
mov ecx, ebp
call fcn.00418770
push eax
mov ecx, dword [ebx + 0xf0]
call fcn.004d0ff0
mov esi, eax
test esi, esi
je 0x4213a5
mov ecx, esi
call fcn.004dc0c0
test eax, eax
je 0x4213a5
mov ecx, esi
call fcn.004dc0c0
mov ecx, dword [eax + 0x12c]
test ecx, ecx
jne 0x4213a5
mov dword [ebp + 0x1d0], 0xffffffff
jmp 0x4213a5
mov ecx, ebp
call fcn.004188a0
cmp eax, 4
jne 0x4212f4
mov eax, dword [ebx + 0xf0]
mov ecx, ebp
push eax
call fcn.00419fd0
cmp eax, 1
jne 0x42125e
mov eax, dword [ebx + 0xf0]
mov ecx, ebp
push eax
push ebx
call fcn.00419ee0
test eax, eax
jne 0x42125e
push 0
push 1
push 9
jmp 0x421396
mov ecx, ebp
call fcn.004188c0
push eax
mov ecx, dword [ebx + 0xf0]
call fcn.004d0ff0
test eax, eax
jne 0x42128c
push 1
mov ecx, ebp
call fcn.004188b0
push 0
mov ecx, ebp
call fcn.004183d0
jmp 0x4213a5
mov eax, dword [eax + 0x30]
movsx ecx, word [eax + 0x12]
push ecx
mov ecx, ebp
call fcn.004188e0
push eax
mov ecx, ebp
call fcn.00418770
push eax
mov ecx, dword [ebx + 0xf0]
add ecx, 0xcec
call fcn.004356d0
test eax, eax
je 0x4212f4
mov ecx, ebp
call fcn.004188c0
push eax
mov ecx, dword [ebx + 0xf0]
add ecx, 0xcec
call fcn.00432670
test eax, eax
je 0x4212dd
mov dword [eax + 0x10], 0
push 1
mov ecx, ebp
call fcn.004188b0
push 0
mov ecx, ebp
call fcn.004183d0
jmp 0x4213a5
mov ecx, ebp
call fcn.004188a0
cmp eax, 3
je 0x4213a5
mov ecx, ebp
call fcn.004188a0
cmp eax, 0xd
je 0x4213a5
mov ecx, ebp
call fcn.00418850
mov esi, eax
mov ecx, ebp
mov eax, dword [ebx + 0xf0]
push eax
call fcn.00418810
sub esi, eax
mov ecx, ebp
shl esi, 2
lea eax, [esi + esi*4]
lea edi, [eax + eax*4]
call fcn.00418850
mov ecx, eax
mov eax, edi
cdq
idiv ecx
mov esi, eax
mov ecx, ebp
call fcn.00418860
mov edi, eax
mov ecx, ebp
call fcn.004186a0
sub edi, eax
mov ecx, ebp
shl edi, 2
lea eax, [edi + edi*4]
lea edi, [eax + eax*4]
call fcn.00418860
mov ecx, eax
mov eax, edi
cdq
idiv ecx
cmp dword [ebx + 0x20c], esi
jl 0x421381
mov ecx, dword [ebx + 0x210]
cmp ecx, eax
jge 0x4213a5
push 3
mov ecx, ebp
call fcn.004188b0
push 0
mov ecx, ebp
push 1
call fcn.004188a0
push eax
mov eax, dword [ebx + 0xf0]
push eax
push ebx
mov ecx, ebp
call fcn.00418a60
mov ebp, dword [ebp + 4]
mov ecx, ebp
call fcn.004183a0
mov dword [ebx + 0xd2c], eax
call dword [sym.imp.WINMM.dll_timeGetTime]
mov ecx, dword [esp + 0xe8]
mov edx, dword [esp + 0xec]
sub eax, ecx
cmp eax, edx
jb 0x4213d4
jmp 0x4213ed
mov ebp, dword [ebp + 4]
mov eax, ebx
sub eax, ebp
cmp eax, 0xfffff820
jne 0x41f2ae
mov dword [ebx + 0xd2c], 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
add esp, 0xd4
ret 8