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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ecx + 0x7134]
mov edx, dword [0x8383e4]
push ebx
xor ebx, ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov dword [esi], eax
mov ecx, dword [ecx + 0x872c]
mov dword [esi + 4], ecx
push edi
mov dword [esi + 8], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], edx
lea eax, [esi + 0x34]
mov ecx, 8
jmp 0x528770
mov word [eax + 2], bx
mov word [eax], bx
add eax, 4
dec ecx
jne 0x528770
mov edi, dword [0x8383f4]
xor eax, eax
cmp edi, ebx
jle 0x5287bf
mov edx, dword [0x8383f0]
nop
cmp eax, ebx
jl 0x52879c
cmp eax, edi
jge 0x52879c
mov ecx, edx
jmp 0x52879e
xor ecx, ecx
cmp byte [ecx + 0x51], 0
je 0x5287b4
movsx ecx, byte [ecx + 0x9d]
inc word [esi + ecx*4 + 0x36]
lea ecx, [esi + ecx*4 + 0x36]
inc eax
add edx, 0xa0
cmp eax, edi
jl 0x528790
mov eax, dword [ebp - 4]
cmp dword [eax + 0x7afc], ebx
mov dword [ebp - 0xc], ebx
jle 0x528997
add eax, 0x7b00
mov dword [ebp + 8], eax
lea esp, [esp]
mov ecx, dword [0x8383e4]
cmp ecx, 0x20
mov edx, dword [ebp + 8]
mov edx, dword [edx]
jle 0x528802
cmp dword [0x8641f0], ebx
jne 0x528802
mov dword [0x8641f0], 1
xor eax, eax
cmp ecx, ebx
jle 0x52882c
mov ecx, dword [0x8383e0]
add ecx, 8
cmp dword [ecx], edx
je 0x528858
mov edi, dword [0x8383e4]
inc eax
add ecx, 0x88
cmp eax, edi
mov edi, dword [0x8383f4]
jl 0x528811
xor eax, eax
cmp edi, ebx
jle 0x528976
mov ecx, dword [0x8383f0]
add ecx, 0x38
nop
cmp dword [ecx], edx
je 0x528944
inc eax
add ecx, 0xa0
cmp eax, edi
jl 0x528840
jmp 0x528976
mov ecx, dword [0x8383e0]
imul eax, eax, 0x88
add eax, ecx
cmp eax, ebx
je 0x52882c
mov dl, byte [eax + 0x34]
cmp dl, 3
je 0x528880
cmp dl, 2
je 0x528880
cmp dl, 1
jne 0x528936
mov ecx, dword [ebp + 8]
mov cl, byte [ecx + 6]
test cl, cl
je 0x528936
cmp cl, 3
je 0x528936
cmp cl, 1
jne 0x528936
cmp dl, 2
je 0x5288ba
mov cl, byte [eax + 0xf]
test cl, cl
jne 0x5288ba
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 8]
inc edx
inc ecx
mov dword [esi + 0x10], edx
mov dword [esi + 8], ecx
cmp byte [eax + 0x34], 2
je 0x528928
cmp byte [eax + 0xf], 1
jne 0x5288d4
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 8]
inc edx
inc ecx
mov dword [esi + 0x14], edx
mov dword [esi + 8], ecx
cmp byte [eax + 0x34], 2
je 0x528928
cmp byte [eax + 0xf], 4
jne 0x5288ee
mov edx, dword [esi + 0x18]
mov ecx, dword [esi + 8]
inc edx
inc ecx
mov dword [esi + 0x18], edx
mov dword [esi + 8], ecx
cmp byte [eax + 0x34], 2
je 0x528928
cmp byte [eax + 0xf], 5
jne 0x528908
mov edx, dword [esi + 0x1c]
mov ecx, dword [esi + 8]
inc edx
inc ecx
mov dword [esi + 0x1c], edx
mov dword [esi + 8], ecx
cmp byte [eax + 0x34], 2
je 0x528928
cmp byte [eax + 0xf], 2
jne 0x528922
mov edx, dword [esi + 0x20]
mov ecx, dword [esi + 8]
inc edx
inc ecx
mov dword [esi + 0x20], edx
mov dword [esi + 8], ecx
cmp byte [eax + 0x34], 2
jne 0x528936
mov ecx, dword [esi + 0x24]
mov eax, dword [esi + 8]
inc ecx
inc eax
mov dword [esi + 0x24], ecx
mov dword [esi + 8], eax
mov edx, dword [ebp + 8]
cmp byte [edx + 6], 1
jne 0x528976
inc dword [ebp - 8]
jmp 0x528976
mov edx, dword [0x8383f0]
lea eax, [eax + eax*4]
shl eax, 5
add eax, edx
cmp eax, ebx
je 0x528976
mov cl, byte [eax + 0x51]
test cl, cl
je 0x528976
mov ecx, dword [ebp + 8]
cmp byte [ecx + 4], 1
jne 0x528976
movsx edx, byte [eax + 0x9d]
inc word [esi + edx*4 + 0x34]
lea eax, [esi + edx*4 + 0x34]
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
add ecx, 8
mov dword [ebp + 8], ecx
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x7afc]
inc eax
cmp eax, edx
mov dword [ebp - 0xc], eax
jl 0x5287e0
call fcn.00515100
mov dword [ebp + 8], eax
fild dword [ebp + 8]
call fcn.00501440
mov dword [ebp + 8], eax
fild dword [ebp + 8]
fcom dword [0x7d7d3c]
fnstsw ax
test ah, 0x44
jnp 0x5289be
fdivp st(1)
jmp 0x5289c8
fstp st(0)
fstp st(0)
fld dword [0x7d7d3c]
mov eax, dword [esi + 4]
fstp dword [esi + 0x54]
cmp eax, ebx
mov dword [esi + 0x64], ebx
mov dword [ebp + 8], eax
je 0x5289e2
fild dword [esi + 8]
fild dword [ebp + 8]
fdivp st(1)
jmp 0x5289e8
fld dword [0x7d7d3c]
fstp dword [esi + 0xc]
mov eax, dword [ebp - 4]
fild dword [ebp - 8]
fild dword [ebp - 0x10]
fdivp st(1)
fstp dword [esi + 0x68]
mov edx, dword [eax + 0x7af8]
mov dword [esi + 0x6c], edx
mov ecx, dword [eax + 0x7af8]
imul ecx, ecx, 0x104
lea edi, [ecx + eax + 0x72d8]
mov ecx, edi
call fcn.00500120
mov edx, dword [ebp - 4]
mov dword [esi + 0x70], eax
mov eax, dword [edx + 0x7af8]
shl eax, 4
mov ecx, dword [eax + 0x7f7ba8]
mov dword [esi + 0x74], ecx
mov ecx, dword [edi + 0x8c]
xor eax, eax
cmp ecx, ebx
je 0x528a45
mov eax, 1
cmp dword [edi + 0x90], ebx
je 0x528a4e
inc eax
cmp dword [edi + 0x94], ebx
je 0x528a57
inc eax
cmp dword [edi + 0x98], ebx
je 0x528a60
inc eax
mov edx, dword [ebp - 4]
mov dword [esi + 0x78], eax
mov eax, dword [edx + 0x7af8]
shl eax, 4
mov ecx, dword [eax + 0x7f7bac]
mov dword [esi + 0x7c], ecx
mov ecx, edi
call fcn.00500170
mov edx, dword [ebp - 4]
mov dword [esi + 0x80], eax
mov eax, dword [edx + 0x7af8]
shl eax, 4
mov ecx, dword [eax + 0x7f7bb0]
mov dword [esi + 0x84], ecx
xor eax, eax
mov ecx, 0x50
lea edi, [esi + 0x9c]
mov dword [esi + 0x90], ebx
mov dword [esi + 0x94], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
rep stosd dword es:[edi], eax
mov eax, dword [0x838408]
xor edi, edi
cmp eax, ebx
mov dword [ebp - 8], edi
jle 0x528bf9
mov ebx, dword [0x83840c]
mov dword [ebp - 0xc], ebx
test edi, edi
jl 0x528aed
cmp edi, eax
jl 0x528aef
xor ebx, ebx
movzx eax, byte [ebx + 0x25]
mov edx, dword [ebx + 0x20]
xor ecx, ecx
cmp dword [0x86283c], ecx
jle 0x528b12
cmp dword [ecx*8 + 0x862840], edx
je 0x528b5d
inc ecx
cmp ecx, dword [0x86283c]
jl 0x528b00
xor dl, dl
mov cl, byte [ebx + 0x24]
cmp cl, 2
mov byte [ebp + 0xb], dl
je 0x528b71
cmp cl, 4
je 0x528b71
cmp cl, 1
je 0x528b32
cmp cl, 3
jne 0x528bdf
lea eax, [eax + eax*4]
mov ebx, dword [esi + eax*8 + 0xc0]
lea eax, [esi + eax*8 + 0xc0]
inc ebx
mov dword [eax], ebx
mov ecx, dword [esi + 0x2c]
inc ecx
test dl, dl
mov dword [esi + 0x2c], ecx
je 0x528bdf
inc dword [esi + 0x28]
jmp 0x528bdf
lea ecx, [ecx*8 + 0x862840]
test ecx, ecx
je 0x528b12
cmp byte [ecx + 6], 1
sete dl
jmp 0x528b14
fld dword [ebx + 0x3c]
lea ecx, [eax + eax*4]
mov edx, dword [esi + ecx*8 + 0xbc]
lea edi, [esi + ecx*8 + 0xbc]
lea ecx, [edx + eax*4]
mov ebx, eax
add ebx, ecx
lea ecx, [eax + 4]
lea edx, [edx + ecx*4]
add ecx, edx
mov dl, byte [ebp + 0xb]
mov byte [esi + ecx*8], dl
fstp dword [esi + ebx*8 + 0x9c]
inc dword [edi]
mov ebx, dword [esi + 0x8c]
mov ecx, dword [ebp - 4]
inc ebx
mov dword [esi + 0x8c], ebx
cmp eax, dword [ecx + 0x7af8]
jne 0x528bc1
inc dword [esi + 0x94]
test dl, dl
je 0x528bdc
inc dword [esi + 0x88]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x7af8]
jne 0x528bdc
inc dword [esi + 0x90]
mov edi, dword [ebp - 8]
mov ebx, dword [ebp - 0xc]
mov eax, dword [0x838408]
inc edi
add ebx, 0x40
cmp edi, eax
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], ebx
jl 0x528ae5
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [esi + 0x30], edx
fld dword [eax + 0x73b8]
fstp dword [esi + 0x1dc]
mov ecx, dword [eax + 0x73bc]
cmp ecx, edx
mov dword [ebp + 8], ecx
jle 0x528c25
fld dword [eax + 0x73b8]
fidiv dword [ebp + 8]
jmp 0x528c2b
fld dword [0x7d7d3c]
fstp dword [esi + 0x1fc]
mov ecx, dword [eax + 0x73c0]
cmp ecx, edx
je 0x528c3e
inc dword [esi + 0x30]
fld dword [eax + 0x74bc]
fstp dword [esi + 0x1e0]
mov ecx, dword [eax + 0x74c0]
cmp ecx, edx
mov dword [ebp + 8], ecx
jle 0x528c62
fld dword [eax + 0x74bc]
fidiv dword [ebp + 8]
jmp 0x528c68
fld dword [0x7d7d3c]
fstp dword [esi + 0x200]
mov ecx, dword [eax + 0x74c4]
cmp ecx, edx
je 0x528c7b
inc dword [esi + 0x30]
fld dword [eax + 0x75c0]
fstp dword [esi + 0x1e4]
mov ecx, dword [eax + 0x75c4]
cmp ecx, edx
mov dword [ebp + 8], ecx
jle 0x528c9f
fld dword [eax + 0x75c0]
fidiv dword [ebp + 8]
jmp 0x528ca5
fld dword [0x7d7d3c]
fstp dword [esi + 0x204]
mov ecx, dword [eax + 0x75c8]
cmp ecx, edx
je 0x528cb8
inc dword [esi + 0x30]
fld dword [eax + 0x76c4]
fstp dword [esi + 0x1e8]
mov ecx, dword [eax + 0x76c8]
cmp ecx, edx
mov dword [ebp + 8], ecx
jle 0x528cdc
fld dword [eax + 0x76c4]
fidiv dword [ebp + 8]
jmp 0x528ce2
fld dword [0x7d7d3c]
fstp dword [esi + 0x208]
mov ecx, dword [eax + 0x76cc]
cmp ecx, edx
je 0x528cf5
inc dword [esi + 0x30]
fld dword [eax + 0x77c8]
fstp dword [esi + 0x1ec]
mov ecx, dword [eax + 0x77cc]
cmp ecx, edx
mov dword [ebp + 8], ecx
jle 0x528d19
fld dword [eax + 0x77c8]
fidiv dword [ebp + 8]
jmp 0x528d1f
fld dword [0x7d7d3c]
fstp dword [esi + 0x20c]
mov ecx, dword [eax + 0x77d0]
cmp ecx, edx
je 0x528d32
inc dword [esi + 0x30]
fld dword [eax + 0x78cc]
fstp dword [esi + 0x1f0]
mov ecx, dword [eax + 0x78d0]
cmp ecx, edx
mov dword [ebp + 8], ecx
jle 0x528d56
fld dword [eax + 0x78cc]
fidiv dword [ebp + 8]
jmp 0x528d5c
fld dword [0x7d7d3c]
fstp dword [esi + 0x210]
mov ecx, dword [eax + 0x78d4]
cmp ecx, edx
je 0x528d6f
inc dword [esi + 0x30]
fld dword [eax + 0x79d0]
fstp dword [esi + 0x1f4]
mov ecx, dword [eax + 0x79d4]
cmp ecx, edx
mov dword [ebp + 8], ecx
jle 0x528d93
fld dword [eax + 0x79d0]
fidiv dword [ebp + 8]
jmp 0x528d99
fld dword [0x7d7d3c]
fstp dword [esi + 0x214]
mov ecx, dword [eax + 0x79d8]
cmp ecx, edx
je 0x528dac
inc dword [esi + 0x30]
fld dword [eax + 0x7ad4]
fstp dword [esi + 0x1f8]
mov ecx, dword [eax + 0x7ad8]
cmp ecx, edx
mov dword [ebp + 8], ecx
jle 0x528dd0
fld dword [eax + 0x7ad4]
fidiv dword [ebp + 8]
jmp 0x528dd6
fld dword [0x7d7d3c]
fstp dword [esi + 0x218]
mov ecx, dword [eax + 0x7adc]
cmp ecx, edx
je 0x528de9
inc dword [esi + 0x30]
mov ecx, dword [eax + 0x74c0]
fld dword [eax + 0x74bc]
mov edi, dword [eax + 0x73bc]
fadd dword [eax + 0x73b8]
add ecx, edi
mov dword [ebp + 8], ecx
fild dword [ebp + 8]
fcom dword [0x7d7d3c]
fnstsw ax
test ah, 0x44
jnp 0x528e1c
fld st(1)
fdivrp st(1)
jmp 0x528e24
fstp st(0)
fld dword [0x7d7d3c]
mov eax, dword [esi + 0x7c]
fxch st(1)
mov ebx, dword [esi + 0x94]
fstp dword [esi + 0x1e0]
mov edi, dword [esi + 0x84]
mov ecx, dword [esi + 0x74]
fstp dword [esi + 0x200]
add eax, ebx
add eax, edi
add eax, ecx
mov dword [ebp + 8], eax
fild dword [ebp + 8]
fcom dword [0x7d7d3c]
fnstsw ax
test ah, 0x44
jnp 0x528e8e
mov edi, dword [esi + 0x90]
mov ecx, dword [esi + 0x80]
mov edx, dword [esi + 0x70]
mov eax, dword [esi + 0x78]
add ecx, edi
add ecx, edx
add ecx, eax
mov dword [ebp + 8], ecx
fild dword [ebp + 8]
pop edi
fdiv st(1)
fstp dword [esi + 0x98]
pop esi
pop ebx
fstp st(0)
mov esp, ebp
pop ebp
ret 4
pop edi
fstp st(0)
mov dword [esi + 0x98], edx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4