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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5899fc
push eax
mov dword fs:[0], esp
sub esp, 0x7c
cmp dword [ebp + 0x10], 0
push esi
push edi
je 0x40ede9
mov esi, dword [ebp + 0x10]
call fcn.0041e110
lea ecx, [esp + 0x44]
push ecx
mov ecx, eax
call fcn.0040ee00
mov dword [esp + 0x8c], 0
fld dword [esp + 0x54]
fld dword [esp + 0x4c]
mov edi, dword [ebx]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
call fcn.00575ab0
fld dword [esp + 0x50]
fld dword [esp + 0x48]
push eax
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
call fcn.00575ab0
fxch st(1)
push eax
call fcn.00575ab0
push eax
call fcn.00575ab0
mov edx, dword [edi + 0x8c]
push eax
mov ecx, ebx
call edx
fld dword [esp + 0x4c]
mov eax, dword [ebx]
mov edx, dword [eax + 0x90]
push ecx
mov ecx, ebx
fstp dword [esp]
call edx
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
sub esp, 0xc
lea eax, [esp + 0x7c]
xor cl, cl
fstp dword [esp + 8]
fldz
fst dword [esp + 4]
fstp dword [esp]
push eax
call fcn.004c3ae0
mov byte [esp + 0x8c], 1
fld dword [esp + 0x4c]
mov edx, dword [ebx]
fst dword [esp + 0x18]
fld dword [esp + 0x54]
mov eax, dword [edx + 0x94]
fsub st(1)
mov ecx, ebx
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fst dword [esp + 0x1c]
fstp dword [esp + 0x14]
fstp dword [esp + 0x10]
call eax
mov edx, dword [ebx]
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
mov eax, dword [edx + 0x90]
fld dword [esp + 0x1c]
push ecx
fadd dword [esp + 0x1c]
mov ecx, ebx
fsubp st(1)
fadd qword [0x5dffe8]
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fstp dword [esp]
call eax
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
sub esp, 0xc
lea ecx, [esp + 0x68]
fstp dword [esp + 8]
fld dword [esp + 0x24]
fadd dword [esp + 0x20]
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
fstp dword [esp + 4]
fldz
fstp dword [esp]
push ecx
xor cl, cl
call fcn.004c3ae0
mov byte [esp + 0x8c], 2
mov edx, dword [ebx]
mov eax, dword [edx + 0x54]
push 1
mov ecx, ebx
call eax
mov edx, dword [ebx]
mov eax, dword [edx + 0x5c]
push 1
mov ecx, ebx
call eax
mov edx, dword [ebx]
mov eax, dword [edx + 0x64]
push 6
mov ecx, ebx
call eax
fld dword [0x5ec7a4]
mov edx, dword [ebx]
mov eax, dword [edx + 0x68]
push ecx
mov ecx, ebx
fstp dword [esp]
call eax
fldz
mov esi, dword [esi + 0xf0]
push 0
sub esp, 8
fstp dword [esp + 4]
mov edi, esi
fld dword [0x5ecd18]
fstp dword [esp]
push ebx
call fcn.004810e0
mov edx, dword [ebx]
mov eax, dword [edx + 0x54]
push 1
mov ecx, ebx
call eax
mov edx, dword [ebx]
mov eax, dword [edx + 0x5c]
push 1
mov ecx, ebx
call eax
mov edx, dword [ebx]
mov eax, dword [edx + 0x64]
push 6
mov ecx, ebx
call eax
fld dword [0x5ec7ac]
mov edx, dword [ebx]
mov eax, dword [edx + 0x68]
push ecx
mov ecx, ebx
fstp dword [esp]
call eax
mov edx, dword [ebx]
mov eax, dword [edx + 0x78]
push 1
mov ecx, ebx
call eax
mov edx, dword [ebx]
mov eax, dword [edx + 0x80]
push 1
mov ecx, ebx
call eax
mov edx, dword [ebx]
mov eax, dword [edx + 0x84]
push 6
mov ecx, ebx
call eax
fldz
mov esi, dword [ebp + 0x10]
mov edi, dword [esi + 0xf0]
push 1
sub esp, 8
fst dword [esp + 4]
fstp dword [esp]
push ebx
call fcn.004810e0
mov edx, dword [ebx]
mov eax, dword [edx + 0x64]
push 3
mov ecx, ebx
call eax
mov edx, dword [ebx]
mov eax, dword [edx + 0x54]
push 1
mov ecx, ebx
call eax
mov edx, dword [ebx]
mov eax, dword [edx + 0x5c]
push 0
mov ecx, ebx
call eax
fld dword [0x5ec870]
mov edx, dword [ebx]
mov eax, dword [edx + 0x68]
push ecx
mov ecx, ebx
fstp dword [esp]
call eax
mov esi, dword [esi + 0x34]
test esi, esi
jne 0x40e494
mov dword [esp + 0x10], esi
jmp 0x40e4a3
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 0x38]
sub eax, esi
sar eax, 2
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], 0
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x14], 0
jle 0x40e4f6
mov ecx, dword [esi + 0x34]
test ecx, ecx
je 0x40e4ca
mov eax, dword [esi + 0x38]
sub eax, ecx
sar eax, 2
cmp dword [esp + 0x14], eax
jb 0x40e4d0
call dword [0x58e3e0]
mov edx, dword [esi + 0x34]
mov eax, dword [esp + 0x14]
mov eax, dword [edx + eax*4]
mov ecx, dword [ebp + 0xc]
push eax
mov edi, ebx
call fcn.00410090
mov eax, dword [esp + 0x14]
add eax, 1
cmp eax, dword [esp + 0x10]
mov dword [esp + 0x14], eax
jl 0x40e4b5
mov edx, dword [ebx]
mov eax, dword [edx + 0x54]
push 0
mov ecx, ebx
call eax
mov edx, dword [ebx]
mov eax, dword [edx + 0x5c]
push 0
mov ecx, ebx
call eax
xor edi, edi
cmp dword [esp + 0x10], edi
jle 0x40e561
mov ecx, dword [esi + 0x34]
test ecx, ecx
je 0x40e527
mov eax, dword [esi + 0x38]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x40e52d
call dword [0x58e3e0]
mov ecx, dword [esi + 0x34]
mov ecx, dword [ecx + edi*4]
mov eax, dword [ecx + 0x174]
cmp byte [eax + 0x125], 0
je 0x40e558
fldz
mov edx, dword [ebp + 0xc]
sub esp, 8
fst dword [esp + 4]
fstp dword [esp]
push edx
push ebx
call fcn.0043aac0
add edi, 1
cmp edi, dword [esp + 0x10]
jl 0x40e514
mov ecx, dword [esi + 0x64]
test ecx, ecx
jne 0x40e56c
xor eax, eax
jmp 0x40e574
mov eax, dword [esi + 0x68]
sub eax, ecx
sar eax, 2
test eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], 0
jle 0x40e5d2
mov ecx, dword [esi + 0x64]
test ecx, ecx
je 0x40e599
mov eax, dword [esi + 0x68]
sub eax, ecx
sar eax, 2
cmp dword [esp + 0x14], eax
jb 0x40e59f
call dword [0x58e3e0]
mov eax, dword [esi + 0x64]
mov ecx, dword [esp + 0x14]
mov edi, dword [eax + ecx*4]
mov edx, dword [edi]
mov eax, dword [edx + 0x50]
mov ecx, edi
call eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [eax]
mov edx, dword [edx + 4]
push edi
push ecx
push ebx
mov ecx, eax
call edx
mov eax, dword [esp + 0x14]
add eax, 1
cmp eax, dword [esp + 0x18]
mov dword [esp + 0x14], eax
jl 0x40e584
lea eax, [esi + 0x194]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 4
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx]
test ecx, ecx
je 0x40e601
cmp dword [ecx + 0x15c], 0
je 0x40e601
mov edx, dword [ebp + 0xc]
mov edi, ebx
call fcn.0040fd50
add dword [esp + 0x14], 4
sub dword [esp + 0x18], 1
jne 0x40e5e4
cmp dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
jle 0x40e68d
lea esp, [esp]
mov ecx, dword [esi + 0x34]
test ecx, ecx
je 0x40e635
mov eax, dword [esi + 0x38]
sub eax, ecx
sar eax, 2
cmp dword [esp + 0x14], eax
jb 0x40e63b
call dword [0x58e3e0]
mov edx, dword [esi + 0x34]
mov eax, dword [esp + 0x14]
mov edi, dword [edx + eax*4]
mov edx, dword [edi]
mov eax, dword [edx + 0x88]
mov ecx, edi
call eax
test al, al
je 0x40e67c
mov eax, dword [edi + 0x174]
cmp byte [eax + 0x125], 0
jne 0x40e67c
fldz
mov ecx, dword [ebp + 0xc]
sub esp, 8
fst dword [esp + 4]
fstp dword [esp]
push ecx
push ebx
mov ecx, edi
call fcn.0043aac0
mov eax, dword [esp + 0x14]
add eax, 1
cmp eax, dword [esp + 0x10]
mov dword [esp + 0x14], eax
jl 0x40e620
cmp dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
jle 0x40e70d
lea esp, [esp]
mov ecx, dword [esi + 0x34]
test ecx, ecx
je 0x40e6b5
mov eax, dword [esi + 0x38]
sub eax, ecx
sar eax, 2
cmp dword [esp + 0x14], eax
jb 0x40e6bb
call dword [0x58e3e0]
mov edx, dword [esi + 0x34]
mov eax, dword [esp + 0x14]
mov edi, dword [edx + eax*4]
mov edx, dword [edi]
mov eax, dword [edx + 0x88]
mov ecx, edi
call eax
test al, al
jne 0x40e6fc
mov eax, dword [edi + 0x174]
cmp byte [eax + 0x125], 0
jne 0x40e6fc
fldz
mov ecx, dword [ebp + 0xc]
sub esp, 8
fst dword [esp + 4]
fstp dword [esp]
push ecx
push ebx
mov ecx, edi
call fcn.0043aac0
mov eax, dword [esp + 0x14]
add eax, 1
cmp eax, dword [esp + 0x10]
mov dword [esp + 0x14], eax
jl 0x40e6a0
add esi, 0x1a4
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], esi
nop
mov edx, dword [esp + 0x10]
mov esi, dword [edx - 0x80]
test esi, esi
je 0x40eb58
fldz
mov ecx, dword [esi + 0x174]
fcom dword [ecx + 0x14c]
fnstsw ax
test ah, 5
jp 0x40e7b6
fcomp dword [ecx + 0x14c]
fnstsw ax
test ah, 5
jp 0x40eba0
mov eax, dword [esi + 0x13c]
cmp eax, 0xb
je 0x40eba0
cmp eax, 0xc
je 0x40eba0
test eax, eax
je 0x40e7b8
cmp eax, 1
je 0x40e7b8
mov eax, dword [esi + 0x34]
push eax
call fcn.005604d2
add esp, 4
xor edi, edi
test eax, eax
mov dword [esp + 0x20], eax
jle 0x40eba0
mov ecx, dword [esi + 0x34]
push edi
push ecx
call fcn.005604d8
push eax
call fcn.005604c0
add esp, 0xc
cmp eax, 4
je 0x40e7b8
add edi, 1
cmp edi, dword [esp + 0x20]
jl 0x40e790
jmp 0x40eba0
fstp st(0)
fldz
mov edx, dword [ebp + 0xc]
sub esp, 8
fst dword [esp + 4]
fstp dword [esp]
mov ecx, esi
push edx
push ebx
call fcn.0043aac0
mov eax, dword [esi]
mov edx, dword [eax + 0x90]
mov ecx, esi
call edx
test al, al
je 0x40e7e8
mov eax, dword [esi + 0x1b4]
jmp 0x40e7ee
mov eax, dword [esi + 0x1b0]
test eax, eax
mov dword [esp + 0x18], eax
je 0x40eb58
mov eax, dword [0x619860]
test eax, eax
jne 0x40e837
push 0xac
call fcn.00574f62
add esp, 4
mov dword [esp + 0x28], eax
mov byte [esp + 0x8c], 3
test eax, eax
je 0x40e828
push eax
call fcn.00401f80
jmp 0x40e82a
xor eax, eax
mov byte [esp + 0x8c], 2
mov dword [0x619860], eax
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
test al, al
jne 0x40eb58
mov edx, dword [ebx]
mov eax, dword [edx + 0x50]
push 1
mov ecx, ebx
call eax
mov eax, dword [0x619860]
test eax, eax
jne 0x40e893
push 0xac
call fcn.00574f62
add esp, 4
mov dword [esp + 0x28], eax
mov byte [esp + 0x8c], 4
test eax, eax
je 0x40e884
push eax
call fcn.00401f80
jmp 0x40e886
xor eax, eax
mov byte [esp + 0x8c], 2
mov dword [0x619860], eax
mov edi, dword [esp + 0x14]
call fcn.004089f0
mov edx, dword [ebx]
push eax
mov eax, dword [edx + 0x48]
mov ecx, ebx
call eax
push esi
lea ecx, [esp + 0x3c]
push ecx
mov ecx, edi
call fcn.0040eec0
mov byte [esp + 0x8c], 5
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
fld dword [eax*4 + 0x611e74]
mov ecx, dword [ebp + 0xc]
fstp dword [esp + 0x24]
push ecx
fld dword [ecx + 0x78]
fmul qword [0x5ec650]
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fstp dword [esp]
call int.0047f820
mov edx, dword [ebp + 0xc]
fstp dword [esp + 0x24]
fld dword [edx + 0x50]
mov eax, dword [0x619c48]
mov edx, dword [eax + 0x34]
fadd st(0), st(0)
add esp, 4
mov ecx, 0x619c48
fmul dword [esp + 0x20]
fstp dword [esp + 0x1c]
call edx
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x90]
call eax
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
mov edx, dword [0x619c48]
mov eax, dword [edx + 0x1c]
mov ecx, 0x619c48
fdiv dword [esp + 0x1c]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fmul dword [esp + 0x24]
fstp dword [esp + 0x20]
fld dword [esi + 0x1b8]
fstp dword [esp + 0x24]
call eax
fmul dword [esp + 0x24]
mov edx, dword [ebx]
mov eax, dword [edx + 0x3c]
mov ecx, ebx
fmul qword [0x5ec5f8]
fstp dword [esp + 0x1c]
call eax
mov edx, dword [ebx]
fld dword [esp + 0x1c]
mov eax, dword [edx + 0x20]
push ecx
mov ecx, ebx
fstp dword [esp]
call eax
fld dword [esp + 0x20]
mov edx, dword [ebx]
mov eax, dword [edx + 0x1c]
sub esp, 8
fst dword [esp + 4]
mov ecx, ebx
fstp dword [esp]
call eax
fld dword [esp + 0x40]
mov edx, dword [ebx]
sub esp, 8
fstp dword [esp + 4]
fld dword [esp + 0x44]
mov eax, dword [edx + 0x28]
fstp dword [esp]
mov ecx, ebx
call eax
mov edx, dword [ebx]
mov eax, dword [esp + 0x18]
mov edx, dword [edx + 0xc]
push eax
mov ecx, ebx
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x40]
mov ecx, ebx
call edx
mov eax, dword [0x619c48]
mov edx, dword [eax + 0x40]
push edi
mov ecx, 0x619c48
call edx
fld dword [eax + 0x2c]
fstp dword [esp + 0x30]
mov dword [esp + 0x2c], 0x5cf904
fld dword [eax + 0x30]
fstp dword [esp + 0x34]
mov byte [esp + 0x8c], 6
fld dword [esp + 0x30]
fsub dword [esp + 0x3c]
mov eax, dword [esi + 0x174]
mov al, byte [eax + 0x161]
cmp dword [esi + 0x13c], 3
fstp dword [esp + 0x28]
push ecx
fld dword [esp + 0x38]
mov byte [esp + 0x13], al
fsub dword [esp + 0x44]
sete byte [esp + 0x12]
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fld dword [esp + 0x2c]
fmul st(0), st(0)
fld st(1)
fmulp st(2)
faddp st(1)
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fstp dword [esp]
call fcn.00401df0
add esp, 4
fstp dword [esp + 0x24]
cmp dword [esi + 0x54], 0
je 0x40ea8d
mov ecx, dword [esi + 0x34]
push ecx
call fcn.005604d2
add esp, 4
xor edi, edi
test eax, eax
mov dword [esp + 0x28], eax
jle 0x40ea8d
mov edx, dword [esi + 0x34]
push edi
push edx
call fcn.005604d8
push eax
call fcn.005604c0
add esp, 0xc
cmp eax, 4
je 0x40eb74
add edi, 1
cmp edi, dword [esp + 0x28]
jl 0x40ea68
xor cl, cl
cmp byte [esp + 0xe], 0
je 0x40eb30
cmp byte [esp + 0xf], 0
jne 0x40eb30
fld dword [0x5ec6f8]
fcomp dword [esp + 0x24]
fnstsw ax
test ah, 5
jp 0x40eb30
test cl, cl
je 0x40eb30
mov eax, dword [ebx]
fld dword [0x5ec870]
mov edx, dword [eax + 0x4c]
push ecx
mov ecx, ebx
fstp dword [esp]
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x3c]
mov ecx, ebx
call edx
fld dword [esp + 0x1c]
mov eax, dword [ebx]
mov edx, dword [eax + 0x20]
push ecx
mov ecx, ebx
fstp dword [esp]
call edx
fld dword [esp + 0x20]
mov eax, dword [ebx]
mov edx, dword [eax + 0x1c]
sub esp, 8
fst dword [esp + 4]
mov ecx, ebx
fstp dword [esp]
call edx
fld dword [esp + 0x34]
mov eax, dword [ebx]
mov edx, dword [eax + 0x28]
sub esp, 8
fstp dword [esp + 4]
mov ecx, ebx
fld dword [esp + 0x38]
fstp dword [esp]
call edx
mov ecx, dword [esp + 0x18]
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
push ecx
mov ecx, ebx
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x40]
mov ecx, ebx
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x50]
push 0
mov ecx, ebx
call edx
mov byte [esp + 0x8c], 5
mov eax, 0x5cf904
mov dword [esp + 0x2c], eax
mov byte [esp + 0x8c], 2
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x10]
cmp dword [eax - 0x80], 0
mov eax, dword [eax]
je 0x40eb7b
cmp eax, 0xc
jge 0x40eba0
mov ecx, dword [esp + 0x10]
add eax, 1
mov dword [ecx], eax
jmp 0x40eba0
mov cl, 1
jmp 0x40ea8f
test eax, eax
jle 0x40eba0
add eax, 0xfffffffe
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 0
lea eax, [esp + 0x28]
js 0x40eb98
lea eax, [esp + 0x24]
mov edx, dword [eax]
mov eax, dword [esp + 0x10]
mov dword [eax], edx
mov eax, dword [esp + 0x14]
add dword [esp + 0x10], 4
add eax, 1
cmp eax, 4
mov dword [esp + 0x14], eax
jl 0x40e720
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx + 0x94]
test ecx, ecx
je 0x40ebd1
mov edx, dword [ebp + 0xc]
push edx
mov esi, ebx
call fcn.0040ffe0
cmp byte [ebp + 0x14], 0
je 0x40ebe5
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push eax
push ebx
push ecx
call fcn.004104d0
fld dword [0x5ecd14]
mov edx, dword [ebp + 0x10]
mov edi, dword [edx + 0xf0]
push 0
sub esp, 8
fstp dword [esp + 4]
fldz
fstp dword [esp]
push ebx
call fcn.004810e0
cmp byte [ebp + 0x18], 0
je 0x40ec60
mov eax, dword [0x619860]
test eax, eax
jne 0x40ec4b
push 0xac
call fcn.00574f62
add esp, 4
mov dword [esp + 0x28], eax
mov byte [esp + 0x8c], 7
test eax, eax
je 0x40ec3c
push eax
call fcn.00401f80
jmp 0x40ec3e
xor eax, eax
mov byte [esp + 0x8c], 2
mov dword [0x619860], eax
mov eax, dword [eax + 8]
mov ecx, dword [ebp + 8]
add eax, 0x2c
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
push ecx
call fcn.00410240
mov edi, dword [ebp + 0x10]
mov esi, dword [edi + 0xf0]
push ebx
call int.00481020
mov edx, dword [ebx]
mov eax, dword [edx + 0x48]
push 0xff000000
mov ecx, ebx
call eax
fld dword [esp + 0x7c]
fld dword [esp + 0x74]
mov esi, dword [ebx]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
call fcn.00575ab0
fld dword [esp + 0x78]
fld dword [esp + 0x70]
push eax
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
call fcn.00575ab0
fxch st(1)
push eax
call fcn.00575ab0
push eax
call fcn.00575ab0
mov edx, dword [esi + 0x14]
push eax
mov ecx, ebx
call edx
fld dword [esp + 0x68]
fld dword [esp + 0x60]
mov esi, dword [ebx]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
call fcn.00575ab0
fld dword [esp + 0x64]
fld dword [esp + 0x5c]
push eax
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
call fcn.00575ab0
fxch st(1)
push eax
call fcn.00575ab0
push eax
call fcn.00575ab0
push eax
mov eax, dword [esi + 0x14]
mov ecx, ebx
call eax
mov esi, dword [edi + 0xf0]
push ebx
call fcn.00481080
mov eax, dword [0x619860]
test eax, eax
jne 0x40ed64
push 0xac
call fcn.00574f62
add esp, 4
mov dword [esp + 0x28], eax
mov byte [esp + 0x8c], 8
test eax, eax
je 0x40ed55
push eax
call fcn.00401f80
jmp 0x40ed57
xor eax, eax
mov byte [esp + 0x8c], 2
mov dword [0x619860], eax
cmp dword [eax + 0x10], 0
jle 0x40ed96
mov eax, dword [edi + 0xf0]
mov ecx, dword [eax + 0x40]
mov eax, dword [eax + 0x20]
push ecx
push eax
mov esi, ebx
call fcn.0040f090
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x40ed96
mov ecx, dword [eax + 0x40]
mov eax, dword [eax + 0x20]
push ecx
push eax
call fcn.0040f090
mov byte [esp + 0x8c], 1
mov ecx, 0x5d0474
mov dword [esp + 0x58], ecx
mov byte [esp + 0x8c], 1
mov eax, 0x5d0464
mov dword [esp + 0x58], eax
mov byte [esp + 0x8c], 0
mov dword [esp + 0x6c], ecx
mov byte [esp + 0x8c], 0
or edx, 0xffffffff
mov dword [esp + 0x6c], eax
mov dword [esp + 0x8c], edx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x8c], edx
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x84]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 0x14