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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x546a9a
sub esp, 0x6c
nop
mov eax, dword [esp + 0x74]
cmp eax, 4
jge 0x546a0d
xor eax, eax
xor ecx, ecx
xor edx, edx
xor ebx, ebx
xor ebp, ebp
xor esi, esi
xor edi, edi
test al, al
je 0x5469e4
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], esi
mov dword [esp + 0x58], edi
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov eax, dword [esp + 0x7c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x10], eax
call fcn.005573a0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
test ecx, ecx
jne 0x5469c7
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x50], ebp
mov dword [esp + 0x5c], esi
mov dword [esp + 0x48], edi
lea eax, [0x5b9240]
mov dword [esp], eax
call fcn.00409bc0
mov eax, dword [esp + 4]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x50]
mov dword [esp], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 8], ecx
lea ecx, [0x586260]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.0055c890
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x5469aa
lea eax, [0x5b9940]
mov dword [esp], eax
call fcn.00409bc0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x40]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x44]
mov dword [edi + 8], eax
mov eax, dword [0x738420]
test eax, eax
jne 0x54699c
mov ecx, dword [esp + 0x58]
mov dword [edi], ecx
mov ecx, dword [esp + 0x48]
mov dword [edi + 0xc], ecx
mov ecx, dword [0x738420]
test ecx, ecx
jne 0x546983
mov ecx, dword [esp + 0x5c]
mov dword [edi + 0x10], ecx
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx]
mov ebx, dword [ecx + 4]
mov dword [edi + 0x14], edx
mov dword [edi + 0x18], ebx
mov edx, dword [ecx + 8]
mov dword [edi + 0x1c], edx
mov edx, dword [ecx + 0x10]
mov eax, dword [ecx + 0xc]
mov dword [edi + 0x24], edx
mov edx, dword [0x738420]
test edx, edx
jne 0x546970
mov dword [edi + 0x20], eax
mov dword [esp + 0x60], edi
mov eax, dword [ecx + 0x24]
mov edx, dword [ecx + 0x20]
mov dword [edi + 0x34], edx
mov dword [edi + 0x38], eax
mov eax, dword [ecx + 0x28]
mov edx, dword [ecx + 0x2c]
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], edx
mov eax, dword [ecx + 0x1c]
mov edx, dword [ecx + 0x18]
mov ebx, dword [ecx + 0x14]
jmp 0x546534
mov ebp, dword [esp + 0x3c]
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x54]
mov ecx, dword [esp + 0x68]
mov edi, eax
mov ebx, dword [esp + 0x54]
mov edx, esi
mov eax, ebp
test edx, edx
jle 0x546703
nop
cmp edx, 4
jge 0x546660
xor eax, eax
xor edx, edx
xor ebx, ebx
xor ebp, ebp
xor esi, esi
xor eax, eax
mov dword [esp + 0x3c], eax
xor eax, eax
mov dword [esp + 0x30], eax
xor eax, eax
test dl, dl
je 0x546637
mov dword [esp + 0x54], eax
mov dword [esp], 0
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebx
call fcn.0043c470
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 0x30]
mov edx, dword [eax + 0x2c]
mov ebx, dword [eax + 0x28]
lea ebp, [edx + 1]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
cmp ebp, ecx
ja 0x5465d2
lea ecx, [edx + 1]
mov dword [eax + 0x2c], ecx
lea ecx, [ebx + edx*8 + 4]
mov dword [ecx], esi
lea ecx, [ebx + edx*8]
mov edx, dword [0x738420]
test edx, edx
jne 0x5465be
mov dword [ecx], edi
jmp 0x54651a
mov edx, edi
mov edi, ecx
mov ebx, eax
mov eax, edx
call fcn.0044cea0
mov eax, ebx
jmp 0x54651a
mov dword [esp + 0x4c], esi
mov dword [esp + 0x64], edi
lea eax, [0x597b60]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebp
call fcn.00439070
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x60]
mov dword [ebx + 0x30], edx
mov edx, dword [0x738420]
test edx, edx
jne 0x54662d
mov dword [ebx + 0x28], eax
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x64]
mov edx, ecx
mov ebx, eax
mov eax, dword [esp + 0x60]
jmp 0x54659e
lea edi, [ebx + 0x28]
call fcn.0044cea0
jmp 0x546618
mov eax, dword [0x7278ec]
mov ecx, dword [0x7278e8]
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x6c
ret
nop
add eax, 0xfffffffc
mov ebp, eax
neg eax
sar eax, 0x1f
and eax, 4
add eax, ebx
add edx, 0xfffffffc
movzx esi, byte [ebx + 1]
movzx ecx, byte [ebx + 2]
movzx edi, byte [ebx + 3]
shl ecx, 8
or edi, ecx
shl esi, 0x10
or edi, esi
movzx ecx, byte [ebx]
shl ecx, 0x18
or ecx, edi
cmp edx, ecx
jae 0x5466c0
mov ecx, dword [esp + 0x68]
mov edi, dword [esp + 0x60]
xor eax, eax
xor edx, edx
xor ebx, ebx
xor ebp, ebp
xor esi, esi
xor ecx, ecx
mov dword [esp + 0x3c], ecx
xor edi, edi
mov dword [esp + 0x30], edi
mov ecx, dword [esp + 0x68]
mov edi, dword [esp + 0x60]
jmp 0x54655e
test ecx, ecx
jl 0x546a8c
mov ebx, ebp
sub ebp, ecx
mov esi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, ecx
add ebp, eax
sub edx, ecx
mov edi, dword [esp + 0x60]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x30], edx
mov edx, 1
mov esi, ecx
mov ecx, dword [esp + 0x68]
mov ecx, eax
mov eax, ebp
mov ebp, ecx
mov ecx, dword [esp + 0x68]
jmp 0x54655e
mov eax, dword [ecx + 0x34]
mov edx, dword [ecx + 0x38]
mov ebx, dword [ecx + 0x30]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00545d60
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [0x738420]
test ebx, ebx
jne 0x546959
mov ebx, dword [esp + 0x60]
mov dword [ebx + 0x44], ecx
test edx, edx
jne 0x54693c
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 0x40]
mov edx, dword [eax + 0x3c]
mov ebx, dword [eax + 0x44]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.00545d60
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov edx, dword [0x738420]
mov ebx, dword [esp + 0x10]
test edx, edx
jne 0x546925
mov edx, dword [esp + 0x60]
mov dword [edx + 0x48], ecx
test ebx, ebx
jne 0x546908
mov ecx, dword [esp + 0x68]
mov ebx, dword [ecx + 0x4c]
mov eax, dword [ecx + 0x48]
mov ebp, dword [ecx + 0x50]
mov dword [edx + 0x50], ebx
mov dword [edx + 0x54], ebp
mov ebx, dword [0x738420]
test ebx, ebx
jne 0x5468fb
mov dword [edx + 0x4c], eax
mov eax, dword [ecx + 0x54]
mov edx, dword [ecx + 0x58]
mov ebx, dword [ecx + 0x5c]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.00557a70
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0xc]
test ecx, ecx
jne 0x5468de
mov ecx, dword [esp + 0x60]
mov dword [ecx + 0x58], ebx
mov edx, dword [0x738420]
test edx, edx
jne 0x5468d1
mov dword [ecx + 0x5c], eax
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 0x60]
mov edx, dword [eax + 0x64]
mov eax, dword [eax + 0x68]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00547360
mov eax, dword [0x738420]
mov ecx, dword [esp + 0xc]
movzx edx, byte [esp + 0x1c]
mov ebx, dword [esp + 0x14]
test eax, eax
jne 0x5468bc
mov eax, dword [esp + 0x60]
mov dword [eax + 0x60], ecx
test dl, dl
je 0x54683f
test ebx, ebx
jle 0x54689b
nop
lea eax, [0x59e6a0]
mov dword [esp], eax
call fcn.00409bc0
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x1a
mov eax, dword [0x738420]
test eax, eax
jne 0x54688e
lea eax, [0x5ccc06]
mov dword [edi], eax
mov dword [esp + 0x84], 0
lea eax, [0x600de0]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], edi
add esp, 0x6c
ret
lea eax, [0x5ccc06]
call fcn.0044cea0
jmp 0x54686b
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x6c
ret
mov ebp, dword [esp + 0x60]
lea edi, [ebp + 0x60]
mov eax, ecx
call fcn.0044cea0
mov eax, ebp
jmp 0x546837
lea edi, [ecx + 0x5c]
call fcn.0044cea0
jmp 0x5467f8
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
add esp, 0x6c
ret
lea edi, [edx + 0x4c]
call fcn.0044cea0
jmp 0x5467af
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], eax
add esp, 0x6c
ret
mov edx, dword [esp + 0x60]
lea edi, [edx + 0x48]
mov ebp, eax
mov eax, ecx
call fcn.0044cea0
mov eax, ebp
jmp 0x546783
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], eax
add esp, 0x6c
ret
mov ebx, dword [esp + 0x60]
lea edi, [ebx + 0x44]
mov ebp, eax
mov eax, ecx
call fcn.0044cea0
mov eax, ebp
jmp 0x54673d
lea edx, [edi + 0x20]
mov ebx, edi
mov edi, edx
call fcn.0044cea0
mov edi, ebx
jmp 0x5464f3
lea ecx, [edi + 0x10]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0x5c]
call fcn.0044cea0
mov edi, edx
jmp 0x5464c4
mov eax, dword [esp + 0x58]
call fcn.0044cea0
jmp 0x5464a8
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x6c
ret
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x6c
ret
mov eax, dword [0x7278ec]
mov ecx, dword [0x7278e8]
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x6c
ret
nop
mov ecx, dword [esp + 0x78]
add ecx, 0xfffffffc
mov edx, ecx
neg ecx
sar ecx, 0x1f
and ecx, 4
mov ebx, dword [esp + 0x70]
add ecx, ebx
add eax, 0xfffffffc
movzx ebp, byte [ebx + 3]
movzx esi, byte [ebx + 2]
shl esi, 8
or ebp, esi
movzx esi, byte [ebx + 1]
shl esi, 0x10
or ebp, esi
movzx ebx, byte [ebx]
shl ebx, 0x18
or ebx, ebp
cmp eax, ebx
jae 0x546a5d
xor eax, eax
xor ecx, ecx
xor edx, edx
xor ebx, ebx
xor ebp, ebp
xor esi, esi
xor edi, edi
jmp 0x5463b5
test ebx, ebx
jl 0x546a93
sub eax, ebx
mov ebp, edx
sub ebp, ebx
mov esi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, ebx
add ebp, ecx
mov edi, ecx
mov ecx, edx
mov edx, ebp
mov ebp, esi
mov esi, ebx
mov ebx, eax
mov eax, 1
jmp 0x5463b5
call fcn.00427100
ud2
call fcn.00427100
ud2
call fcn.0044b750
jmp fcn.00546380