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

Disassembly:
mov al, byte [0x620cf4]
sub esp, 0x174
push ebx
xor ebx, ebx
push ebp
push esi
cmp al, bl
mov eax, dword [0x620cd4]
push edi
mov ebp, ecx
jne 0x53410a
mov ecx, dword [eax]
push ebx
push 7
push eax
call dword [ecx + 0xc8]
jmp 0x534117
mov edx, dword [eax]
push 1
push 7
push eax
call dword [edx + 0xc8]
mov al, byte [0x620cf4]
cmp al, bl
mov eax, dword [0x620cd4]
jne 0x534133
mov ecx, dword [eax]
push ebx
push 0xe
push eax
call dword [ecx + 0xc8]
jmp 0x534140
mov edx, dword [eax]
push 1
push 0xe
push eax
call dword [edx + 0xc8]
mov eax, dword [0x620cd4]
push 1
push 0x16
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov eax, dword [0x620cd4]
push 1
push 0x1b
push eax
mov edx, dword [eax]
call dword [edx + 0xc8]
mov eax, dword [0x620cd4]
push 5
push 0x13
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov eax, dword [0x620cd4]
push 6
push 0x14
push eax
mov edx, dword [eax]
call dword [edx + 0xc8]
mov eax, dword [0x620cd4]
push 4
push 4
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0xfc]
mov eax, dword [0x620cd4]
push 2
push 5
push ebx
mov edx, dword [eax]
push eax
call dword [edx + 0xfc]
mov eax, dword [0x620cd4]
push ebx
push 6
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0xfc]
mov al, byte [0x620ce8]
mov byte [0x620f08], bl
cmp al, bl
mov eax, dword [0x620cd4]
jne 0x5341e5
mov edx, dword [eax]
push ebx
push 0x89
push eax
call dword [edx + 0xc8]
jmp 0x5341f4
mov ecx, dword [eax]
push ebx
push 0x89
push eax
call dword [ecx + 0xc8]
mov dword [0x620cf8], 8
mov dword [0x620cfc], 0x142
mov dword [0x620d00], ebx
mov edx, dword [ebp + 0x4b5c]
push 0x18
push edx
push ebx
mov ecx, 0x620cd0
call fcn.0040d450
mov eax, dword [0x620cd4]
push 0x142
push eax
mov ecx, dword [eax]
call dword [ecx + 0x130]
mov ecx, 0x620cd0
call fcn.0040dae0
mov ecx, 0x620cd0
call fcn.0040cf90
push ebx
push 0x3f800000
push ebx
push 2
push ebx
push ebx
mov ecx, 0x620cd0
call fcn.0040d7e0
lea edx, [ebp + 0x49ec]
mov ecx, 0x620cd0
push edx
call fcn.0040cfd0
fld dword [ebp + 0x4df4]
fcomp dword [0x588314]
fnstsw ax
test ah, 1
jne 0x53429f
fld dword [ebp + 0x4df8]
fcomp dword [0x588314]
fnstsw ax
test ah, 1
je 0x53429f
mov dword [esp + 0x18], 0x3f800000
jmp 0x5342df
fld dword [ebp + 0x4df4]
call fcn.005755f0
cdq
xor eax, edx
sub eax, edx
cmp eax, 0xa
mov dword [esp + 0x10], eax
jg 0x5342ca
fild dword [esp + 0x10]
fmul dword [0x588328]
fsubr dword [0x588318]
jmp 0x5342db
add eax, 0xfffffff6
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fmul dword [0x588328]
fstp dword [esp + 0x18]
mov edx, dword [0x65ea34]
mov eax, dword [0x620cd4]
mov edx, dword [edx + 8]
mov ecx, dword [eax]
push edx
push ebx
push eax
call dword [ecx + 0xf4]
movsx ecx, byte [ebp + 0x4dfc]
lea ebx, [ecx + ecx*2]
lea eax, [ecx + ecx*2 + 3]
lea ebx, [ebx + ebx*4]
lea eax, [eax + eax*4]
shl ebx, 2
shl eax, 2
cmp ebx, eax
jge 0x534547
xor edx, edx
mov dl, byte [ebp + 0x4db1]
cmp ebx, edx
jge 0x534547
xor eax, eax
mov al, byte [ebx + ebp + 0x4d00]
mov edx, eax
and edx, 0x8000000f
jns 0x534342
dec edx
or edx, 0xfffffff0
inc edx
shl edx, 5
shr eax, 4
mov dword [esp + 0x10], edx
mov esi, 0xa
fild dword [esp + 0x10]
shl eax, 5
mov dword [esp + 0x10], eax
lea eax, [ecx + ecx*2]
mov ecx, ebx
mov dword [esp + 0x24], 0xbf800000
lea eax, [eax + eax*4]
mov dword [esp + 0x28], 0x3f800000
shl eax, 2
sub ecx, eax
mov dword [esp + 0x2c], 0
mov eax, ecx
cdq
fmul dword [0x58874c]
idiv esi
fild dword [esp + 0x10]
fmul dword [0x58874c]
fld st(1)
fadd dword [0x588cb0]
fst dword [esp + 0x20]
fld st(1)
fadd dword [0x588cb0]
fstp dword [esp + 0x10]
mov eax, 0x66666667
mov dword [esp + 0x14], edx
imul ecx
fild dword [esp + 0x14]
fmul dword [0x5887e4]
fsub dword [0x58a1b4]
fstp dword [esp + 0x1c]
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fmul dword [0x58a04c]
fsubr dword [0x588d18]
fstp dword [esp + 0x14]
fld dword [esp + 0x18]
fmul dword [0x58860c]
call fcn.005755f0
fld st(2)
mov edx, dword [esp + 0x10]
push 0xc2700000
fstp dword [esp + 0x38]
fld st(1)
shl eax, 0x18
fstp dword [esp + 0x3c]
or eax, 0xffffff
mov dword [esp + 0x6c], edx
fstp dword [esp + 0x50]
mov dword [esp + 0x34], eax
mov dword [esp + 0x4c], eax
fstp dword [esp + 0x54]
mov dword [esp + 0x64], eax
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x24]
mov ecx, edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x84], ecx
fstp dword [esp + 0x68]
push edx
lea ecx, [esp + 0x14c]
push eax
mov dword [esp + 0x48], 0x3f800000
mov dword [esp + 0x4c], 0x3f800000
mov dword [esp + 0x50], 0
mov dword [esp + 0x60], 0xbf800000
mov dword [esp + 0x64], 0xbf800000
mov dword [esp + 0x68], 0
mov dword [esp + 0x78], 0x3f800000
mov dword [esp + 0x7c], 0xbf800000
mov dword [esp + 0x80], 0
push ecx
mov ecx, 0x65cb50
call fcn.004937c0
push 0x3f800000
push 0x3fe00000
lea edx, [esp + 0x10c]
push 0x3fe00000
push edx
mov ecx, 0x65cb50
mov esi, eax
call fcn.00493790
push esi
push eax
lea eax, [esp + 0xcc]
push eax
call fcn.0055734a
mov eax, dword [0x620cd4]
mov ecx, 0x10
lea esi, [esp + 0xc4]
lea edi, [esp + 0x84]
lea edx, [esp + 0x84]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax]
push edx
push 0x100
push eax
call dword [ecx + 0x94]
lea eax, [esp + 0x24]
push 0x18
push eax
push 2
push 5
mov ecx, 0x620cd0
call fcn.0040d740
movsx ecx, byte [ebp + 0x4dfc]
inc ebx
lea eax, [ecx + ecx*2 + 3]
lea edx, [eax + eax*4]
shl edx, 2
cmp ebx, edx
jl 0x53431a
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x174
ret