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

Disassembly:
sub esp, 0x7f8
mov eax, dword [0x13413f8]
xor eax, esp
mov dword [esp + 0x7f4], eax
push ebx
push esi
mov esi, dword [esp + 0x804]
lea eax, [esp + 0x78]
push edi
mov edi, dword [esp + 0x80c]
push 0x44
push 0
push eax
call fcn.004f3400
push 0x48
lea eax, [esp + 0x44]
push 0
push eax
call fcn.004f3400
mov ebx, dword [esi]
lea eax, [esi + 4]
add esp, 0x18
mov dword [esp + 0x20], ebx
mov dword [esp + 0x2c], eax
cmp ebx, 0x10
jbe 0x545c63
pop edi
pop esi
mov eax, 0xffffffd4
pop ebx
mov ecx, dword [esp + 0x7f4]
xor ecx, esp
call fcn.00472312
add esp, 0x7f8
ret
push dword [esp + 0x810]
lea eax, [esp + 0x1c]
push edi
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x8c]
push eax
lea eax, [esp + 0x514]
push 0x100
push eax
call fcn.00545eb0
add esp, 0x1c
mov dword [esp + 0x30], eax
cmp eax, 0xffffff88
ja 0x545e94
mov edi, dword [esp + 0x18]
cmp edi, ebx
ja 0x545c46
cmp dword [esp + edi*4 + 0x7c], 0
mov eax, edi
mov dword [esp + 0x1c], edi
jne 0x545cc0
dec eax
cmp dword [esp + eax*4 + 0x7c], 0
je 0x545cb4
mov dword [esp + 0x1c], eax
xor edx, edx
push ebp
lea ebp, [eax + 1]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], ebp
lea ecx, [edx + 1]
cmp ebp, ecx
jbe 0x545cf6
nop word [eax + eax]
mov eax, edx
add edx, dword [esp + ecx*4 + 0x80]
mov dword [esp + ecx*4 + 0x3c], eax
inc ecx
cmp ecx, ebp
jb 0x545ce0
mov dword [esp + 0x2c], edx
mov esi, dword [esp + 0x14]
xor ebx, ebx
mov dword [esp + 0x3c], edx
test esi, esi
je 0x545d2a
movzx edx, byte [esp + ebx + 0x504]
mov ecx, dword [esp + edx*4 + 0x3c]
mov byte [esp + ecx*2 + 0x604], bl
lea eax, [ecx + 1]
inc ebx
mov dword [esp + edx*4 + 0x3c], eax
mov byte [esp + ecx*2 + 0x605], dl
cmp ebx, esi
jb 0x545d04
mov eax, dword [esp + 0x24]
mov ebx, eax
sub ebx, edi
mov dword [esp + 0x3c], 0
xor edi, edi
dec ebx
lea esi, [edi + 1]
cmp ebp, esi
jbe 0x545d64
mov eax, dword [esp + esi*4 + 0x80]
lea ecx, [esi + ebx]
mov edx, edi
shl eax, cl
mov dword [esp + esi*4 + 0xc4], edx
add edi, eax
inc esi
cmp esi, ebp
jb 0x545d44
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x1c]
sub ebx, dword [esp + 0x20]
inc ebx
sub eax, ebx
inc eax
mov dword [esp + 0x18], eax
cmp ebx, eax
jae 0x545e5c
mov eax, ebx
lea ecx, [esp + 0xc4]
shl eax, 4
lea edx, [ebp - 1]
add eax, ebx
mov edi, 0x10
shl eax, 2
add ecx, eax
sub edi, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edi
mov esi, 1
movd xmm1, ebx
cmp ebp, esi
jbe 0x545e42
cmp edx, 8
jb 0x545e09
lea edx, [ecx + edx*4]
add ecx, 4
lea eax, [esp + ebp*4 + 0xc0]
cmp ecx, eax
ja 0x545dd7
lea eax, [esp + 0xc8]
cmp edx, eax
jae 0x545e05
lea eax, [ebp - 1]
mov edx, ebp
and eax, 7
sub edx, eax
movups xmm0, xmmword [ecx + edi - 0x10]
add esi, 8
lea ecx, [ecx + 0x20]
psrld xmm0, xmm1
movups xmmword [ecx - 0x20], xmm0
movups xmm0, xmmword [ecx + edi - 0x20]
psrld xmm0, xmm1
movups xmmword [ecx - 0x10], xmm0
cmp esi, edx
jb 0x545de1
mov ecx, dword [esp + 0x10]
cmp esi, ebp
jae 0x545e3e
mov edi, dword [esp + 0x28]
lea ebp, [esp + 0xc4]
sub ebp, ecx
lea edx, [ecx + esi*4]
sub edi, esi
nop
mov eax, dword [edx + ebp]
lea edx, [edx + 4]
mov ecx, ebx
shr eax, cl
mov dword [edx - 4], eax
sub edi, 1
jne 0x545e20
mov ebp, dword [esp + 0x28]
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
inc ebx
lea edx, [ebp - 1]
add ecx, 0x44
sub edi, 0x44
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edi
cmp ebx, eax
jb 0x545da5
mov eax, dword [esp + 0x1c]
inc eax
push eax
push dword [esp + 0x24]
lea eax, [esp + 0xcc]
push eax
lea eax, [esp + 0x44]
push eax
push dword [esp + 0x3c]
lea eax, [esp + 0x618]
push eax
push dword [esp + 0x3c]
push dword [esp + 0x4c]
call fcn.00545910
mov eax, dword [esp + 0x54]
add esp, 0x20
pop ebp
mov ecx, dword [esp + 0x800]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00472312
add esp, 0x7f8
ret