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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x54796e
sub esp, 0x7c
nop
mov eax, dword [esp + 0x84]
test eax, eax
jne 0x5477fc
mov eax, dword [esp + 0x8c]
xor ecx, ecx
xor edx, edx
xor ebx, ebx
xor ebp, ebp
xor esi, esi
test ebx, ebx
jne 0x5477ea
mov dword [esp + 0x50], ecx
mov dword [esp + 0x2c], esi
mov edx, dword [esp + 0x80]
mov ebx, dword [edx]
lea edi, [eax + ebp]
mov dword [esp + 0x24], edi
nop
nop
mov esi, dword [ebx + 8]
mov ebx, dword [ebx + 4]
nop
lea ecx, [esi - 1]
test ecx, ecx
jl 0x5477e3
mov ebx, dword [ebx + esi*4 - 4]
nop
nop
cmp ebx, 0x10000
jb 0x5477dc
shr ebx, 0x10
mov esi, 0x10
cmp ebx, 0x100
jb 0x547426
shr ebx, 8
add esi, 8
cmp ebx, 0x100
jae 0x547946
shl ecx, 5
lea edi, [0xb4f740]
movzx ebx, byte [ebx + edi]
add ebx, esi
add ecx, ebx
lea ebx, [eax + ebp + 0xb]
lea esi, [ecx + 7]
sar esi, 0x1f
shr esi, 0x1d
lea ecx, [esi + ecx + 7]
sar ecx, 3
cmp ecx, ebx
jl 0x5477be
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x28], ebp
mov byte [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
nop
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov eax, dword [esp + 0x94]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x14], eax
call fcn.0051ec20
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
mov byte [esp + 0x6c], 0
mov byte [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
lea eax, [esp + 0x5c]
mov dword [esp], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 4], eax
lea eax, [esp + 0x6c]
mov dword [esp + 8], eax
call fcn.005497e0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x4c], eax
nop
mov ecx, dword [eax + 8]
lea edx, [0x7ac140]
mov dword [esp], edx
shl ecx, 2
mov dword [esp + 0x44], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.0043a890
mov eax, dword [esp + 0xc]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx + 0xc]
mov ebx, dword [ecx + 8]
mov ecx, dword [ecx + 4]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
call fcn.0051eb70
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x44]
cmp eax, ecx
ja 0x54793f
nop
sub ecx, eax
mov dword [esp + 0x38], ecx
mov edx, ecx
neg ecx
sar ecx, 0x1f
and eax, ecx
mov ecx, dword [esp + 0x58]
add eax, ecx
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x40]
cmp edx, ecx
jle 0x5477b5
mov ebx, ecx
mov dword [esp + 0x34], ecx
lea eax, [0x7ac140]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ebx
call fcn.0043a890
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x34]
mov ebx, ecx
sub ecx, edx
cmp ecx, ebx
ja 0x547938
mov edx, ebx
sub ebx, ecx
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and ecx, ebx
add ecx, eax
mov ebx, dword [esp + 0x38]
cmp ebp, ebx
jle 0x5477ae
mov dword [esp + 0x58], eax
mov ebp, dword [esp + 0x54]
cmp ecx, ebp
je 0x54761a
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
call fcn.0044f8d0
mov eax, dword [esp + 0x40]
test eax, eax
jbe 0x547931
nop
mov ecx, dword [esp + 0x58]
movzx edx, byte [ecx]
cmp eax, 1
jbe 0x54792a
movzx ebx, byte [ecx + 1]
dec edx
shr edx, 0x1f
xor ebx, 1
movzx ebx, bl
dec ebx
shr ebx, 0x1f
and edx, ebx
nop
mov ebx, dword [esp + 0x3c]
mov ebp, eax
sub eax, ebx
test ebp, ebp
jl 0x547923
cmp eax, ebp
ja 0x547923
mov dword [esp + 0x30], edx
mov dword [esp + 0x48], eax
sub ebp, eax
mov ebx, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, eax
add ebp, ecx
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x88]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x8c]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x90]
mov dword [esp + 0x14], ebx
call fcn.004ffa10
mov eax, dword [esp + 0x30]
and eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x24]
mov ebx, ecx
sub ecx, edx
mov edx, dword [esp + 0x48]
test edx, edx
jl 0x54791c
cmp ecx, edx
ja 0x54791c
mov dword [esp + 0x30], eax
mov dword [esp + 0x48], ecx
sub ebx, ecx
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and ebx, ecx
mov esi, dword [esp + 0x58]
add ebx, esi
mov dword [esp], ebx
sub edx, ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
mov edx, dword [esp + 0x50]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x14], edx
call fcn.004ffa10
mov eax, dword [esp + 0x30]
and eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x48]
lea edx, [ecx - 1]
mov ebx, dword [esp + 0x40]
cmp edx, ebx
jae 0x547915
mov ebp, dword [esp + 0x58]
movzx ecx, byte [ecx + ebp - 1]
dec ecx
shr ecx, 0x1f
and ecx, eax
nop
mov eax, 2
jmp 0x547764
lea esi, [eax + 1]
movzx edi, byte [ebp + eax]
xor edi, 0xffffffff
xchg edi, eax
movzx eax, al
xchg edi, eax
dec edi
shr edi, 0x1f
and ecx, edi
nop
mov eax, esi
cmp eax, edx
jge 0x547771
cmp eax, ebx
jb 0x54774b
jmp 0x54790e
cmp ecx, 1
je 0x547794
mov eax, dword [0xb7d45c]
mov ecx, dword [0xb7d458]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
add esp, 0x7c
ret
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
add esp, 0x7c
ret
mov ebx, ebp
jmp 0x5475fe
mov ebx, ecx
mov ecx, edx
jmp 0x5475b1
mov eax, dword [0xb7d45c]
mov ecx, dword [0xb7d458]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
add esp, 0x7c
ret
xor esi, esi
jmp 0x547418
xor ecx, ecx
jmp 0x547443
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], edx
add esp, 0x7c
ret
nop
cmp eax, 0x14
jae 0x547954
mov ecx, dword [0xb77050]
lea edx, [0xb77050]
cmp dword [edx + 4], eax
jbe 0x54794d
movzx ecx, byte [ecx + eax]
mov edx, dword [esp + 0x8c]
cmp ecx, edx
je 0x547878
nop
lea eax, [0x7c34e0]
mov dword [esp], eax
call fcn.00409f80
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x28
mov eax, dword [0xb91180]
test eax, eax
jne 0x54786b
lea eax, [0x82745c]
mov dword [edi], eax
xor eax, eax
xor ecx, ecx
mov edx, edi
lea ebx, [0x8b3870]
xor ebp, ebp
xor esi, esi
jmp 0x5473ca
lea eax, [0x82745c]
call fcn.0044f0d0
jmp 0x547856
mov dword [esp + 0x48], ecx
lea ecx, [0x7af380]
mov dword [esp], ecx
mov ecx, dword [0xb7c750]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0040d3d0
mov eax, dword [esp + 0xc]
movzx ecx, byte [esp + 0x10]
mov edx, dword [eax + 8]
mov ebx, dword [eax + 4]
mov eax, dword [eax]
test cl, cl
je 0x5478c0
mov ecx, eax
mov ebp, ebx
mov esi, edx
mov eax, dword [esp + 0x48]
xor edx, edx
xor ebx, ebx
jmp 0x5473ca
nop
lea eax, [0x7c34e0]
mov dword [esp], eax
call fcn.00409f80
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x25
mov eax, dword [0xb91180]
test eax, eax
jne 0x547901
lea eax, [0x825e59]
mov dword [edi], eax
xor eax, eax
xor ecx, ecx
mov edx, edi
lea ebx, [0x8b3870]
xor ebp, ebp
xor esi, esi
jmp 0x5473ca
lea eax, [0x825e59]
call fcn.0044f0d0
jmp 0x5478ec
call fcn.004287c0
ud2
call fcn.004287c0
ud2
call fcn.004288c0
ud2
call fcn.004288c0
ud2
call fcn.004287c0
ud2
call fcn.004287c0
ud2
call fcn.004288c0
ud2
call fcn.004288c0
ud2
call fcn.004287c0
ud2
call fcn.004287c0
ud2
lea eax, [0x7abe80]
mov dword [esp], eax
lea eax, [0x8ac588]
mov dword [esp + 4], eax
call fcn.00429580
ud2
call fcn.0044d880
jmp fcn.00547390