Function at 0x541ef0
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 + 0x1c], ebx
mov dword [esp + 0x2c], eax
cmp ebx, 0x10
jbe 0x541f63
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 + 0x18]
push eax
lea eax, [esp + 0x8c]
push eax
lea eax, [esp + 0x514]
push 0x100
push eax
call fcn.005421c0
add esp, 0x1c
mov dword [esp + 0x30], eax
cmp eax, 0xffffff88
ja 0x5421a1
push ebp
mov ebp, dword [esp + 0x1c]
cmp ebp, ebx
jbe 0x541fb2
mov eax, 0xffffffd4
jmp 0x5421a0
cmp dword [esp + ebp*4 + 0x80], 0
mov esi, ebp
mov dword [esp + 0x24], ebp
jne 0x541fd1
dec esi
cmp dword [esp + esi*4 + 0x80], 0
je 0x541fc2
mov dword [esp + 0x24], esi
xor edx, edx
mov dword [esp + 0x28], edx
lea ecx, [edx + 1]
cmp esi, ecx
jb 0x541ff6
nop
mov eax, edx
add edx, dword [esp + ecx*4 + 0x80]
mov dword [esp + ecx*4 + 0x3c], eax
inc ecx
cmp ecx, esi
jbe 0x541fe0
mov dword [esp + 0x28], edx
mov edi, dword [esp + 0x10]
xor ebx, ebx
mov dword [esp + 0x3c], edx
test edi, edi
je 0x54202a
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, edi
jb 0x542004
mov eax, dword [esp + 0x20]
xor ebx, ebx
sub eax, dword [esp + 0x1c]
sub ebp, esi
inc ebp
mov dword [esp + 0x3c], 0
dec eax
mov dword [esp + 0x14], ebp
lea edi, [ebx + 1]
cmp esi, edi
jb 0x542070
mov ebp, eax
nop dword [eax]
mov eax, dword [esp + edi*4 + 0x80]
lea ecx, [edi + ebp]
mov edx, ebx
shl eax, cl
mov dword [esp + edi*4 + 0xc4], edx
add ebx, eax
inc edi
cmp edi, esi
jbe 0x542050
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
sub eax, ebp
mov dword [esp + 0x14], eax
cmp ebp, eax
ja 0x54216c
mov eax, ebp
lea ecx, [esp + 0xc4]
shl eax, 4
mov edi, 0x10
add eax, ebp
shl eax, 2
add ecx, eax
sub edi, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], edi
nop dword [eax + eax]
mov ebx, 1
movd xmm1, ebp
cmp esi, ebx
jb 0x542155
cmp esi, 8
jb 0x542118
lea eax, [esp + 0xc4]
lea edx, [ecx + esi*4]
add ecx, 4
lea eax, [eax + esi*4]
cmp ecx, eax
ja 0x5420e5
lea eax, [esp + 0xc8]
cmp edx, eax
jae 0x542114
mov eax, esi
mov edx, esi
and eax, 7
sub edx, eax
nop
movups xmm0, xmmword [ecx + edi - 0x10]
add ebx, 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 ebx, edx
jbe 0x5420f0
mov ecx, dword [esp + 0x18]
cmp ebx, esi
ja 0x542151
mov edi, esi
lea eax, [esp + 0xc4]
sub eax, ecx
lea edx, [ecx + ebx*4]
sub edi, ebx
mov dword [esp + 0x2c], eax
inc edi
mov esi, eax
mov eax, dword [edx + esi]
lea edx, [edx + 4]
mov ecx, ebp
shr eax, cl
mov dword [edx - 4], eax
sub edi, 1
jne 0x542133
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
inc ebp
add ecx, 0x44
sub edi, 0x44
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], edi
cmp ebp, eax
jbe 0x5420b0
mov eax, dword [esp + 0x1c]
inc eax
push eax
push esi
lea eax, [esp + 0xcc]
push eax
lea eax, [esp + 0x44]
push eax
push dword [esp + 0x38]
lea eax, [esp + 0x618]
push eax
push dword [esp + 0x38]
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