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

Disassembly:
push 0xffffffffffffffff
push 0x660221
mov eax, dword fs:[0]
push eax
sub esp, 0x168
mov eax, dword [0x704e7c]
xor eax, esp
mov dword [esp + 0x164], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x704e7c]
xor eax, esp
push eax
lea eax, [esp + 0x17c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x18c]
mov ebp, ecx
mov ecx, dword [ebp + 0x3f8]
lea eax, [esp + 0x14]
push eax
mov dword [ebp + 0x3fc], esi
push ecx
mov ecx, dword [0x70d0e8]
mov dword [esp + 0x20], ebp
call fcn.00521500
test eax, eax
je 0x5095d6
mov ecx, dword [esp + 0x14]
push esi
call fcn.00522160
mov ebx, eax
xor esi, esi
cmp ebx, esi
je 0x5094f7
mov edi, dword [0x70d0e4]
cmp dword [ebx + 0x14], esi
jne 0x509289
mov ecx, dword [esp + 0x14]
call fcn.00521b40
jmp 0x50929f
cmp dword [ebx + 0x18], 0x10
jb 0x509294
mov eax, dword [ebx + 4]
jmp 0x509297
lea eax, [ebx + 4]
push eax
mov ecx, edi
call fcn.0055bd80
push eax
push esi
mov ecx, ebp
call fcn.005b1363
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], esi
mov byte [esp + 0x60], 0
mov dword [esp + 0x184], esi
mov esi, 1
push esi
lea edx, [esp + 0x7c]
push str._lod__.2d.gr2
push edx
call fcn.0061096b
lea eax, [esp + 0x4c]
push ebx
push eax
call fcn.00508f00
lea ecx, [esp + 0x8c]
push ecx
push eax
lea edx, [esp + 0x40]
push edx
mov byte [esp + 0x1a4], 1
call fcn.00416e00
add esp, 0x20
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x68]
mov byte [esp + 0x190], 2
call fcn.00417450
cmp dword [esp + 0x3c], 0x10
jb 0x509328
mov eax, dword [esp + 0x28]
push eax
call fcn.00610458
add esp, 4
cmp dword [esp + 0x58], 0x10
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
mov byte [esp + 0x184], 0
jb 0x509359
mov ecx, dword [esp + 0x44]
push ecx
call fcn.00610458
add esp, 4
cmp dword [esp + 0x74], 0x10
mov eax, dword [esp + 0x60]
jae 0x509368
lea eax, [esp + 0x60]
push eax
mov ecx, edi
call fcn.0055b1e0
test al, al
je 0x5093a3
cmp dword [esp + 0x74], 0x10
mov eax, dword [esp + 0x60]
jae 0x509383
lea eax, [esp + 0x60]
push eax
mov ecx, edi
call fcn.0055bd80
test eax, eax
je 0x5093a3
push eax
push 0
mov ecx, ebp
call fcn.005b121c
inc esi
cmp esi, 3
jbe 0x5092c5
cmp dword [esp + 0x74], 0x10
mov dword [esp + 0x184], 0xffffffff
jb 0x5093c2
mov edx, dword [esp + 0x60]
push edx
call fcn.00610458
add esp, 4
push 0xffffffffffffffff
push 0
push 0
push 0
mov ecx, ebp
call fcn.005ae944
mov esi, dword [ebx + 0x28]
cmp esi, dword [ebx + 0x2c]
jbe 0x5093de
call fcn.006111cc
mov ecx, dword [ebx + 0x1c]
mov dword [esp + 0x1c], ecx
mov ebp, esi
lea edi, [esi + 0x24]
lea ebx, [ebx]
mov esi, dword [ebx + 0x2c]
cmp dword [ebx + 0x28], esi
jbe 0x509401
call fcn.006111cc
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebx + 0x1c]
test ecx, ecx
je 0x50940c
cmp ecx, eax
je 0x509415
call fcn.006111cc
mov ecx, dword [esp + 0x1c]
cmp ebp, esi
je 0x509545
test ecx, ecx
jne 0x50943c
call fcn.006111cc
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x509432
call fcn.006111cc
cmp dword [edi + 0x14], 0x10
jb 0x509440
mov eax, dword [edi]
jmp 0x509442
mov eax, dword [ecx]
jmp 0x509428
mov eax, edi
mov ecx, dword [0x70d0e4]
push eax
call fcn.0055bd80
mov esi, eax
test esi, esi
je 0x5094cb
fldz
fld dword [esp + 0x190]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x5094ac
cmp dword [edi - 8], 0x10
fstp dword [esp + 0x60]
mov edx, 1
mov byte [esp + 0x68], 0
jb 0x509481
mov ecx, dword [edi - 0x1c]
jmp 0x509484
lea ecx, [edi - 0x1c]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [esp + 0x70]
mov dword [eax + 4], esi
mov dword [eax + 8], edx
mov edx, dword [esp + 0x78]
mov dword [eax + 0xc], edx
mov eax, dword [ebp]
push ecx
mov ecx, dword [esp + 0x2c]
push eax
call fcn.005aea3e
jmp 0x5094cb
cmp dword [edi - 8], 0x10
fstp st(0)
jb 0x5094b9
mov eax, dword [edi - 0x1c]
jmp 0x5094bc
lea eax, [edi - 0x1c]
mov ecx, dword [ebp]
push esi
push eax
push ecx
mov ecx, dword [esp + 0x24]
call fcn.005af135
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x5094f3
call fcn.006111cc
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x5094e4
call fcn.006111cc
mov ecx, dword [esp + 0x1c]
add ebp, 0x3c
add edi, 0x3c
jmp 0x5093f0
mov eax, dword [eax]
jmp 0x5094da
mov ecx, dword [esp + 0x14]
call fcn.00521820
mov ecx, dword [esp + 0x14]
test eax, eax
je 0x509517
call fcn.00521be0
push eax
mov ecx, ebp
call fcn.00502480
jmp 0x509549
call fcn.00521b40
push eax
push esi
mov ecx, ebp
call fcn.005b1363
mov ecx, dword [esp + 0x14]
call fcn.00522dc0
push eax
push esi
mov ecx, ebp
call fcn.005b121c
push 0xffffffffffffffff
push esi
push esi
push esi
mov ecx, ebp
call fcn.005ae944
jmp 0x509549
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
xor esi, esi
call fcn.005217a0
test eax, eax
jbe 0x5095d6
jmp 0x509560
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push edx
push esi
call fcn.005217c0
test eax, eax
je 0x5095c8
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
sub eax, 2
jne 0x5095c8
mov eax, dword [ecx + 0x2c]
add eax, 4
cmp dword [ecx + 4], 0
je 0x5095ae
mov edx, 0x10
cmp dword [eax + 0x18], edx
jb 0x509599
mov eax, dword [eax + 4]
jmp 0x50959c
add eax, 4
cmp dword [ecx + 0x24], edx
jb 0x5095a8
mov ecx, dword [ecx + 0x10]
push eax
push ecx
jmp 0x5095bf
add ecx, edx
push eax
push ecx
jmp 0x5095bf
cmp dword [eax + 0x18], 0x10
jb 0x5095b9
mov eax, dword [eax + 4]
jmp 0x5095bc
add eax, 4
push eax
push 0
push 0
mov ecx, ebp
call fcn.005054f0
mov ecx, dword [esp + 0x14]
inc esi
call fcn.005217a0
cmp esi, eax
jb 0x509560
mov ecx, dword [esp + 0x17c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x164]
xor ecx, esp
call fcn.006108ae
add esp, 0x174
ret 8