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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1ec
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x52e0c3
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x52e0c3
lea ecx, [esp + 0x10]
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], 0
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], 0
mov dword [esp + 0x110], 0
mov dword [esp + 0x114], 0
mov dword [esp + 0x118], 0
mov dword [esp + 0x11c], 0
call fcn.0064dc20
lea ecx, [esp + 0x80]
call fcn.0064dc20
lea ecx, [esp + 0x138]
call fcn.0064dc20
mov ecx, ebx
call fcn.004da3c0
cmp eax, 2
mov dword [esp + 0x30], eax
jl 0x52e0c3
mov ecx, edi
call fcn.004da3c0
cmp eax, 2
mov dword [esp + 0x34], eax
jl 0x52e0c3
mov eax, dword [ebx]
lea ecx, [esp + 0x120]
push ecx
mov ecx, ebx
call dword [eax + 0xf0]
push eax
lea ecx, [esp + 0xf4]
call fcn.006578b0
mov edx, dword [ebx]
lea eax, [esp + 0x120]
push eax
mov ecx, ebx
call dword [edx + 0xf4]
push eax
lea ecx, [esp + 0xbc]
call fcn.006578b0
mov edx, dword [edi]
lea eax, [esp + 0x120]
push eax
mov ecx, edi
call dword [edx + 0xf0]
push eax
lea ecx, [esp + 0xdc]
call fcn.006578b0
mov edx, dword [edi]
lea eax, [esp + 0x120]
push eax
mov ecx, edi
call dword [edx + 0xf4]
push eax
lea ecx, [esp + 0x10c]
call fcn.006578b0
mov eax, dword [esp + 0x30]
xor esi, esi
test eax, eax
mov dword [esp + 0x2c], esi
jl 0x52e0b6
jmp 0x52d99e
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
test esi, esi
jne 0x52da0b
lea ecx, [esp + 0x120]
push esi
push ecx
mov ecx, ebx
call fcn.005309b0
push eax
lea ecx, [esp + 0x14]
call fcn.004bd820
fld qword [esp + 0xf0]
fmul qword [0x69dbe0]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x50], edx
fsubr qword [esp + 0x10]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x54], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
fstp qword [esp + 0x78]
fld qword [esp + 0xf8]
fmul qword [0x69dbe0]
fsubr qword [esp + 0x18]
fstp qword [esp + 0x70]
jmp 0x52db40
cmp esi, eax
jne 0x52da79
dec eax
mov ecx, ebx
push eax
lea eax, [esp + 0x19c]
push eax
call fcn.005309b0
push eax
lea ecx, [esp + 0x14]
call fcn.004bd820
fld qword [esp + 0xb8]
fmul qword [0x69dbe0]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x50], ecx
fadd qword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x54], edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
fstp qword [esp + 0x78]
fld qword [esp + 0xc0]
fmul qword [0x69dbe0]
fadd qword [esp + 0x18]
fstp qword [esp + 0x70]
jmp 0x52db40
test esi, esi
jle 0x52db40
cmp esi, eax
jge 0x52db40
lea edx, [esi - 1]
lea eax, [esp + 0x1c8]
push edx
push eax
mov ecx, ebx
call fcn.005309b0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
lea eax, [esp + 0x150]
mov dword [esp + 0x20], ecx
push esi
push eax
mov ecx, ebx
mov dword [esp + 0x2c], edx
call fcn.005309b0
fld qword [eax]
fst qword [esp + 0x80]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x90], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x94], edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x44], eax
fstp qword [esp + 0x78]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], edx
mov eax, dword [esp + 0x34]
xor esi, esi
test eax, eax
mov dword [esp + 0x28], esi
jl 0x52e0a1
jmp 0x52db58
mov eax, dword [esp + 0x34]
test esi, esi
jne 0x52dbeb
lea eax, [esp + 0x168]
push esi
push eax
mov ecx, edi
call fcn.005309b0
fld qword [esp + 0xd8]
fmul qword [0x69dbe0]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
fsubr qword [esp + 0x10]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
fstp qword [esp + 0x98]
fld qword [esp + 0xe0]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x3c], ecx
fmul qword [0x69dbe0]
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], eax
fsubr qword [esp + 0x18]
fstp qword [esp + 0x68]
jmp 0x52dd49
cmp esi, eax
jne 0x52dc7f
dec eax
lea ecx, [esp + 0x180]
push eax
push ecx
mov ecx, edi
call fcn.005309b0
fld qword [esp + 0x108]
fmul qword [0x69dbe0]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
fadd qword [esp + 0x10]
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
fstp qword [esp + 0x98]
fld qword [esp + 0x110]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x3c], edx
fmul qword [0x69dbe0]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
fadd qword [esp + 0x18]
fstp qword [esp + 0x68]
jmp 0x52dd49
test esi, esi
jle 0x52dd49
cmp esi, eax
jge 0x52dd49
lea edx, [esi - 1]
lea eax, [esp + 0x1b0]
push edx
push eax
mov ecx, edi
call fcn.005309b0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
lea eax, [esp + 0x1e0]
mov dword [esp + 0x20], ecx
push esi
push eax
mov ecx, edi
mov dword [esp + 0x2c], edx
call fcn.005309b0
fld qword [eax]
fst qword [esp + 0x80]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x90], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x94], edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x5c], eax
fstp qword [esp + 0x98]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x6c]
lea eax, [esp + 0xb0]
push 1
lea ecx, [esp + 0xd4]
push eax
mov eax, dword [esp + 0x70]
push ecx
mov ecx, dword [esp + 0xa8]
push edx
mov edx, dword [esp + 0xa8]
push eax
mov eax, dword [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x70]
push edx
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x98]
push edx
mov edx, dword [esp + 0x98]
push eax
mov eax, dword [esp + 0xa8]
push ecx
mov ecx, dword [esp + 0xa8]
push edx
mov edx, dword [esp + 0x78]
push eax
mov eax, dword [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x90]
push edx
mov edx, dword [esp + 0x90]
push eax
push ecx
push edx
call fcn.004648a0
add esp, 0x4c
cmp eax, 1
jne 0x52e090
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0xd4]
push 0
push 0
push eax
mov eax, dword [esp + 0xdc]
push ecx
push edx
push eax
lea ecx, [esp + 0x150]
call fcn.0064dd00
sub esp, 0x18
lea edx, [esp + 0x150]
mov ecx, esp
push edx
call fcn.0064dc70
mov ecx, dword [ebp + 0x10]
call fcn.00472bf0
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x52de4d
mov ebx, dword [ebp + 0x14]
push 0xffffffffffffffff
mov ecx, ebx
mov esi, dword [ebx + 8]
lea eax, [esi + 1]
push eax
call fcn.00473440
mov ecx, dword [ebx + 4]
mov dword [ecx + esi*8], 0
mov dword [ecx + esi*8 + 4], 0xc0000000
jmp 0x52debd
cmp eax, dword [esp + 0x30]
jne 0x52de7a
mov ebx, dword [ebp + 0x14]
push 0xffffffffffffffff
mov ecx, ebx
mov esi, dword [ebx + 8]
lea edx, [esi + 1]
push edx
call fcn.00473440
mov eax, dword [ebx + 4]
mov dword [eax + esi*8], 0
mov dword [eax + esi*8 + 4], 0xbff00000
jmp 0x52debd
mov esi, dword [ebx]
sub esp, 0x18
lea edx, [esp + 0x150]
mov ecx, esp
push edx
call fcn.0064dc70
mov ecx, ebx
call dword [esi + 0xa0]
mov esi, dword [ebp + 0x14]
push 0xffffffffffffffff
fstp qword [esp + 0xa4]
mov ebx, dword [esi + 8]
mov ecx, esi
lea eax, [ebx + 1]
push eax
call fcn.00473440
mov ecx, dword [esi + 4]
fld qword [esp + 0xa0]
fstp qword [ecx + ebx*8]
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x52deef
mov ebx, dword [ebp + 0x18]
push 0xffffffffffffffff
mov ecx, ebx
mov esi, dword [ebx + 8]
lea edx, [esi + 1]
push edx
call fcn.00473440
mov eax, dword [ebx + 4]
mov dword [eax + esi*8], 0
mov dword [eax + esi*8 + 4], 0xc0000000
jmp 0x52e089
cmp eax, dword [esp + 0x34]
jne 0x52df1f
mov ebx, dword [ebp + 0x18]
push 0xffffffffffffffff
mov esi, dword [ebx + 8]
lea ecx, [esi + 1]
push ecx
mov ecx, ebx
call fcn.00473440
mov edx, dword [ebx + 4]
mov dword [edx + esi*8], 0
mov dword [edx + esi*8 + 4], 0xbff00000
jmp 0x52e089
mov esi, dword [edi]
sub esp, 0x18
lea eax, [esp + 0x150]
mov ecx, esp
push eax
call fcn.0064dc70
mov ecx, edi
call dword [esi + 0xa0]
mov esi, dword [ebp + 0x18]
fstp qword [esp + 0xa0]
mov ecx, dword [esi + 8]
mov eax, dword [esi + 4]
mov ebx, ecx
mov dword [esp + 0xac], ebx
inc ebx
test ebx, ebx
jne 0x52df7e
test eax, eax
je 0x52df71
push eax
mov dword [esp + 0x50], ecx
call fcn.0065e732
add esp, 4
mov dword [esi + 4], 0
xor eax, eax
mov dword [esi + 0xc], eax
mov dword [esi + 8], eax
jmp 0x52e075
test eax, eax
jne 0x52dfa7
lea ecx, [ebx*8]
push ecx
call fcn.0065e5d0
add esp, 4
mov dword [esi + 4], eax
push ebx
push eax
call fcn.0049d190
mov dword [esi + 0xc], ebx
mov dword [esi + 8], ebx
jmp 0x52e075
mov edi, dword [esi + 0xc]
cmp ebx, edi
jg 0x52dfd8
cmp ecx, ebx
jge 0x52dfc8
mov edx, ebx
lea eax, [eax + ecx*8]
sub edx, ecx
push edx
push eax
call fcn.0049d190
mov dword [esi + 8], ebx
jmp 0x52e072
jle 0x52dfd0
sub ecx, ebx
mov dword [esp + 0x4c], ecx
mov dword [esi + 8], ebx
jmp 0x52e072
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x52e002
mov eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x52dff6
mov eax, 4
jmp 0x52e002
cmp eax, 0x400
jle 0x52e002
mov eax, 0x400
add eax, edi
cmp ebx, eax
mov dword [esp + 0x64], eax
jl 0x52e010
mov dword [esp + 0x64], ebx
mov ecx, dword [esp + 0x64]
lea edx, [ecx*8]
push edx
call fcn.0065e5d0
mov ecx, dword [esi + 8]
mov esi, dword [esi + 4]
shl ecx, 3
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, ebx
and ecx, 3
add esp, 4
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 0x18]
mov dword [esp + 0x4c], eax
mov ecx, dword [esi + 8]
sub edx, ecx
lea eax, [eax + ecx*8]
push edx
push eax
call fcn.0049d190
mov ecx, dword [esi + 4]
push ecx
call fcn.0065e732
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x68]
add esp, 4
mov dword [esi + 4], edx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], eax
mov edi, dword [ebp + 0xc]
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0xac]
fld qword [esp + 0xa0]
fstp qword [ecx + edx*8]
mov esi, dword [esp + 0x28]
mov ebx, dword [ebp + 8]
mov eax, dword [esp + 0x34]
inc esi
cmp esi, eax
mov dword [esp + 0x28], esi
jle 0x52db54
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
inc eax
cmp eax, ecx
mov dword [esp + 0x2c], eax
jle 0x52d996
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret