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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x51dd16
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x184
push ebx
mov ebx, ecx
push esi
push edi
mov dword [esp + 0x14], ebx
xor esi, esi
lea ecx, [esp + 0xe0]
mov dword [esp + 0x198], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], 0x47ae147b
mov dword [esp + 0x2c], 0x3f847ae1
call fcn.0047ded0
lea eax, [ebx + 0x450]
lea ecx, [esp + 0xe0]
push eax
mov byte [esp + 0x19c], 1
call fcn.00480300
lea ecx, [esp + 0xe0]
push ecx
lea ecx, [ebp + 0x10]
call fcn.0047e830
mov al, byte [ebp + 8]
test al, al
je 0x4f2cb3
lea edx, [esp + 0x28]
lea eax, [esp + 0x20]
push edx
push eax
lea ecx, [esp + 0xe8]
call fcn.00480650
fld qword [ebp + 0x10]
fadd qword [esp + 0x20]
fstp qword [ebp + 0x10]
fld qword [ebp + 0x18]
fadd qword [esp + 0x28]
fstp qword [ebp + 0x18]
push 0x3b8
call fcn.0050b264
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, esi
mov byte [esp + 0x198], 2
je 0x4f2cd9
mov ecx, eax
call fcn.0046ffb0
jmp 0x4f2cdb
xor eax, eax
mov edi, dword [ebp + 0xc]
mov ecx, eax
push edi
mov byte [esp + 0x19c], 1
mov dword [ebx + 0x4dc], eax
call fcn.00470470
push 0x3b8
call fcn.0050b264
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, esi
mov byte [esp + 0x198], 3
je 0x4f2d1e
mov ecx, eax
call fcn.0046ffb0
mov dword [esp + 0xc], eax
jmp 0x4f2d22
mov dword [esp + 0xc], esi
mov ecx, dword [esp + 0xc]
push edi
mov byte [esp + 0x19c], 1
call fcn.00470470
push fcn.00479010
push fcn.00478fc0
push 2
lea ecx, [esp + 0x48]
push 0x1c
push ecx
call fcn.0050c29d
push fcn.00479010
push fcn.00478fc0
push 2
lea edx, [esp + 0x80]
push 0x1c
push edx
mov byte [esp + 0x1ac], 4
call fcn.0050c29d
mov ecx, edi
mov byte [esp + 0x198], 5
call fcn.004708b0
mov esi, eax
lea eax, [esp + 0x74]
push eax
mov ecx, edi
call fcn.00471000
lea ecx, [esp + 0x90]
push ecx
mov ecx, edi
call fcn.00471260
lea edx, [esp + 0x3c]
lea eax, [esp + 0x74]
push edx
lea ecx, [ebp + 0x10]
push eax
push ecx
mov ecx, ebx
call fcn.004f2b30
test al, al
je 0x4f3438
mov ecx, dword [ebx + 0x4dc]
lea edx, [esp + 0x3c]
push edx
call fcn.00470e20
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x58]
push eax
call fcn.00470e20
lea ecx, [esp + 0x3c]
push ecx
mov ecx, edi
call fcn.00470e10
lea edx, [ebp + 0x10]
push eax
push edx
mov ecx, ebx
call fcn.004f2040
test al, al
je 0x4f3438
mov ecx, dword [ebp + 0x3c]
mov edx, dword [ebp + 0x38]
lea eax, [esp + 0x3c]
push eax
push 1
push ecx
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0x10]
push edx
push eax
push ecx
mov ecx, ebx
call fcn.004f2460
test al, al
je 0x4f3438
mov eax, dword [ebp + 0x44]
mov ecx, dword [ebp + 0x40]
lea edx, [esp + 0x58]
push edx
push 0
push eax
mov eax, dword [ebp + 8]
lea edx, [ebp + 0x10]
push ecx
push edx
push eax
mov ecx, ebx
call fcn.004f2460
test al, al
je 0x4f3438
mov ecx, dword [esp + 0x44]
mov eax, 4
cmp ecx, eax
jl 0x4f3438
cmp dword [esp + 0x60], eax
jl 0x4f3438
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [ebx + 0x4dc]
call fcn.004708c0
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x58]
push edx
call fcn.004708c0
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x44]
call fcn.0042f940
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x60]
call fcn.0042f940
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x90]
push eax
lea edx, [ebp + 0x10]
push ecx
push edx
mov ecx, ebx
call fcn.004f2b30
test al, al
je 0x4f3438
mov ecx, dword [ebx + 0x4dc]
lea eax, [esp + 0x3c]
push eax
call fcn.00471020
lea ecx, [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x10]
call fcn.00471020
cmp dword [esi + 8], 3
jle 0x4f3122
mov eax, dword [esp + 0x78]
xor ebx, ebx
cmp eax, ebx
je 0x4f2ef4
push eax
call fcn.0050b204
add esp, 4
mov dword [esp + 0x78], ebx
mov eax, dword [esp + 0x94]
xor ecx, ecx
cmp eax, ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x7c], ecx
je 0x4f2f23
push eax
call fcn.0050b204
mov ecx, dword [esp + 0x80]
add esp, 4
mov dword [esp + 0x94], ebx
xor eax, eax
mov dword [esp + 0x9c], ebx
mov dword [esp + 0x98], eax
mov edx, dword [esi + 8]
test edx, edx
jle 0x4f2fde
mov eax, dword [esi + 4]
mov dword [esp + 0x10], 0
jmp 0x4f2f4f
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x10]
mov edi, ecx
add eax, edx
inc ecx
push 0xffffffffffffffff
push ecx
mov edx, dword [eax]
lea ecx, [esp + 0x7c]
mov dword [esp + 0x38], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x3c], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x40], eax
call fcn.0042f940
mov edx, dword [esp + 0x78]
lea ecx, [edi + edi*2]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [eax], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x10]
mov dword [eax + 8], ecx
mov eax, dword [esi + 4]
lea ecx, [eax + edx]
mov edx, ecx
mov ecx, dword [edx]
cmp ecx, 4
mov edi, dword [edx + 4]
mov dword [esp + 0xd8], edi
mov edx, dword [edx + 8]
mov dword [esp + 0xdc], edx
je 0x4f2fd4
mov edx, dword [esp + 0x10]
mov ecx, dword [esi + 8]
inc ebx
add edx, 0xc
cmp ebx, ecx
mov dword [esp + 0x10], edx
jl 0x4f2f4b
mov eax, dword [esp + 0x98]
mov edi, dword [ebp + 0xc]
cmp ebx, dword [esi + 8]
jge 0x4f305c
lea ecx, [ebx + ebx*2]
shl ecx, 2
mov dword [esp + 0x18], ecx
jmp 0x4f2ffa
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x18]
mov edi, dword [esi + 4]
push 0xffffffffffffffff
add ecx, edi
mov edi, eax
inc eax
mov edx, dword [ecx]
push eax
mov dword [esp + 0x38], edx
mov edx, dword [ecx + 4]
mov dword [esp + 0x3c], edx
mov ecx, dword [ecx + 8]
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0x98]
call fcn.0042f940
mov eax, dword [esp + 0x94]
lea edx, [edi + edi*2]
inc ebx
lea ecx, [eax + edx*4]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov dword [ecx], edx
mov edx, dword [esp + 0x38]
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
mov ecx, dword [esp + 0x18]
mov eax, dword [esi + 8]
add ecx, 0xc
cmp ebx, eax
mov dword [esp + 0x18], ecx
jl 0x4f2fef
mov edi, dword [ebp + 0xc]
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x74]
push eax
lea edx, [ebp + 0x10]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
call fcn.004f2040
test al, al
je 0x4f3434
lea eax, [esp + 0x3c]
lea ecx, [ebp + 0x10]
push eax
push 1
push 0
push 0
push ecx
mov ecx, dword [esp + 0x28]
push 0
call fcn.004f2460
test al, al
je 0x4f3434
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x58]
push edx
push 0
push 0
lea eax, [ebp + 0x10]
push 0
push eax
push 0
call fcn.004f2460
test al, al
je 0x4f3434
mov ecx, dword [esp + 0x44]
mov eax, 4
cmp ecx, eax
jl 0x4f3434
cmp dword [esp + 0x60], eax
jl 0x4f3434
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x90]
push ecx
mov ecx, dword [esp + 0x18]
lea eax, [ebp + 0x10]
push edx
push eax
call fcn.004f2b30
test al, al
je 0x4f3434
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [edx + 0x4dc]
call fcn.00470890
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x58]
push eax
call fcn.00470890
mov ebx, dword [esp + 0x14]
mov ecx, edi
call fcn.004716b0
test eax, eax
je 0x4f317d
push 0
mov ecx, edi
call fcn.00471660
mov ecx, dword [ebx + 0x4dc]
push eax
call fcn.00471480
push 0
mov ecx, edi
call fcn.00471660
mov esi, dword [esp + 0xc]
push eax
mov ecx, esi
call fcn.00471480
push 1
mov ecx, edi
call fcn.00471660
mov ecx, dword [ebx + 0x4dc]
push eax
call fcn.00471480
push 1
mov ecx, edi
call fcn.00471660
push eax
mov ecx, esi
call fcn.00471480
mov ecx, edi
call fcn.00471450
xor esi, esi
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0x18], esi
jle 0x4f324a
jmp 0x4f319c
mov esi, dword [esp + 0x18]
push esi
mov ecx, edi
call fcn.00471460
mov dword [esp + 0x1c], eax
lea esi, [esp + 0x130]
mov ebx, 4
mov ecx, esi
call fcn.0047a350
add esi, 0x18
dec ebx
jne 0x4f31b4
mov ebx, dword [esp + 0x1c]
lea ecx, [esp + 0x130]
push ecx
mov ecx, ebx
call fcn.00477120
xor edx, edx
lea ecx, [esp + 0x130]
mov esi, 4
fld qword [ecx]
fld qword [ecx + 8]
fsub qword [ebp + 0x18]
fmul qword [ebp + 0x28]
fxch st(1)
fsub qword [ebp + 0x10]
fmul qword [ebp + 0x30]
fsubp st(1)
fcomp qword [0x520dc0]
fnstsw ax
test ah, 0x41
jne 0x4f3207
inc edx
jmp 0x4f3208
dec edx
add ecx, 0x18
dec esi
jne 0x4f31e2
cmp edx, 4
jne 0x4f3220
mov edx, dword [esp + 0x14]
push ebx
mov ecx, dword [edx + 0x4dc]
jmp 0x4f322a
cmp edx, 0xfffffffc
jne 0x4f322f
mov ecx, dword [esp + 0xc]
push ebx
call fcn.00471280
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
inc eax
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x4f3198
mov ebx, dword [esp + 0x14]
mov esi, eax
mov al, byte [ebp + 8]
test al, al
je 0x4f3366
lea eax, [ebp + 0x10]
lea ecx, [esp + 0xac]
push eax
call fcn.0047e580
lea ecx, [esp + 0x28]
lea edx, [esp + 0x20]
push ecx
push edx
lea ecx, [esp + 0xe8]
mov byte [esp + 0x1a0], 6
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0x47ae147b
mov dword [esp + 0x34], 0xbf947ae1
call fcn.00480650
fld qword [esp + 0xac]
fadd qword [esp + 0x20]
mov ecx, edi
fstp qword [esp + 0xac]
fld qword [esp + 0xb4]
fadd qword [esp + 0x28]
fstp qword [esp + 0xb4]
call fcn.00471650
cmp esi, eax
mov dword [esp + 0x10], eax
jge 0x4f3350
push esi
mov ecx, edi
call fcn.00471660
mov ecx, eax
fld qword [ecx]
fld qword [ecx + 8]
fsub qword [ebp + 0x18]
fmul qword [ebp + 0x28]
fxch st(1)
fsub qword [ebp + 0x10]
fmul qword [ebp + 0x30]
fsubp st(1)
fcomp qword [0x520dc0]
fnstsw ax
test ah, 0x41
jne 0x4f330b
push ecx
mov ecx, dword [ebx + 0x4dc]
jmp 0x4f3342
fld qword [ecx]
fld qword [ecx + 8]
fsub qword [esp + 0xb4]
fmul qword [esp + 0xc4]
fxch st(1)
fsub qword [esp + 0xac]
fmul qword [esp + 0xcc]
fsubp st(1)
fcomp qword [0x520dc0]
fnstsw ax
test ah, 1
je 0x4f3347
push ecx
mov ecx, dword [esp + 0x10]
call fcn.00471480
mov eax, dword [esp + 0x10]
inc esi
cmp esi, eax
jl 0x4f32d6
lea ecx, [esp + 0xac]
mov byte [esp + 0x198], 5
call fcn.00507a00
jmp 0x4f33bc
mov ecx, edi
call fcn.00471650
cmp esi, eax
mov dword [esp + 0x10], eax
jge 0x4f33bc
push esi
mov ecx, edi
call fcn.00471660
mov ecx, eax
push ecx
fld qword [ecx]
fld qword [ecx + 8]
fsub qword [ebp + 0x18]
fmul qword [ebp + 0x28]
fxch st(1)
fsub qword [ebp + 0x10]
fmul qword [ebp + 0x30]
fsubp st(1)
fcomp qword [0x520dc0]
fnstsw ax
test ah, 0x41
jne 0x4f33aa
mov ecx, dword [ebx + 0x4dc]
jmp 0x4f33ae
mov ecx, dword [esp + 0x10]
call fcn.00471480
mov eax, dword [esp + 0x10]
inc esi
cmp esi, eax
jl 0x4f3375
push fcn.00479010
push 2
lea eax, [esp + 0x7c]
push 0x1c
push eax
mov byte [esp + 0x1a8], 4
call fcn.0050c1a9
push fcn.00479010
push 2
lea ecx, [esp + 0x44]
push 0x1c
push ecx
mov byte [esp + 0x1a8], 1
call fcn.0050c1a9
lea ecx, [esp + 0xe0]
mov byte [esp + 0x198], 0
call fcn.00507a00
lea ecx, [ebp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00507a00
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x190]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x40
mov ebx, dword [esp + 0x14]
mov esi, dword [ebx + 0x4dc]
test esi, esi
je 0x4f3452
mov ecx, esi
call fcn.004700c0
push esi
call fcn.0050b204
add esp, 4
mov esi, dword [esp + 0xc]
test esi, esi
je 0x4f346a
mov ecx, esi
call fcn.004700c0
push esi
call fcn.0050b204
add esp, 4
push fcn.00479010
push 2
lea edx, [esp + 0x7c]
push 0x1c
push edx
mov dword [ebx + 0x4dc], edi
mov byte [esp + 0x1a8], 4
call fcn.0050c1a9
push fcn.00479010
push 2
lea eax, [esp + 0x44]
push 0x1c
push eax
mov byte [esp + 0x1a8], 1
call fcn.0050c1a9
lea ecx, [esp + 0xe0]
mov byte [esp + 0x198], 0
call fcn.00507a00
lea ecx, [ebp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00507a00
mov ecx, dword [esp + 0x190]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x40