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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3a4
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
xor edi, edi
cmp eax, edi
jne 0x500297
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x1c], 1
cmp eax, edi
je 0x50029b
mov dword [esp + 0x1c], edi
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x24], edi
cmp eax, edi
je 0x5002a8
mov dword [eax], edi
call fcn.00448d00
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
xor eax, eax
mov dword [esp + 0x98], edi
cmp word [ecx], di
mov esi, dword [ebx]
mov dword [esp + 0x10], esi
sete al
cmp esi, edi
mov dword [esp + 0x14], eax
je 0x500f5c
mov eax, dword [esi]
mov edx, dword [esi + 0x34]
test ah, 2
mov dword [esp + 0x64], edx
je 0x500f4c
mov ecx, eax
mov eax, dword [esi + 0x3c]
and ch, 0xfd
mov dword [esp + 0x18], eax
mov dword [esi], ecx
xor ecx, ecx
mov cx, word [esi + 0x88]
push ecx
call fcn.004d1c40
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0xa4]
add esp, 4
cmp eax, edi
mov dword [esp + 0x20], edi
je 0x500346
fld qword [eax + 0x10]
fchs
fstp qword [esp + 0x7c]
fld qword [eax + 0x30]
mov ecx, dword [esp + 0x1c]
fchs
fstp qword [esp + 0x84]
fld qword [eax + 0x50]
fchs
fstp qword [esp + 0x8c]
cmp ecx, edi
je 0x5003af
mov dword [ebp + 0x14], eax
jmp 0x5003af
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x7c], 0
cmp eax, edi
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0xbff00000
je 0x5003af
cmp dword [esp + 0x24], edi
jne 0x5003a8
push edi
call fcn.00449a40
add esp, 4
cmp eax, edi
mov dword [esp + 0x24], eax
je 0x501005
mov edx, dword [esp + 0x24]
mov dword [ebp + 0x14], edx
xor eax, eax
mov ax, word [esi + 0x6c]
cmp eax, edi
mov dword [esp + 0x50], eax
jg 0x5003c6
mov eax, 1
mov dword [esp + 0x50], eax
fld dword [esi + 0x64]
fsub dword [esi + 0x68]
fidiv dword [esp + 0x50]
cmp eax, 1
mov dword [esp + 0x6c], 1
fstp qword [esp + 0x118]
jl 0x500ef6
fild dword [esp + 0x6c]
mov eax, dword [esp + 0x10]
mov ecx, 0x14
lea edi, [esp + 0x128]
fmul qword [esp + 0x118]
lea esi, [eax + 0x40]
rep movsd dword es:[edi], dword [esi]
fstp qword [esp + 0xe0]
fld dword [eax + 0x64]
fsub qword [esp + 0xe0]
fst dword [esp + 0x150]
fstp qword [esp + 0x58]
mov edi, dword [esp + 0x128]
mov word [esp + 0x154], 1
and edi, 0xffffffdf
mov dword [esp + 0x128], edi
call fcn.004ebe50
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1d0], 0
push eax
mov dword [esp + 0x1d8], 0x3fe00000
mov dword [esp + 0x1cc], 0
mov dword [esp + 0x1d0], 0x3fe00000
xor ebx, ebx
call fcn.00463830
add esp, 4
mov dword [esp + 0x44], eax
test eax, eax
je 0x500ed8
mov esi, eax
mov edi, dword [esi]
shr edi, 0x15
and edi, 1
push esi
call fcn.00481650
fst qword [esp + 0x4c]
fcomp qword [0x550f20]
add esp, 4
fnstsw ax
test ah, 0x41
je 0x5004bb
test dword [esi], 0x200000
je 0x500bf5
mov eax, dword [esi]
test ah, 0x10
jne 0x500bf5
test eax, 0x200000
je 0x5004d5
fld qword [0x550f30]
jmp 0x5004fd
and eax, 0xe00
cmp eax, 0x600
jne 0x5004f7
mov ecx, dword [esi + 0x44]
mov edx, dword [esi + 0x40]
mov eax, dword [ebp + 0xc]
push ecx
push edx
push eax
call fcn.0049c3c0
add esp, 0xc
jmp 0x5004fd
mov ecx, dword [ebp + 0xc]
fld dword [ecx + 4]
test dword [esi], 0x200000
je 0x50050f
fstp st(0)
fld qword [0x550f30]
jmp 0x500519
fdivr qword [esp + 0x48]
fadd qword [0x550f30]
call fcn.00547c92
cmp edi, eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x68], edi
jg 0x500bec
fild dword [esp + 0x48]
fstp qword [esp + 0x120]
fild dword [esp + 0x68]
mov esi, dword [esp + 0x44]
lea edx, [esp + 0x2c]
push edx
fdiv qword [esp + 0x124]
sub esp, 8
fstp qword [esp]
push esi
call fcn.0043ff80
mov eax, dword [esi]
add esp, 0x10
test ah, 0x20
je 0x500573
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
lea edx, [esp + 0x2b4]
lea eax, [esp + 0x2c]
push edx
push esi
push eax
call fcn.0043f950
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x3c]
push edi
push edx
call fcn.004465c0
mov esi, dword [ebp + 0x14]
add esp, 0x18
test esi, esi
jne 0x5006fc
mov edx, dword [ebp + 0x10]
lea eax, [esp + 0x94]
lea ecx, [esp + 0x1c8]
push eax
push ecx
push esi
lea eax, [esp + 0x88]
push edx
lea ecx, [esp + 0x3c]
push eax
push ecx
call fcn.004fe990
add esp, 0x18
cmp eax, 0xffffffff
je 0x500fe0
test eax, eax
jne 0x500bd7
mov edx, dword [esp + 0x94]
mov ecx, 0x3b
lea esi, [esp + 0x1c8]
lea edi, [esp + 0x2c4]
push 2
lea eax, [esp + 0x2c8]
push edx
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.004beb30
mov ecx, 6
lea esi, [esp + 0x2f8]
lea edi, [esp + 0x1fc]
add esp, 0xc
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0xc]
cmp word [ecx + 0x14], 0
je 0x5007c3
mov eax, dword [esp + 0x18]
mov ecx, 6
lea esi, [esp + 0x1d8]
lea edi, [esp + 0x2c]
rep movsd dword es:[edi], dword [esi]
lea edx, [esp + 0x7c]
lea ecx, [esp + 0x2c]
push edx
push eax
push ecx
call fcn.00501080
mov eax, dword [esp + 0xa0]
lea edx, [esp + 0x1d4]
push edx
push 0
push 0
lea ecx, [esp + 0x94]
push eax
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x48]
push ecx
push edx
push eax
call fcn.00504fa0
fld qword [esp + 0x218]
mov ecx, 6
lea esi, [esp + 0x54]
fstp dword [esp + 0xf4]
fld qword [esp + 0x220]
lea edi, [esp + 0x200]
add esp, 0x28
fstp dword [esp + 0xd0]
fld qword [esp + 0x200]
mov dword [esp + 0x20], 1
fstp dword [esp + 0xd4]
fld qword [esp + 0x1d8]
fstp dword [esp + 0xc0]
fld qword [esp + 0x1e0]
fstp dword [esp + 0xc4]
fld qword [esp + 0x1e8]
rep movsd dword es:[edi], dword [esi]
fstp dword [esp + 0xc8]
jmp 0x5007c3
test byte [edi], 0x40
jne 0x50072d
mov ecx, dword [ebp + 0xc]
cmp word [ecx + 0x12], 0
jne 0x50072d
lea edx, [esp + 0x2c]
lea eax, [esp + 0x7c]
push edx
push esi
lea ecx, [esp + 0x34]
push eax
push ecx
call fcn.00449dc0
add esp, 0x10
test eax, eax
jne 0x500fe0
jmp 0x50074e
fld qword [esi + 0x10]
fchs
fstp qword [esp + 0x7c]
fld qword [esi + 0x30]
fchs
fstp qword [esp + 0x84]
fld qword [esi + 0x50]
fchs
fstp qword [esp + 0x8c]
lea edx, [esp + 0x2c]
lea eax, [esi + 0x60]
push edx
lea ecx, [esp + 0x30]
push eax
push ecx
call fcn.004464c0
lea edx, [esp + 0x1e4]
lea eax, [esp + 0x38]
push edx
push esi
push eax
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
call fcn.004464c0
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mov dword [esp + 0x208], ecx
mov dword [esp + 0x20c], edx
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x34]
mov dword [esp + 0x210], eax
mov dword [esp + 0x214], ecx
mov edx, dword [esi + 0x50]
mov eax, dword [esi + 0x54]
add esp, 0x18
mov dword [esp + 0x200], edx
mov dword [esp + 0x204], eax
mov eax, dword [esp + 0x1c]
mov ecx, 6
lea esi, [esp + 0x1d8]
lea edi, [esp + 0x2c]
test eax, eax
rep movsd dword es:[edi], dword [esi]
je 0x5007fd
fld qword [esp + 0x8c]
fcomp qword [0x550fb8]
fnstsw ax
test ah, 0x41
jne 0x5007fd
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x500fb6
mov esi, dword [ebp + 0xc]
lea ecx, [esp + 0xa8]
lea edx, [esp + 0x7c]
push ecx
lea eax, [esp + 0x1cc]
push edx
push eax
push esi
call fcn.004f0900
mov eax, dword [ebp + 0x14]
add esp, 0x10
test eax, eax
jne 0x500846
cmp word [esi + 0x14], 0
je 0x500846
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0xa8]
push ecx
lea eax, [esp + 0x30]
push edx
push eax
call fcn.00501040
add esp, 0xc
fld qword [esp + 0xa8]
mov eax, dword [ebp + 0x14]
mov ecx, 6
fstp dword [esp + 0x70]
fld qword [esp + 0xb0]
lea esi, [esp + 0x2c]
lea edi, [esp + 0x100]
fstp dword [esp + 0x74]
fld qword [esp + 0xb8]
test eax, eax
fstp dword [esp + 0x78]
rep movsd dword es:[edi], dword [esi]
jne 0x50088a
mov ecx, dword [ebp + 0xc]
cmp word [ecx + 0x14], 0
jne 0x5008a9
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
push edx
lea ecx, [esp + 0xac]
push eax
lea edx, [esp + 0x34]
push ecx
push edx
call fcn.00418e80
add esp, 0x10
test ebx, ebx
jne 0x500a11
push 0xc0
push 1
call fcn.00547150
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x501005
mov esi, dword [ebx]
or esi, 0x140
mov dword [ebx], esi
mov esi, dword [esp + 0x128]
mov eax, esi
and eax, 0x1f
cmp al, 0x16
jne 0x500960
mov eax, esi
mov ecx, dword [esp + 0x18]
and eax, 0x10000
mov edx, dword [esp + 0x28]
neg eax
sbb eax, eax
push ecx
neg eax
fld dword [esp + 0x160]
inc eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x9c], eax
push eax
mov eax, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x64]
push eax
sub esp, 8
lea eax, [esp + 0x88]
fstp qword [esp]
fld dword [esp + 0x160]
push ecx
push edx
sub esp, 8
lea ecx, [esp + 0x128]
lea edx, [esp + 0x1f0]
fstp qword [esp]
push eax
push ecx
lea eax, [esp + 0xd8]
push edx
push eax
push ebx
call fcn.005010d0
add esp, 0x3c
test eax, eax
jne 0x501005
jmp 0x5009b3
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
fld dword [esp + 0x148]
fsub qword [esp + 0x58]
push ecx
push edx
mov edx, dword [esp + 0x28]
sub esp, 8
lea eax, [esp + 0x80]
lea ecx, [esp + 0x3c]
fstp qword [esp]
neg edx
push eax
lea eax, [esp + 0x1dc]
sbb edx, edx
push ecx
and edx, eax
lea ecx, [esp + 0xc0]
push edx
push ecx
push ebx
call fcn.00500010
add esp, 0x24
test eax, eax
jne 0x501005
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x5009f0
mov edx, dword [esp + 0x10]
test dword [edx], 0x2000000
je 0x5009f0
test esi, 0x1000
je 0x5009f0
fld dword [esp + 0x148]
fmul qword [esp + 0xb8]
fadd qword [esp + 0x110]
fstp qword [esp + 0xd8]
jmp 0x500b6e
fld dword [esp + 0x144]
fmul qword [esp + 0xb8]
fadd qword [esp + 0x110]
fstp qword [esp + 0xd8]
jmp 0x500b6e
mov eax, dword [esp + 0x14]
test eax, eax
mov eax, dword [esp + 0x20]
je 0x500a73
test eax, eax
push ebx
je 0x500a54
lea eax, [esp + 0xc4]
lea ecx, [esp + 0xd0]
push eax
lea edx, [esp + 0x34]
push ecx
lea eax, [esp + 0xf4]
push edx
push eax
call fcn.00440230
add esp, 0x14
test eax, eax
je 0x501005
jmp 0x500ae2
lea ecx, [esp + 0x30]
lea edx, [esp + 0xec]
push ecx
push edx
call fcn.00440210
add esp, 0xc
test eax, eax
je 0x501005
jmp 0x500ae2
test eax, eax
push ebx
je 0x500ab4
lea eax, [esp + 0xc4]
lea ecx, [esp + 0xd0]
push eax
lea edx, [esp + 0x78]
push ecx
lea eax, [esp + 0xa8]
push edx
lea ecx, [esp + 0x3c]
push eax
lea edx, [esp + 0xfc]
push ecx
push edx
call fcn.00440350
add esp, 0x1c
test eax, eax
je 0x501005
jmp 0x500ae2
push 0
lea eax, [esp + 0x78]
push 0
lea ecx, [esp + 0xa8]
push eax
lea edx, [esp + 0x3c]
push ecx
lea eax, [esp + 0xfc]
push edx
push eax
call fcn.00440350
add esp, 0x1c
test eax, eax
je 0x501005
mov ecx, dword [esp + 0x28]
push ecx
call fcn.004b2890
mov eax, dword [0x584ce8]
add esp, 4
test eax, eax
je 0x500b05
mov eax, dword [0x5838d8]
or ah, 4
mov dword [0x5838d8], eax
mov edx, dword [ebx + 0x10]
push edx
call fcn.0048e930
add esp, 4
call fcn.004b2a10
mov ecx, dword [0x5838d8]
mov eax, dword [0x584fa0]
and ch, 0xfb
test eax, eax
mov dword [0x5838d8], ecx
je 0x500b61
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
neg eax
sbb eax, eax
lea ecx, [esp + 0x9c]
not eax
and eax, ecx
mov dword [esp + 0x54], 2
push eax
push 2
lea eax, [esp + 0xf0]
push edx
push eax
call fcn.00438390
add esp, 0x10
call fcn.00458de0
test eax, eax
jne 0x500fd1
mov eax, dword [0x584fa0]
test eax, eax
je 0x500ba4
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
neg ecx
sbb ecx, ecx
lea edx, [esp + 0x70]
not ecx
and ecx, edx
mov dword [esp + 0x54], 1
push ecx
push 1
lea ecx, [esp + 0x34]
push eax
push ecx
call fcn.00438390
add esp, 0x10
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
mov ecx, 6
lea esi, [esp + 0x2c]
lea edi, [esp + 0xe8]
mov dword [esp + 0x9c], edx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x78]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x48]
inc eax
cmp eax, ecx
mov dword [esp + 0x68], eax
jle 0x500539
mov esi, dword [esp + 0x44]
mov edi, 1
mov edx, dword [esp + 0x10]
mov esi, dword [esi + 0xc]
mov dword [esp + 0x44], esi
cmp esi, dword [edx + 0xc]
je 0x500c0d
test esi, esi
jne 0x500495
test ebx, ebx
je 0x500ed8
push ebx
mov dword [esp + 0x4c], 1
call fcn.00488dc0
mov esi, eax
add esp, 4
test esi, esi
je 0x500cb9
mov eax, dword [esp + 0x10]
test dword [eax], 0x2000000
je 0x500c6b
push 0xc0
push 1
call fcn.00547150
add esp, 8
test eax, eax
je 0x501005
mov ecx, dword [eax]
or ecx, 0x140
mov dword [eax], ecx
mov ecx, dword [0x583c64]
mov dword [eax + 0x54], ecx
mov dword [esi + 0x34], eax
mov esi, eax
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
fld dword [esp + 0x148]
fsub dword [esp + 0x150]
push edx
push eax
mov eax, dword [esp + 0x28]
sub esp, 8
lea ecx, [esp + 0x80]
lea edx, [esp + 0x3c]
fstp qword [esp]
neg eax
push ecx
lea ecx, [esp + 0x1dc]
sbb eax, eax
push edx
and eax, ecx
push eax
push esi
call fcn.00500140
add esp, 0x20
test eax, eax
jne 0x501005
mov edx, dword [esp + 0x128]
and edx, 0x1f
cmp dl, 0x16
je 0x500ce8
mov eax, dword [0x584ab4]
mov ecx, dword [0x584ab0]
push 0x3fefae14
push 0x7ae147ae
push eax
push ecx
push ebx
call fcn.0049e1e0
add esp, 0x14
mov eax, dword [ebp + 0x18]
push ebx
test eax, eax
je 0x500cf3
push eax
jmp 0x500cf8
push 0x585054
call fcn.004894b0
add esp, 8
mov eax, dword [esp + 0x48]
mov ecx, 0x14
lea esi, [esp + 0x128]
lea edi, [esp + 0x178]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebx + 0xc]
test eax, eax
fld dword [edx + 0x40]
fst dword [esp + 0x1a0]
fst dword [esp + 0x198]
fstp dword [esp + 0x19c]
jne 0x500d51
mov eax, dword [ebx + 0x34]
test eax, eax
je 0x500d51
cmp dword [esp + 0x98], 1
je 0x500d51
mov eax, dword [ebx + 0x10]
fld dword [eax + 0x44]
jmp 0x500d58
fld qword [esp + 0xd8]
fstp dword [esp + 0x194]
mov esi, dword [ebx + 0x34]
mov edx, dword [esp + 0x178]
mov eax, dword [esp + 0x10]
xor ecx, ecx
test esi, esi
mov eax, dword [eax]
mov dword [esp + 0x48], 0
setne cl
and ecx, 1
and dh, 0xf7
shl ecx, 0xb
or ecx, edx
test eax, 0x2000000
mov dword [esp + 0x178], ecx
je 0x500dbd
mov ecx, dword [esp + 0x188]
mov dword [esp + 0x1ac], 0
mov dword [esp + 0x18c], ecx
mov dword [esp + 0x1a8], 0
jmp 0x500dd8
fld qword [esp + 0xe0]
fstp dword [esp + 0x1ac]
mov ecx, dword [ebx]
mov edx, ecx
xor edx, eax
and edx, 3
xor edx, ecx
mov dword [ebx], edx
fld dword [ebx + 0x54]
fcomp qword [0x550f20]
fnstsw ax
test ah, 0x41
jne 0x500df2
mov eax, dword [ebx + 0x54]
mov dword [esp + 0x18c], eax
fld dword [ebx + 0x50]
fcomp qword [0x550f20]
fnstsw ax
test ah, 0x41
jne 0x500e0c
mov ecx, dword [ebx + 0x50]
mov dword [esp + 0x188], ecx
mov edi, dword [esp + 0x18]
mov esi, dword [ebx + 0x34]
push 0
lea edx, [esp + 0x17c]
push edi
push edx
push 2
push ebx
mov dword [ebx + 0x34], 0
call fcn.004893a0
mov dword [ebx + 0x34], esi
mov esi, dword [ebp + 0x18]
add esp, 0x14
test esi, esi
je 0x500e76
cmp ebx, dword [esi]
jne 0x500e76
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x500e76
mov eax, dword [esp + 0x10]
test dword [eax], 0x2000000
je 0x500e76
mov eax, dword [esp + 0x128]
test ah, 0x10
je 0x500e76
fld dword [esp + 0x144]
fmul qword [esp + 0xb8]
fadd qword [esp + 0x110]
fstp dword [ebx + 0x5c]
push ebx
call fcn.00441c50
add esp, 4
test esi, esi
jne 0x500e8e
push 3
push ebx
call fcn.004ac0f0
add esp, 8
mov ebx, dword [ebx + 0x34]
test ebx, ebx
jne 0x500d00
mov eax, dword [0x584fa0]
test eax, eax
je 0x500ed8
cmp dword [esp + 0x54], 1
jne 0x500ed8
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x9c]
neg ecx
sbb ecx, ecx
lea eax, [esp + 0xe8]
not ecx
and ecx, edx
mov dword [esp + 0x54], 2
push ecx
push 2
push edi
push eax
call fcn.00438390
add esp, 0x10
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x50]
inc eax
cmp eax, ecx
mov dword [esp + 0x6c], eax
jle 0x5003e8
mov esi, dword [esp + 0x10]
mov ebx, dword [ebp + 8]
xor edi, edi
push esi
mov dword [0x584fa8], 1
call fcn.0048cbe0
mov eax, dword [ebp + 0x18]
add esp, 4
cmp eax, edi
mov dword [0x584fa8], edi
jne 0x500f3c
push 2
push esi
call fcn.004ac0f0
push ebx
push esi
call fcn.00488bf0
mov eax, dword [0x56d4f0]
add esp, 0x10
cmp eax, edi
jne 0x500f4c
push esi
call fcn.004888a0
add esp, 4
jmp 0x500f4c
push ebx
push esi
call fcn.00488bf0
push esi
call fcn.004888a0
add esp, 0xc
mov esi, dword [esp + 0x64]
cmp esi, edi
mov dword [esp + 0x10], esi
jne 0x5002d4
mov eax, dword [ebp + 0x18]
cmp eax, edi
je 0x501011
mov eax, dword [eax]
cmp eax, edi
je 0x501016
cmp dword [esp + 0x1c], edi
je 0x501016
mov ecx, dword [esp + 0x128]
test ch, 0x10
je 0x501016
fld dword [esp + 0x144]
fmul qword [esp + 0xb8]
push eax
fadd qword [esp + 0x114]
fstp dword [esp + 0x68]
call fcn.00488dc0
mov edx, dword [esp + 0x68]
add esp, 4
mov dword [eax + 0x5c], edx
jmp 0x501016
push 1
push 0x5819e0
call fcn.00547180
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x5832c8]
push ecx
call fcn.0054715c
add esp, 4
test ebx, ebx
je 0x500fed
push ebx
call fcn.004888a0
add esp, 4
mov eax, dword [esp + 0x24]
test eax, eax
je 0x501005
push 0x218
push 1
push eax
call fcn.0054714a
add esp, 0xc
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004a0ba0
mov eax, dword [esp + 0x24]
cmp eax, edi
je 0x50102e
push 0x218
push 1
push eax
call fcn.0054714a
add esp, 0xc
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret