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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x548be0
sub esp, 0x6c
mov eax, dword [esp + 0x70]
mov ecx, dword [eax]
nop
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 4]
nop
lea ebx, [edx - 1]
test ebx, ebx
jl 0x548ba3
mov ecx, dword [ecx + edx*4 - 4]
nop
nop
cmp ecx, 0x10000
jb 0x548b9c
shr ecx, 0x10
mov edx, 0x10
cmp ecx, 0x100
jb 0x54886a
shr ecx, 8
add edx, 8
cmp ecx, 0x100
jae 0x548bd9
shl ebx, 5
lea ebp, [0xb4f740]
movzx ecx, byte [ecx + ebp]
add ecx, edx
add ecx, ebx
lea edx, [ecx + 7]
sar edx, 0x1f
shr edx, 0x1d
lea edx, [edx + ecx + 7]
sar edx, 3
mov ebx, dword [esp + 0x88]
cmp ebx, edx
jne 0x548b7e
mov dword [esp + 0x30], ecx
mov byte [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
nop
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov eax, dword [esp + 0x84]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x8c]
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 + 0x60], edx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
mov byte [esp + 0x5c], 0
mov byte [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
lea eax, [esp + 0x4c]
mov dword [esp], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
lea eax, [esp + 0x5c]
mov dword [esp + 8], eax
call fcn.005497e0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x40], eax
nop
mov ecx, dword [eax + 8]
lea edx, [0x7ac140]
mov dword [esp], edx
shl ecx, 2
mov dword [esp + 0x38], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.0043a890
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
mov ebx, dword [eax + 0xc]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
call fcn.0051eb70
mov eax, dword [esp + 0x30]
lea ecx, [eax + 6]
sar ecx, 0x1f
shr ecx, 0x1d
lea ecx, [ecx + eax + 6]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x38]
cmp edx, ebx
ja 0x548bd2
sar ecx, 3
sub ebx, edx
cmp ecx, ebx
jl 0x548b60
mov dword [esp + 0x34], ecx
lea eax, [0x7ac140]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.0043a890
mov eax, dword [esp + 0xc]
mov dword [esp + 0x48], eax
nop
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx + 8]
lea ebx, [0x7ac140]
mov dword [esp], ebx
shl edx, 2
mov dword [esp + 0x3c], edx
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call fcn.0043a890
mov eax, dword [esp + 0xc]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x40]
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 + 0x3c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
call fcn.0051eb70
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
ja 0x548bcb
mov edx, dword [esp + 0x48]
mov dword [esp], edx
mov ebx, dword [esp + 0x34]
mov dword [esp + 4], ebx
mov dword [esp + 8], ebx
sub ecx, eax
mov ebp, ecx
neg ecx
sar ecx, 0x1f
and eax, ecx
mov ecx, dword [esp + 0x44]
add eax, ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebp
call fcn.00547980
mov eax, dword [esp + 0x90]
cmp eax, 0xffffffff
jne 0x548b50
nop
mov eax, dword [esp + 0x74]
test eax, eax
jbe 0x548bb1
cmp eax, 0x14
jae 0x548bb1
mov ecx, dword [0xb77050]
lea edx, [0xb77050]
cmp dword [edx + 4], eax
jbe 0x548baa
movzx ecx, byte [ecx + eax]
mov dword [esp + 0x90], ecx
mov dword [esp], eax
call fcn.004ff1c0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x78]
mov dword [esp], edx
mov edx, dword [esp + 0x7c]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x80]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x30]
dec edx
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x90]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
call fcn.00547dd0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
add esp, 0x6c
ret
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x90]
jmp 0x548ad0
mov eax, dword [0xb7d45c]
mov ecx, dword [0xb7d458]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], eax
add esp, 0x6c
ret
mov eax, dword [0xb7d45c]
mov ecx, dword [0xb7d458]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], eax
add esp, 0x6c
ret
xor edx, edx
jmp 0x54885c
xor ecx, ecx
jmp 0x548887
call fcn.004287c0
ud2
lea eax, [0x7abe80]
mov dword [esp], eax
lea eax, [0x8ac5a0]
mov dword [esp + 4], eax
call fcn.00429580
ud2
call fcn.004288c0
ud2
call fcn.004288c0
ud2
call fcn.004287c0
ud2
call fcn.0044d880
jmp fcn.00548810