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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x54a55d
sub esp, 0x54
mov ebx, dword [esp + 0x6c]
test ebx, ebx
je 0x54a23e
mov ebp, dword [esp + 0x58]
test byte [ebp], al
mov esi, dword [esp + 0x64]
mov edx, dword [esp + 0x70]
mov edi, dword [esp + 0x68]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x48], eax
xor eax, eax
mov dword [esp + 0x44], eax
xor eax, eax
mov dword [esp + 0x40], eax
xor eax, eax
mov dword [esp + 0x50], eax
xor eax, eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x48]
jmp 0x54a27a
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x54
ret
mov edx, dword [esp + 0x70]
mov edi, dword [esp + 0x68]
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], ebx
mov dword [esp + 0x50], esi
mov ebx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x58]
mov esi, dword [esp + 0x64]
mov esi, dword [esp + 0x34]
sub ebx, esi
cmp ebx, 4
jl 0x54a456
mov ebx, dword [esp + 0x44]
sub ecx, ebx
cmp ecx, 4
jl 0x54a45a
lea ebx, [esi + 4]
cmp edx, ebx
jb 0x54a555
cmp esi, ebx
ja 0x54a54c
mov dword [esp + 0x3c], ebx
sub edx, esi
neg edx
sar edx, 0x1f
and edx, esi
movzx esi, byte [edi + edx]
movzx esi, byte [esi + ebp + 0x40]
xchg esi, eax
mov byte [esp + 0x31], al
xchg esi, eax
movzx ebx, byte [edi + edx + 1]
movzx ebx, byte [ebx + ebp + 0x40]
mov byte [esp + 0x32], bl
movzx ebx, byte [edi + edx + 2]
movzx ebx, byte [ebx + ebp + 0x40]
movzx edi, byte [edi + edx + 3]
movzx edi, byte [edi + ebp + 0x40]
mov edx, ebp
movzx ebp, byte [esp + 0x32]
or esi, ebp
or esi, ebx
or esi, edi
xchg esi, eax
cmp al, 0xff
xchg esi, eax
jne 0x54a304
mov ebp, 0
jmp 0x54a33b
xchg esi, eax
mov byte [esp + 0x33], al
xchg esi, eax
movzx esi, byte [esp + 0x31]
xchg esi, eax
movzx eax, al
xchg esi, eax
shl esi, 0x1a
xchg ebp, eax
movzx eax, al
xchg ebp, eax
shl ebp, 0x14
or ebp, esi
movzx ebx, bl
shl ebx, 0xe
or ebx, ebp
xchg edi, eax
movzx ebp, al
xchg edi, eax
shl ebp, 8
or ebp, ebx
movzx ebx, byte [esp + 0x33]
cmp bl, 0xff
je 0x54a3b4
mov ecx, dword [esp + 0x60]
mov ebx, dword [esp + 0x44]
cmp ecx, ebx
jb 0x54a545
mov dword [esp + 0x38], ebp
mov esi, dword [esp + 0x64]
mov edi, esi
sub esi, ebx
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, ebx
shr ebp, 0x18
xchg ebp, ebx
mov byte [eax + esi], bl
xchg ebp, ebx
mov ebp, dword [esp + 0x38]
shr ebp, 0x10
xchg ebp, ebx
mov byte [eax + esi + 1], bl
xchg ebp, ebx
mov ebp, dword [esp + 0x38]
shr ebp, 8
xchg ebp, ebx
mov byte [eax + esi + 2], bl
xchg ebp, ebx
mov ebp, dword [esp + 0x38]
xchg ebp, ebx
mov byte [eax + esi + 3], bl
xchg ebp, ebx
lea ebp, [ebx + 3]
mov ebx, dword [esp + 0x40]
mov esi, dword [esp + 0x50]
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x40]
jmp 0x54a25a
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x44]
cmp ebx, ebp
jb 0x54a53c
mov dword [esp], edx
mov ebx, dword [esp + 0x64]
sub ebx, ebp
mov edi, ebx
neg ebx
sar ebx, 0x1f
and ebx, ebp
add ebx, eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edi
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x10], ecx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x14], ebx
mov edi, dword [esp + 0x70]
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x34]
mov dword [esp + 0x1c], eax
call fcn.00549c40
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x44]
add edx, ebp
mov ebp, dword [esp + 0x28]
test eax, eax
jne 0x54a446
mov edi, dword [esp + 0x64]
mov ebp, edx
mov esi, ecx
mov dword [esp + 0x34], ebx
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x58]
mov ebx, eax
mov eax, dword [esp + 0x5c]
jmp 0x54a25a
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], ecx
add esp, 0x54
ret
mov ebx, dword [esp + 0x44]
mov ecx, dword [esp + 0x64]
jmp 0x54a488
mov ecx, dword [esp + 0x64]
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x70]
mov edi, dword [esp + 0x68]
mov dword [esp + 0x40], edx
mov dword [esp + 0x50], ebx
mov esi, ebp
mov edx, dword [esp + 0x70]
mov ebp, dword [esp + 0x58]
mov ebx, eax
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x6c]
cmp edx, esi
jle 0x54a51b
mov dword [esp + 0x34], esi
mov esi, dword [esp + 0x60]
cmp esi, ebx
jb 0x54a533
mov dword [esp + 0x44], ebx
mov dword [esp], ebp
sub ecx, ebx
mov dword [esp + 0x3c], ecx
neg ecx
sar ecx, 0x1f
and ecx, ebx
add ecx, eax
mov dword [esp + 4], ecx
sub esi, ebx
mov dword [esp + 8], esi
mov esi, dword [esp + 0x3c]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edx
mov esi, dword [esp + 0x70]
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x34]
mov dword [esp + 0x1c], esi
call fcn.00549c40
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x44]
add eax, ecx
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x20]
test edx, edx
je 0x54a460
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], ebx
add esp, 0x54
ret
mov dword [esp + 0x74], ebx
mov eax, dword [esp + 0x40]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x7c], eax
add esp, 0x54
ret
mov eax, ebx
mov ecx, esi
call fcn.00452100
mov eax, ebp
mov ecx, ebx
call fcn.00452100
mov eax, ebx
call fcn.00452100
mov eax, esi
mov ecx, ebx
call fcn.00452100
mov ecx, ebx
call fcn.004520e0
nop
call fcn.00450c10
jmp fcn.0054a1e0