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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x65985d
mov eax, dword fs:[0]
push eax
sub esp, 0x1a4
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6af168]
xor eax, esp
push eax
lea eax, [esp + 0x1b8]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [esp + 0x3c], ebp
mov eax, dword [ebp + 0x14]
cmp byte [eax + 0x6c], 0
je 0x52d444
lea edi, [ebp + 0x30]
call fcn.0053af00
xor eax, eax
mov dword [ebp + 4], eax
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0x14]
add eax, 0x88
mov dword [esp + 0x58], eax
mov eax, dword [eax + 4]
mov ebx, dword [eax]
mov byte [esp + 0x33], 1
mov eax, dword [ebp + 0x14]
mov edi, dword [esp + 0x58]
mov esi, dword [eax + 0x8c]
add eax, 0x88
cmp edi, eax
mov dword [esp + 0x48], ebx
je 0x52ca41
call fcn.0062492b
cmp ebx, esi
je 0x52d444
cmp ebx, dword [edi + 4]
jne 0x52ca53
call fcn.0062492b
mov eax, dword [ebp + 0x18]
cmp eax, dword [ebx + 0xb8]
jl 0x52d42f
mov ecx, dword [ebx + 0xbc]
cmp eax, ecx
jle 0x52ca75
cmp ecx, 0xffffffff
jne 0x52d42f
xor esi, esi
mov byte [esp + 0x1b], 1
mov dword [esp + 0x20], esi
mov dword [esp + 0x2c], esi
mov eax, dword [ebx + 0x38]
test eax, eax
lea edi, [ebx + 8]
je 0x52cba8
mov ecx, dword [edi + 0x34]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jae 0x52cba8
mov eax, dword [ebp + 0x24]
add ebp, 0x1c
cmp dword [ebp + 4], eax
mov dword [esp + 0x1c], eax
jbe 0x52cac6
call fcn.0062492b
mov eax, dword [edi + 0x30]
test eax, eax
je 0x52cae9
mov ecx, dword [edi + 0x34]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x52caee
call fcn.0062492b
mov ebx, dword [edi + 0x30]
mov esi, dword [ebp + 8]
add ebx, dword [esp + 0x2c]
cmp dword [ebp + 4], esi
mov dword [esp + 0x28], esi
jbe 0x52cb06
call fcn.0062492b
mov edi, dword [ebp + 4]
cmp edi, dword [ebp + 8]
jbe 0x52cb13
call fcn.0062492b
cmp edi, esi
je 0x52cb72
mov ebp, dword [ebx + 0x14]
lea ebx, [ebx]
cmp dword [ebx + 0x18], 0x10
jb 0x52cb2b
mov edx, dword [ebx + 4]
jmp 0x52cb2e
lea edx, [ebx + 4]
mov esi, dword [edi + 0x14]
mov eax, esi
cmp eax, esi
jae 0x52cb37
cmp esi, ebp
mov ecx, esi
jb 0x52cb3f
mov ecx, ebp
cmp dword [edi + 0x18], 0x10
jb 0x52cb4a
mov eax, dword [edi + 4]
jmp 0x52cb4d
lea eax, [edi + 4]
push ecx
push edx
push eax
call fcn.00402c10
add esp, 0xc
test eax, eax
jne 0x52cb69
cmp esi, ebp
jb 0x52cb69
cmp esi, ebp
setne al
test eax, eax
je 0x52cb72
add edi, 0x1c
cmp edi, dword [esp + 0x28]
jne 0x52cb20
mov eax, dword [esp + 0x3c]
add eax, 0x1c
cmp eax, eax
je 0x52cb82
call fcn.0062492b
cmp edi, dword [esp + 0x1c]
jne 0x52cb8d
mov byte [esp + 0x1b], 0
add dword [esp + 0x20], 1
add dword [esp + 0x2c], 0x1c
mov ebp, dword [esp + 0x3c]
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x48]
jmp 0x52ca84
xor edi, edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x2c], edi
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x52ccd5
mov ecx, dword [ebp + 0x24]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jae 0x52ccd5
lea esi, [ebx + 8]
mov eax, dword [esi + 0x44]
add esi, 0x3c
cmp dword [esi + 4], eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x24], eax
jbe 0x52cbf8
call fcn.0062492b
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x52cc1b
mov ecx, dword [ebp + 0x24]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x52cc20
call fcn.0062492b
mov ecx, dword [esp + 0x3c]
mov ebx, dword [ecx + 0x20]
mov ebp, dword [esi + 8]
add ebx, dword [esp + 0x2c]
cmp dword [esi + 4], ebp
mov dword [esp + 0x28], ebp
jbe 0x52cc3c
call fcn.0062492b
mov edi, dword [esi + 4]
cmp edi, dword [esi + 8]
jbe 0x52cc49
call fcn.0062492b
cmp edi, ebp
je 0x52cca2
mov ebp, dword [ebx + 0x14]
cmp dword [ebx + 0x18], 0x10
jb 0x52cc5b
mov edx, dword [ebx + 4]
jmp 0x52cc5e
lea edx, [ebx + 4]
mov esi, dword [edi + 0x14]
mov eax, esi
cmp eax, esi
jae 0x52cc67
cmp esi, ebp
mov ecx, esi
jb 0x52cc6f
mov ecx, ebp
cmp dword [edi + 0x18], 0x10
jb 0x52cc7a
mov eax, dword [edi + 4]
jmp 0x52cc7d
lea eax, [edi + 4]
push ecx
push edx
push eax
call fcn.00402c10
add esp, 0xc
test eax, eax
jne 0x52cc99
cmp esi, ebp
jb 0x52cc99
cmp esi, ebp
setne al
test eax, eax
je 0x52cca2
add edi, 0x1c
cmp edi, dword [esp + 0x28]
jne 0x52cc50
mov eax, dword [esp + 0x1c]
cmp eax, eax
je 0x52ccaf
call fcn.0062492b
cmp edi, dword [esp + 0x24]
je 0x52ccba
mov byte [esp + 0x1b], 0
add dword [esp + 0x20], 1
add dword [esp + 0x2c], 0x1c
mov ebp, dword [esp + 0x3c]
mov ebx, dword [esp + 0x48]
mov edi, dword [esp + 0x20]
jmp 0x52cbb2
mov al, byte [esp + 0x1b]
or al, byte [ebp + 0x2c]
je 0x52d42f
lea esi, [esp + 0x78]
call fcn.0052c440
mov dword [esp + 0x1c0], 0
mov edi, dword [ebp + 0x34]
mov edx, dword [edi + 4]
lea esi, [ebp + 0x30]
push eax
push edx
push edi
call fcn.0053d410
mov ecx, esi
mov ebx, eax
call fcn.0053d4b0
mov dword [edi + 4], ebx
mov eax, dword [ebx + 4]
lea ecx, [esp + 0x78]
mov dword [eax], ebx
mov dword [esp + 0x1c0], 0xffffffff
call fcn.0052c540
mov eax, dword [esi + 4]
mov ebx, dword [eax + 4]
cmp ebx, eax
mov dword [esp + 0x60], ebx
jne 0x52cd3f
call fcn.0062492b
cmp ebx, dword [esi + 4]
jne 0x52cd49
call fcn.0062492b
mov edi, dword [esp + 0x48]
add edi, 8
mov dword [ebx + 0xc], edi
fld qword [0x665830]
fst qword [esp + 0x6c]
fld qword [ebp + 0x40]
fstp qword [esp + 0x4c]
fcomp qword [ebp + 0x40]
fnstsw ax
test ah, 0x44
jp 0x52ce40
mov eax, dword [edi + 0xb8]
test eax, eax
je 0x52cd85
cmp dword [ebp + 0x18], eax
jne 0x52ce40
lea ecx, [edi + 0x78]
call fcn.00539ef0
mov ecx, dword [esp + 0x60]
lea ebp, [edi + 0x4c]
mov dword [ecx + 0x10], eax
mov byte [ecx + 0x14], 0
mov eax, dword [ebp + 4]
mov esi, dword [eax]
mov edi, ebp
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], edi
lea ebx, [ebx]
test edi, edi
mov ebx, dword [ebp + 4]
je 0x52cdbb
cmp edi, ebp
je 0x52cdc0
call fcn.0062492b
cmp esi, ebx
je 0x52d341
test edi, edi
jne 0x52cdd1
call fcn.0062492b
cmp esi, dword [edi + 4]
jne 0x52cde5
call fcn.0062492b
cmp esi, dword [edi + 4]
jne 0x52cde5
call fcn.0062492b
mov cl, byte [esi + 0xc]
mov eax, dword [esi + 0x14]
mov edx, dword [esi + 0x10]
mov ebx, dword [esp + 0x60]
mov byte [esp + 0x78], cl
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x80], eax
lea eax, [esp + 0x78]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x7c], edx
mov edx, dword [esi + 0x1c]
push eax
lea ecx, [esp + 0xac]
push ecx
add ebx, 0x18
mov dword [esp + 0x90], edx
call fcn.0053adb0
lea esi, [esp + 0x64]
call fcn.0053d550
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x64]
jmp 0x52cdb0
mov eax, dword [edi + 0xb8]
test eax, eax
mov dword [esp + 0x24], eax
je 0x52ce60
fild dword [esp + 0x24]
fstp qword [esp + 0x6c]
fild dword [ebp + 0x18]
fmul qword [ebp + 0x40]
fstp qword [esp + 0x4c]
push 0x6c
call fcn.00624a6a
add esp, 4
mov dword [esp + 0x40], eax
test eax, eax
mov dword [esp + 0x1c0], 1
je 0x52ce90
mov edx, dword [ebp + 0x14]
mov ecx, dword [edx + 0x74]
push ecx
push eax
call fcn.0052f6e0
mov dword [esp + 0x2c], eax
jmp 0x52ce98
mov dword [esp + 0x2c], 0
xor eax, eax
mov dword [esp + 0x1c0], 0xffffffff
add edi, 0x4c
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], eax
mov eax, dword [edi + 4]
mov ebx, dword [eax]
mov esi, edi
mov byte [esp + 0x1b], 1
mov dword [esp + 0x40], edi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], esi
lea esp, [esp]
test esi, esi
mov ebp, dword [edi + 4]
je 0x52cedb
cmp esi, edi
je 0x52cee0
call fcn.0062492b
cmp ebx, ebp
je 0x52cf40
test esi, esi
jne 0x52ceed
call fcn.0062492b
cmp ebx, dword [esi + 4]
jne 0x52cef7
call fcn.0062492b
mov ecx, dword [ebx + 0x24]
mov eax, dword [ebx + 0x1c]
mov edx, dword [esp + 0x1c]
add eax, ecx
cmp ecx, edx
jge 0x52cf0d
mov edx, ecx
mov dword [esp + 0x1c], edx
cmp eax, dword [esp + 0x28]
jle 0x52cf17
mov dword [esp + 0x28], eax
cmp edx, ecx
jne 0x52cf21
cmp dword [esp + 0x28], eax
je 0x52cf26
mov byte [esp + 0x1b], 0
mov edx, dword [ebx + 0x18]
add dword [esp + 0x20], edx
lea esi, [esp + 0x34]
call fcn.0053d550
mov ebx, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
jmp 0x52ced0
cmp byte [esp + 0x1b], 0
jne 0x52d0af
push 0x6c
call fcn.00624a6a
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
mov dword [esp + 0x1c0], 2
je 0x52cf7d
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx + 0x14]
mov ecx, dword [edx + 0x74]
push ecx
push eax
call fcn.0052f6e0
mov ebp, eax
jmp 0x52cf7f
xor ebp, ebp
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x1c]
mov dword [esp + 0x1c0], 0xffffffff
mov edx, dword [ebp]
mov edx, dword [edx + 0x78]
push eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x24]
push eax
mov ecx, ebp
call edx
mov eax, dword [ebp]
mov edx, dword [eax + 0x80]
push 1
push 1
mov ecx, ebp
call edx
push ebp
lea ecx, [esp + 0xb8]
call fcn.00524fd0
mov dword [esp + 0x1c0], 3
mov eax, dword [edi + 4]
mov eax, dword [eax]
mov esi, edi
xor ebx, ebx
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], eax
test esi, esi
mov eax, dword [edi + 4]
mov dword [esp + 0x98], eax
je 0x52cff2
cmp esi, edi
je 0x52cff7
call fcn.0062492b
mov ecx, dword [esp + 0x38]
cmp ecx, dword [esp + 0x98]
je 0x52d081
test esi, esi
jne 0x52d00d
call fcn.0062492b
mov edx, dword [esp + 0x38]
cmp edx, dword [esi + 4]
jne 0x52d01b
call fcn.0062492b
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x38]
add eax, 8
lea ecx, [eax + 0x78]
add esi, 0x10
call fcn.00539ef0
test eax, eax
je 0x52d051
mov eax, dword [esi + 0x14]
sub eax, dword [esp + 0x1c]
push esi
push eax
push ebx
call fcn.00539ef0
push eax
lea eax, [esp + 0xc4]
call fcn.00525d70
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov dword [esi + 0x14], ecx
mov ecx, dword [esi + 8]
mov dword [esi], ebx
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
add ebx, dword [esi + 8]
lea esi, [esp + 0x34]
call fcn.0053d550
mov esi, dword [esp + 0x34]
jmp 0x52cfe0
mov esi, dword [esp + 0x48]
add esi, 8
push ebp
lea eax, [esi + 0x78]
call fcn.00539ed0
lea ecx, [esp + 0xb4]
mov byte [esi + 0x80], 1
mov dword [esp + 0x1c0], 0xffffffff
call fcn.005250b0
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], eax
mov eax, dword [edi + 4]
mov eax, dword [eax]
mov ebx, edi
mov esi, eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], esi
lea ebx, [ebx]
test ebx, ebx
mov ebp, dword [edi + 4]
je 0x52d0db
cmp ebx, edi
je 0x52d0e0
call fcn.0062492b
cmp esi, ebp
je 0x52d213
test ebx, ebx
jne 0x52d0f1
call fcn.0062492b
cmp esi, dword [ebx + 4]
jne 0x52d0fb
call fcn.0062492b
mov edi, dword [esi + 0x20]
fld qword [esp + 0x6c]
fstp dword [esp + 0x1c]
mov dword [esp + 0x24], edi
fild dword [esp + 0x24]
sub esp, 8
fmul qword [esp + 0x54]
fdiv dword [esp + 0x24]
fstp qword [esp]
call fcn.00645050
call fcn.0062a660
mov ebx, eax
mov eax, dword [esi + 0x18]
add eax, edi
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
fmul qword [esp + 0x54]
fdiv dword [esp + 0x24]
fstp qword [esp]
call fcn.00624b10
call fcn.0062a660
mov edi, dword [esi + 0x24]
mov dword [esp + 0x2c], edi
fild dword [esp + 0x2c]
mov ebp, eax
sub ebp, ebx
fmul qword [esp + 0x54]
fdiv dword [esp + 0x24]
fstp qword [esp]
call fcn.00645050
call fcn.0062a660
mov ecx, dword [esi + 0x1c]
add ecx, edi
mov dword [esp + 0x2c], ecx
fild dword [esp + 0x2c]
mov ebx, eax
fmul qword [esp + 0x54]
fdiv dword [esp + 0x24]
fstp qword [esp]
call fcn.00624b10
add esp, 8
call fcn.0062a660
mov edi, eax
sub edi, ebx
cmp edi, dword [esp + 0x28]
jle 0x52d1a3
mov dword [esp + 0x28], edi
mov edx, dword [esp + 0x34]
cmp esi, dword [edx + 4]
jne 0x52d1b1
call fcn.0062492b
mov al, byte [esi + 0xc]
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x60]
lea edx, [esp + 0x78]
mov byte [esp + 0x78], al
push edx
lea eax, [esp + 0xa0]
push eax
add ebx, 0x18
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x90], edi
call fcn.0053adb0
add dword [esp + 0x20], ebp
lea esi, [esp + 0x34]
call fcn.0053d550
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x40]
mov ebx, dword [esp + 0x34]
jmp 0x52d0d0
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x20]
mov dword [eax + 0x10], esi
mov byte [eax + 0x14], 1
mov eax, dword [esp + 0x28]
mov edx, dword [esi]
mov edx, dword [edx + 0x78]
push eax
push ecx
mov ecx, esi
call edx
push esi
lea ecx, [esp + 0x120]
call fcn.00524fd0
mov dword [esp + 0x1c0], 4
mov eax, dword [edi + 4]
mov eax, dword [eax]
mov ebx, edi
mov esi, eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], esi
mov edi, edi
test ebx, ebx
mov ebp, dword [edi + 4]
je 0x52d26b
cmp ebx, edi
je 0x52d270
call fcn.0062492b
cmp esi, ebp
je 0x52d2ec
test ebx, ebx
jne 0x52d27d
call fcn.0062492b
cmp esi, dword [ebx + 4]
jne 0x52d287
call fcn.0062492b
mov ebp, dword [esp + 0x48]
add ebp, 0x80
mov ecx, ebp
call fcn.00539ef0
test eax, eax
je 0x52d2d6
cmp esi, dword [ebx + 4]
jne 0x52d2a6
call fcn.0062492b
lea eax, [esi + 0x10]
push eax
mov eax, dword [esp + 0x64]
push ecx
add esi, 0xc
push esi
add eax, 0x18
call fcn.0053ac80
add esp, 4
mov ecx, ebp
mov edx, eax
call fcn.00539ef0
push eax
mov eax, edx
lea ecx, [esp + 0x124]
call fcn.00526210
lea esi, [esp + 0x34]
call fcn.0053d550
mov esi, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
jmp 0x52d260
mov eax, dword [esp + 0x3c]
cmp byte [eax + 0x48], 0
mov edi, dword [esp + 0x2c]
je 0x52d31e
mov edx, dword [edi]
mov esi, dword [edi + 0x28]
mov eax, dword [edx + 0x7c]
imul esi, dword [edi + 0x24]
mov ecx, edi
call eax
test esi, esi
jle 0x52d31e
mov edi, edi
or dword [eax], 0xffffff
add eax, 4
sub esi, 1
jne 0x52d310
mov edx, dword [edi]
mov eax, dword [edx + 0x88]
mov ecx, edi
call eax
lea ecx, [esp + 0x11c]
mov dword [esp + 0x1c0], 0xffffffff
call fcn.005250b0
mov edi, dword [esp + 0x48]
fld qword [esp + 0x6c]
fstp dword [esp + 0x1c]
add edi, 8
fild dword [edi + 0xbc]
fld qword [esp + 0x4c]
fmul st(1), st(0)
fld dword [esp + 0x1c]
fld st(0)
fdivp st(3)
fldz
fcom st(3)
fnstsw ax
fld qword [0x6875b0]
test ah, 0x41
jp 0x52d379
fadd st(4), st(0)
jmp 0x52d37b
fsub st(4), st(0)
fxch st(4)
call fcn.0062a660
mov esi, dword [esp + 0x3c]
cmp eax, dword [esi + 4]
jle 0x52d38e
mov dword [esi + 4], eax
mov eax, dword [edi + 0xc4]
test eax, eax
mov dword [esp + 0x40], eax
je 0x52d3b1
fild dword [esp + 0x40]
fmul st(3)
fdiv st(2)
fcom st(1)
fnstsw ax
test ah, 1
jne 0x52d3b9
fadd st(4)
jmp 0x52d3bb
fild dword [edi + 0xc8]
jmp 0x52d3a0
fsub st(4)
call fcn.0062a660
cmp eax, dword [esi + 0xc]
jle 0x52d3c8
mov dword [esi + 0xc], eax
fild dword [edi + 0xc0]
fmul st(3)
fdiv st(2)
fcom st(1)
fnstsw ax
test ah, 1
jne 0x52d3df
fadd st(4)
jmp 0x52d3e1
fsub st(4)
call fcn.0062a660
mov bl, byte [esp + 0x33]
test bl, bl
jne 0x52d3f3
cmp eax, dword [esi + 8]
jge 0x52d3f6
mov dword [esi + 8], eax
fild dword [edi + 0xcc]
fmulp st(3)
fxch st(2)
fdivrp st(1)
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 1
jne 0x52d411
faddp st(1)
jmp 0x52d413
fsubrp st(1)
call fcn.0062a660
test bl, bl
jne 0x52d421
cmp eax, dword [esi + 0x10]
jle 0x52d424
mov dword [esi + 0x10], eax
mov ebx, dword [esp + 0x48]
mov byte [esp + 0x33], 0
mov ebp, esi
mov ecx, dword [esp + 0x58]
cmp ebx, dword [ecx + 4]
jne 0x52d43d
call fcn.0062492b
mov ebx, dword [ebx]
jmp 0x52ca22
mov ecx, dword [esp + 0x1b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret