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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 8], 0
call fcn.00540280
mov edi, dword [ebp + 8]
mov ebx, eax
push edi
mov dword [ebp - 0x14], ebx
lea esi, [ebx + 0x64]
call fcn.005328c0
push edi
call fcn.00532950
movzx eax, al
add esp, 8
cmp eax, 0xe
ja case.default.0x54734b
jmp dword [eax*4 + 0x547840]
push 0
push 0
push 0
push 0
push esi
push 0x16001f
push edi
call fcn.0053b640
add esp, 0x1c
test eax, eax
je case.default.0x54734b
push edi
call fcn.00532960
add esp, 4
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push eax
push ecx
call fcn.00551390
push edi
call fcn.00532960
add esp, 0xc
push 0
push 0
push 0
push 0
push esi
push 0x16001b
push edi
call fcn.0053b640
add esp, 0x1c
test eax, eax
je case.default.0x54734b
push edi
call fcn.00532960
add esp, 4
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x10], eax
add eax, 8
push 2
lea edx, [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
push edx
push eax
call fcn.005513c0
push edi
call fcn.00532960
add esp, 0x10
mov byte [ebp - 2], 0
mov byte [ebp - 1], 1
xor edi, edi
mov eax, dword [esi + 0xc]
lea ecx, [ebp - 1]
push ecx
lea edx, [ebp - 2]
push edx
mov edx, dword [esi + 0x14]
push 1
push 1
lea ecx, [eax + 8]
push ecx
push eax
mov eax, dword [edx]
push 2
add eax, edi
push 0
push eax
call fcn.00551400
add edi, 0x250
add esp, 0x24
cmp edi, 0x73a0
jl 0x5473e4
mov ecx, dword [ebp + 8]
push ecx
call fcn.00532960
mov edi, dword [ebp + 8]
add esp, 4
push 0
push 0
push 0
push 0
push esi
push 0x16001e
push edi
call fcn.0053b640
add esp, 0x1c
test eax, eax
je case.default.0x54734b
push edi
call fcn.00532960
add esp, 4
mov edx, dword [esi + 0xc]
mov ecx, dword [esi]
push 1
lea eax, [ebp - 0xc]
push eax
add edx, 0x10
push ecx
mov dword [ebp - 0xc], edx
call fcn.005513c0
push edi
call fcn.00532960
add esp, 0x10
mov byte [ebp - 2], 0
xor edi, edi
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x14]
push 0
lea edx, [ebp - 2]
push edx
mov edx, dword [ecx + 4]
push 0
push 1
push 0
add eax, 0x10
push eax
push 0
add edx, edi
push 0
push edx
call fcn.00551400
add edi, 0x250
add esp, 0x24
cmp edi, 0x73a0
jl 0x547477
mov eax, dword [ebp + 8]
push eax
call fcn.00532960
mov edi, dword [ebp + 8]
add esp, 4
mov ecx, dword [ebx + 0x60]
mov al, byte [ecx]
xor esi, esi
test al, al
jbe 0x5474f9
xor edi, edi
lea esp, [esp]
mov eax, dword [ebx + 0x78]
mov edx, dword [ebx + 0x60]
mov ecx, dword [eax]
push esi
push edx
add ecx, edi
push ecx
call fcn.00540f20
mov edx, dword [ebx + 0x60]
movzx eax, byte [edx]
add esp, 0xc
inc esi
add edi, 0x250
cmp esi, eax
jl 0x5474d0
mov edi, dword [ebp + 8]
mov ecx, dword [ebx + 0x60]
movzx edx, byte [ecx]
xor esi, esi
dec edx
test edx, edx
jle 0x54753b
xor edi, edi
jmp 0x547510
mov ecx, dword [ebx + 0x78]
mov eax, dword [ebx + 0x60]
mov edx, dword [ecx + 4]
push esi
push eax
add edx, edi
push edx
call fcn.00540fd0
mov eax, dword [ebx + 0x60]
movzx ecx, byte [eax]
add esp, 0xc
inc esi
add edi, 0x250
dec ecx
cmp esi, ecx
jl 0x547510
mov edi, dword [ebp + 8]
push edi
call fcn.00532960
add esp, 4
call fcn.00612e20
mov edx, dword [ebx + 0x60]
movsx eax, word [edx + 0x160]
mov ecx, dword [0x91d3f0]
mov dword [ebp - 0xc], eax
xor esi, esi
fild dword [ebp - 0xc]
push edi
fstp dword [ecx + 0x10]
mov edx, dword [ebx + 0x60]
movsx eax, word [edx + 0x162]
mov ecx, dword [0x91d3f0]
mov dword [ebp - 0xc], eax
fild dword [ebp - 0xc]
fstp dword [ecx + 0x18]
mov edx, dword [0x91d3f0]
mov dword [edx + 0x7c], esi
mov eax, dword [0x91d3f0]
mov word [eax + 0x72], si
mov ecx, dword [0x91d3f0]
mov dword [ecx + 0x24], esi
mov edx, dword [0x91d3f0]
mov dword [edx + 0x20], esi
mov eax, dword [0x91d3f0]
mov dword [eax + 0x1c], esi
mov ecx, dword [0x91d3f0]
mov dword [ecx + 0x3c], esi
mov edx, dword [0x91d3f0]
mov dword [edx + 0x38], esi
mov eax, dword [0x91d3f0]
mov dword [eax + 0x34], esi
mov ecx, dword [0x91d3f0]
mov dword [ecx + 0x30], esi
mov edx, dword [0x91d3f0]
mov dword [edx + 0x2c], esi
mov eax, dword [0x91d3f0]
mov dword [eax + 0x28], esi
mov ecx, dword [0x91cfa4]
mov eax, 0x7fff
mov dword [ecx + 0xd0], eax
mov edx, dword [0x91cfa4]
mov dword [edx + 0xd4], eax
call fcn.00532960
add esp, 4
jmp 0x547607
xor esi, esi
mov eax, dword [0x91cfa8]
mov byte [eax], 0x34
mov ecx, dword [0x91cfa8]
mov byte [ecx + 1], 0x34
xor edi, edi
jmp 0x547620
xor esi, esi
push 0x4b6
push esi
push edi
call fcn.00577440
add esp, 0xc
inc esi
cmp esi, 0x28
jl 0x547622
inc edi
cmp edi, 2
jl 0x547620
call fcn.005774e0
mov edx, 0xeb6624
mov bl, 0x64
lea esp, [esp]
mov esi, 0x28
mov eax, dword [edx + 0x38]
mov ecx, dword [edx]
and eax, 0xd93fffff
and ecx, 0xd93fffff
or eax, 0x19000000
or ecx, 0x19000000
mov dword [edx + 0x38], eax
mov dword [edx], ecx
mov byte [edx - 0x52], bl
xor eax, eax
lea edi, [edx - 0x90]
mov ecx, 0xb
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
lea ecx, [edx - 0x62]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
add edx, 0x110
dec esi
mov dword [ecx + 0xc], eax
jne 0x547655
cmp edx, 0xebbb24
jl 0x547650
call fcn.0057b7c0
xor esi, esi
push 0
push esi
call fcn.007bf3d0
add esp, 8
inc esi
cmp esi, 2
jl 0x5476b1
call fcn.00615db0
xor ecx, ecx
lea esp, [esp]
cmp ecx, 0xff
je 0x5476e4
mov eax, ecx
cdq
mov esi, 0x17
idiv esi
jmp 0x5476e9
mov edx, 1
imul edx, edx, 0x4c0
cmp ecx, 0xb
mov byte [edx + 0xd92231], 1
je 0x547721
cmp ecx, 0xff
je 0x54770f
mov eax, ecx
cdq
mov esi, 0x17
idiv esi
jmp 0x547714
mov edx, 1
imul edx, edx, 0x4c0
mov byte [edx + 0xd92231], 0
inc ecx
cmp ecx, 0x17
jl 0x5476d0
mov edx, dword [ebp + 8]
push edx
call fcn.00532960
mov ebx, dword [ebp - 0x14]
mov edi, dword [ebp + 8]
add esp, 4
push 0
push edi
call fcn.00532a10
add esp, 8
test eax, eax
je case.default.0x54734b
call fcn.006361c0
call fcn.0050e500
call fcn.0050b360
call fcn.0050ead0
mov eax, dword [ebx + 0x60]
movsx ecx, word [eax + 0x164]
mov dword [ebp - 0x14], ecx
mov dword [0xd95938], 0
fild dword [ebp - 0x14]
fstp dword [0xd95934]
mov edx, dword [ebx + 0x60]
movsx eax, word [edx + 0x166]
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
fstp dword [0xd9593c]
mov ecx, dword [ebx + 0x60]
mov edx, dword [ecx + 0x168]
push edx
call fcn.00533640
push 0
push 0x157
push 0xd95670
mov word [0xd9575a], ax
call fcn.0061e910
mov eax, dword [0x91cfa8]
fld dword [eax + 0x4c]
push edi
fmul dword [0x870788]
fstp dword [0xd957a8]
call fcn.00532960
add esp, 0x14
jmp case.default.0x54734b
push 1
call fcn.0050e9e0
push edi
call fcn.00532960
add esp, 8
push 0x1d
call fcn.005341e0
push eax
call fcn.005617c0
push edi
call fcn.00532960
add esp, 0xc
mov dword [ebp - 8], 1
push edi
call fcn.005328d0
mov eax, dword [ebp - 8]
add esp, 4
test eax, eax
je 0x547837
push 5
push edi
call fcn.00532910
push 1
push 3
push edi
call fcn.00532850
add esp, 0x14
mov dword [ebx + 0x1705c], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret