Function at 0x530810
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
mov al, byte [0x683326]
sub esp, 0x244
test al, al
je 0x53112f
xor eax, eax
cmp eax, 0x6979c0
je 0x531114
mov eax, dword [0x6979c0]
test eax, eax
je 0x531114
push ebx
push ebp
push esi
or eax, 0xffffffff
push edi
push 3
mov dword [0x6db40c], eax
mov dword [0x6db424], eax
mov dword [0x6db43c], eax
mov dword [0x6db454], eax
mov eax, dword [0x70eda0]
push 0x16
mov dword [0x6db410], 0
mov dword [0x6db414], 0
mov dword [0x6db400], 0xbf810000
mov dword [0x6db404], 0x3f810000
mov dword [0x6db428], 0x3f800000
mov dword [0x6db42c], 0
mov dword [0x6db418], 0x3f7e0000
mov dword [0x6db41c], 0x3f810000
mov dword [0x6db440], 0x3f800000
mov dword [0x6db444], 0x3f800000
mov dword [0x6db430], 0x3f7e0000
mov dword [0x6db434], 0xbf7e0000
mov dword [0x6db458], 0
mov dword [0x6db45c], 0x3f800000
mov dword [0x6db448], 0xbf810000
mov dword [0x6db44c], 0xbf7e0000
mov dword [0x6db450], 0
mov dword [0x6db438], 0
mov dword [0x6db420], 0
mov dword [0x6db408], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0xe4]
mov eax, dword [0x70eda0]
mov edx, dword [eax]
push 7
push 0xa8
push eax
call dword [edx + 0xe4]
mov eax, dword [0x70eda0]
mov ecx, dword [eax]
push 0
push 0x1b
push eax
call dword [ecx + 0xe4]
mov eax, dword [0x70eda0]
mov edx, dword [eax]
push 0
push 0xf
push eax
call dword [edx + 0xe4]
mov eax, dword [0x70eda0]
mov ecx, dword [eax]
push 0
push 7
push eax
call dword [ecx + 0xe4]
mov eax, dword [0x70eda0]
mov edx, dword [eax]
push 0
push 0x1c
push eax
call dword [edx + 0xe4]
mov eax, dword [0x70eda0]
mov ecx, dword [eax]
push 1
push 1
push 0
push eax
call dword [ecx + 0x114]
mov eax, dword [0x70eda0]
mov edx, dword [eax]
push 1
push 2
push 0
push eax
call dword [edx + 0x114]
mov eax, dword [0x70eda0]
mov ecx, dword [eax]
push 2
push 5
push 0
push eax
call dword [ecx + 0x114]
mov eax, dword [0x70eda0]
mov edx, dword [eax]
push 2
push 6
push 0
push eax
call dword [edx + 0x114]
mov eax, dword [0x70eda0]
mov ecx, dword [eax]
push 2
push 7
push 0
push eax
call dword [ecx + 0x114]
mov ecx, dword [0x6db190]
mov eax, dword [0x70eda0]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x15c]
mov cl, byte [0x695f30]
mov edi, dword [0x6db198]
mov eax, dword [0x70eda0]
mov edx, dword [eax]
neg cl
sbb ecx, ecx
and ecx, 0x10
or ecx, edi
and ecx, 0x10
push ecx
push eax
call dword [edx + 0x134]
mov ecx, dword [0x697c00]
mov eax, dword [0x70eda0]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x170]
mov esi, dword [esp + 0x258]
mov ax, word [esi + 0xd8]
mov ebx, 4
cmp ax, bx
mov dword [esp + 0x14], ebx
jg 0x530a64
mov dword [esp + 0x14], eax
mov eax, dword [0x70eda0]
push 1
push 1
push 1
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov edx, dword [eax]
push eax
call dword [edx + 0x114]
mov eax, dword [0x70eda0]
mov ecx, dword [eax]
push 1
push 2
push 1
push eax
call dword [ecx + 0x114]
mov eax, dword [0x70eda0]
mov edx, dword [eax]
push 2
push 5
push 1
push eax
call dword [edx + 0x114]
mov eax, dword [0x70eda0]
mov ecx, dword [eax]
push 2
push 6
push 1
push eax
call dword [ecx + 0x114]
mov eax, dword [0x70eda0]
mov edx, dword [eax]
push 2
push 7
push 1
push eax
call dword [edx + 0x114]
mov eax, dword [0x70eda0]
mov ecx, dword [eax]
push 1
push 1
push 2
push eax
call dword [ecx + 0x114]
mov eax, dword [0x70eda0]
mov edx, dword [eax]
push 1
push 2
push 2
push eax
call dword [edx + 0x114]
mov eax, dword [0x70eda0]
mov ecx, dword [eax]
push 2
push 5
push 2
push eax
call dword [ecx + 0x114]
mov eax, dword [0x70eda0]
mov edx, dword [eax]
push 2
push 6
push 2
push eax
call dword [edx + 0x114]
mov eax, dword [0x70eda0]
mov ecx, dword [eax]
push 2
push 7
push 2
push eax
call dword [ecx + 0x114]
mov eax, dword [0x70eda0]
mov edx, dword [eax]
push 1
push 1
push 3
push eax
call dword [edx + 0x114]
mov eax, dword [0x70eda0]
mov ecx, dword [eax]
push 1
push 2
push 3
push eax
call dword [ecx + 0x114]
mov eax, dword [0x70eda0]
mov edx, dword [eax]
push 2
push 5
push 3
push eax
call dword [edx + 0x114]
mov eax, dword [0x70eda0]
mov ecx, dword [eax]
push 2
push 6
push 3
push eax
call dword [ecx + 0x114]
mov eax, dword [0x70eda0]
mov edx, dword [eax]
push 2
push 7
push 3
push eax
call dword [edx + 0x114]
mov eax, dword [esi + 0x124]
xor ebp, ebp
mov dword [esp + 0x18], eax
xor edx, edx
mov edi, edi
cmp ebp, dword [esp + 0x18]
mov ecx, 0x13
lea edi, [esp + edx + 0xa4]
jge 0x530c45
mov esi, dword [esi + 0x128]
add esi, edx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x258]
jmp 0x530c53
xor eax, eax
rep stosd dword es:[edi], eax
mov word [esp + edx + 0xdc], 1
inc ebp
add edx, 0x4c
dec ebx
jne 0x530c20
fld dword [0x66c40c]
fld dword [esp + 0xa8]
fucompp
fnstsw ax
test ah, 0x44
jp 0x530c91
fld dword [0x66c40c]
fld dword [esp + 0xf4]
fucompp
fnstsw ax
test ah, 0x44
jp 0x530c91
mov dword [esp + 0xf4], 0x3f800000
fld dword [0x66c40c]
fld dword [esp + 0x140]
fucompp
fnstsw ax
test ah, 0x44
jp 0x530cc8
fld dword [0x66c40c]
fld dword [esp + 0x18c]
fucompp
fnstsw ax
test ah, 0x44
jp 0x530cc8
mov dword [esp + 0x18c], 0x3f800000
fld qword [0x7b2a80]
lea ecx, [esp + 0xdc]
lea eax, [esp + 0x1d8]
mov edx, 4
movsx edi, word [ecx]
mov dword [esp + 0x18], edi
xor edi, edi
mov dword [eax], edi
fild dword [esp + 0x18]
mov dword [eax + 4], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x14], edi
fst dword [eax - 4]
add ecx, 0x4c
fld dword [ecx - 0x5c]
add eax, 0x20
dec edx
fcos
fmul dword [ecx - 0x58]
fmul st(2)
fadd dword [ecx - 0x54]
fstp dword [eax - 0x18]
fstp dword [eax - 0x10]
fld dword [ecx - 0x5c]
fsin
fmul dword [ecx - 0x58]
fmul st(1)
fadd dword [ecx - 0x50]
fstp dword [eax - 8]
jne 0x530ce1
mov eax, dword [0x70eda0]
fstp st(0)
mov ecx, dword [eax]
push 8
lea edx, [esp + 0x1d8]
push edx
push 0xd
push eax
call dword [ecx + 0x178]
fld dword [esp + 0xf4]
fadd dword [esp + 0xa8]
xor eax, eax
fld dword [esp + 0xa8]
fdiv st(1)
fstp dword [esp + 0x38]
fld dword [esp + 0x18c]
fadd dword [esp + 0x140]
fld dword [esp + 0x140]
fdiv st(1)
fstp dword [esp + 0x48]
fld dword [esp + 0xf4]
fadd dword [esp + 0xa8]
fadd st(1)
fdivr st(2)
fstp dword [esp + 0x58]
fstp st(0)
fstp st(0)
call fcn.00514d10
mov eax, dword [esp + 0x14]
test ax, ax
jle 0x5310fa
movzx eax, ax
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], eax
jmp 0x530dc0
mov esi, dword [esp + 0x258]
lea esp, [esp]
mov ax, word [esi + 0xd8]
cmp ax, 1
jle 0x530e92
fild dword [esp + 0x14]
movsx ecx, ax
dec ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x28], 0x437f0000
fidiv dword [esp + 0x10]
fst dword [esp + 0x10]
fmul dword [esi + 0xdc]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fld dword [esp + 0x28]
fmulp st(1)
fistp dword [esp + 0x24]
shl dword [esp + 0x24], 0x18
mov eax, dword [esp + 0x24]
or eax, 0x8080ff
mov edx, eax
shr edx, 0x10
and edx, 0xff
test edx, edx
mov dword [esp + 0x1c], edx
fild dword [esp + 0x1c]
jge 0x530e30
fadd dword [0x66c508]
fmul dword [0x66c420]
mov ecx, eax
shr ecx, 8
and ecx, 0xff
test ecx, ecx
fstp dword [esp + 0x5c]
mov dword [esp + 0x1c], ecx
fild dword [esp + 0x1c]
jge 0x530e57
fadd dword [0x66c508]
fmul dword [0x66c420]
and eax, 0xff
test eax, eax
mov dword [esp + 0x1c], eax
fstp dword [esp + 0x60]
fild dword [esp + 0x1c]
jge 0x530e78
fadd dword [0x66c508]
fmul dword [0x66c420]
fstp dword [esp + 0x64]
fld dword [esp + 0x10]
fmul dword [esi + 0xdc]
fstp dword [esp + 0x68]
jmp 0x530eb2
mov dword [esp + 0x5c], 0x3f008081
mov dword [esp + 0x60], 0x3f008081
mov dword [esp + 0x64], 0x3f800000
mov dword [esp + 0x68], 0
mov esi, dword [0x696cb4]
mov eax, dword [0x70eda0]
mov edx, dword [eax]
push esi
xor ebx, ebx
push ebx
push eax
call dword [edx + 0x94]
mov eax, dword [esi]
lea ecx, [esp + 0x84]
push ecx
push esi
mov word [0x696c00], 8
call dword [eax + 0x30]
mov edx, dword [esp + 0x9c]
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], eax
mov eax, dword [0x70eda0]
lea edx, [esp + 0x6c]
push edx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], 0x3f800000
mov ecx, dword [eax]
push eax
call dword [ecx + 0xbc]
xor edi, edi
lea ebp, [esp + 0xde]
mov dword [esp + 0x10], 4
jmp 0x530f40
mov eax, dword [esp + 0x258]
cmp edi, dword [eax + 0x124]
jge 0x530f57
mov eax, dword [eax + 0xd4]
jmp 0x530f5a
or eax, 0xffffffff
mov cl, byte [0x683331]
test cl, cl
je 0x530fed
cmp eax, 0xffffffff
je 0x530fed
mov ecx, dword [0x86cff4]
and eax, 0xffff
shl eax, 5
mov ecx, dword [eax + ecx + 0x14]
mov esi, dword [ecx + 0x60]
cmp esi, ebx
jle 0x530fed
movsx eax, word [ebp]
cdq
idiv esi
xor esi, esi
cmp ecx, ebx
je 0x530faf
cmp dx, bx
jl 0x530faf
movsx eax, dx
cmp eax, dword [ecx + 0x60]
jge 0x530faf
lea esi, [eax + eax*2]
mov eax, dword [ecx + 0x64]
shl esi, 4
add esi, eax
cmp word [esi + 0xa], bx
jne 0x530fed
push 1
push 1
mov eax, esi
call fcn.00444690
mov ecx, dword [esi + 0x28]
mov eax, dword [0x70eda0]
mov edx, dword [eax]
add esp, 8
push ecx
push edi
push eax
call dword [edx + 0x104]
mov dx, word [esi + 4]
mov word [0x6d2f0c], dx
mov ax, word [esi + 6]
mov word [0x6d2f0e], ax
jmp 0x53105b
mov ecx, dword [0x70ed94]
mov eax, dword [ecx + 0xb8]
cmp eax, 0xffffffff
je 0x53105b
mov edx, dword [0x86cff4]
and eax, 0xffff
shl eax, 5
mov eax, dword [eax + edx + 0x14]
cmp eax, ebx
je 0x53105b
cmp dword [eax + 0x60], 3
jle 0x53105b
mov esi, dword [eax + 0x64]
add esi, 0x90
je 0x53105b
push 1
push 1
mov eax, esi
call fcn.00444690
mov edx, dword [esi + 0x28]
mov eax, dword [0x70eda0]
mov ecx, dword [eax]
add esp, 8
push edx
push edi
push eax
call dword [ecx + 0x104]
mov ax, word [esi + 4]
mov word [0x6d2f0c], ax
mov cx, word [esi + 6]
mov word [0x6d2f0e], cx
mov eax, dword [esp + 0x10]
inc edi
add ebp, 0x4c
dec eax
mov dword [esp + 0x10], eax
jne 0x530f40
mov eax, dword [0x70eda0]
mov edx, dword [eax]
push 4
lea ecx, [esp + 0x30]
push ecx
push ebx
push eax
call dword [edx + 0x1b4]
mov eax, dword [0x6979c0]
mov edx, dword [eax]
push 3
lea ecx, [esp + 0x24]
push ecx
push eax
call dword [edx + 0x100]
mov eax, dword [esp + 0x20]
xor esi, esi
cmp eax, ebx
jbe 0x5310d4
mov eax, dword [0x6979c0]
mov edx, dword [eax]
push esi
push eax
call dword [edx + 0x104]
mov eax, dword [0x70eda0]
mov ecx, dword [eax]
push 0x18
push 0x6db400
push 2
push 6
push eax
call dword [ecx + 0x14c]
mov eax, dword [esp + 0x20]
inc esi
cmp esi, eax
jb 0x5310a3
mov eax, dword [0x6979c0]
mov edx, dword [eax]
push eax
call dword [edx + 0x108]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
inc ecx
dec eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
jne 0x530db5
movzx edx, byte [0x695f30]
mov eax, dword [0x70eda0]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x134]
pop edi
pop esi
pop ebp
pop ebx
mov eax, dword [0x7b2aa0]
push 0
push 0
call fcn.00528570
add esp, 8
mov eax, 2
call fcn.00514d10
add esp, 0x244
ret