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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x50
mov ebx, dword [ebp + 8]
mov eax, dword [0x674014]
xor eax, ebp
mov dword [esp + 0x48], eax
mov dword [ecx], 0x61a138
xor eax, eax
mov dword [ecx + 4], eax
movdqa xmm0, xmmword [0x633010]
movdqu xmmword [ecx + 0xc], xmm0
mov dword [ecx + 0x1c], eax
mov byte [ecx + 0x20], al
lea edx, [ecx + 0x5c]
mov dword [ecx + 0x5c], eax
mov dword [ecx + 0x60], eax
pxor xmm0, xmm0
movdqu xmmword [ecx + 0x34], xmm0
movdqu xmmword [ecx + 0x44], xmm0
mov byte [ecx + 0x54], al
mov dword [ecx + 0x58], edx
mov eax, dword [ebx + 4]
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
mov eax, dword [ebx + 8]
mov dword [ecx + 0xc], eax
mov eax, dword [ebx + 0x10]
mov dword [esp + 0xc], ecx
mov dword [ecx + 0x10], eax
mov eax, dword [ebx + 0x2c]
cmp eax, 7
jne 0x57d06d
mov eax, dword [ebx + 0x28]
mov edx, dword [esp + 0xc]
mov dword [edx + 0x14], eax
mov eax, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x3c]
or ecx, dword [ebx + 0x34]
or eax, dword [ebx + 0x30]
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], ecx
mov ecx, dword [ebx + 0x78]
test ecx, ecx
je 0x57d2bc
mov eax, dword [esp + 0xc]
lea esi, [eax + 0x20]
add eax, 0x40
mov dword [esp + 0x18], eax
call fcn.00466490
lea edi, [esp + 0x30]
mov ecx, eax
push edi
call fcn.004d0f80
mov ecx, esi
push edi
call fcn.0057d388
mov ecx, edi
call fcn.00453e30
mov ecx, dword [ebx + 0x78]
call fcn.005a3820
mov edi, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x10], eax
cmp edi, eax
je 0x57d1b5
mov eax, dword [esp + 0xc]
lea esi, [eax + 0x34]
lea ebx, [esp + 0x24]
mov dword [esp + 0x14], esi
mov ecx, edi
push ebx
call fcn.004d0f80
mov eax, dword [esp + 0xc]
mov esi, ebx
mov ebx, dword [eax + 0x38]
mov eax, dword [eax + 0x3c]
cmp ebx, eax
jae 0x57d118
mov ecx, ebx
push esi
call fcn.004d0e50
add ebx, 0xc
mov eax, dword [esp + 0xc]
mov dword [eax + 0x38], ebx
mov ebx, esi
jmp 0x57d1a1
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x30], xmm0
mov dword [esp + 0x40], 0xffffffff
mov esi, dword [esp + 0x14]
mov ecx, dword [esi]
sub ebx, ecx
sar ebx, 2
imul edx, ebx, 0xaaaaaaab
lea ebx, [edx + 1]
cmp ebx, 0x15555556
jae 0x57d382
sub eax, ecx
sar eax, 2
imul eax, eax, 0xaaaaaaab
lea ecx, [eax + eax]
cmp ecx, ebx
cmova ebx, ecx
cmp eax, 0xaaaaaaa
mov eax, 0x15555555
cmovae ebx, eax
lea ecx, [esp + 0x30]
push dword [esp + 0x18]
push edx
push ebx
call fcn.00419aee
mov ecx, dword [esp + 0x38]
lea ebx, [esp + 0x24]
push ebx
call fcn.004d0e50
add dword [esp + 0x38], 0xc
mov ecx, esi
lea eax, [esp + 0x30]
push eax
call fcn.00579480
lea ecx, [esp + 0x30]
call fcn.0052745e
mov ecx, ebx
call fcn.00453e30
add edi, 0xc
cmp edi, dword [esp + 0x10]
jne 0x57d0e7
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x78]
call fcn.005a3830
mov edi, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x10], eax
cmp edi, eax
je 0x57d2aa
mov eax, dword [esp + 0xc]
add eax, 0x4c
mov dword [esp + 0x14], eax
lea esi, [esp + 0x24]
mov ecx, edi
push esi
call fcn.004d0f80
mov eax, dword [esp + 0xc]
mov ebx, dword [eax + 0x44]
mov eax, dword [eax + 0x48]
cmp ebx, eax
jae 0x57d20d
mov ecx, ebx
push esi
call fcn.004d0e50
add ebx, 0xc
mov eax, dword [esp + 0xc]
mov dword [eax + 0x44], ebx
jmp 0x57d296
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x30], xmm0
mov dword [esp + 0x40], 0xffffffff
mov esi, dword [esp + 0x18]
mov ecx, dword [esi]
sub ebx, ecx
sar ebx, 2
imul edx, ebx, 0xaaaaaaab
lea ebx, [edx + 1]
cmp ebx, 0x15555556
jae 0x57d382
sub eax, ecx
sar eax, 2
imul eax, eax, 0xaaaaaaab
lea ecx, [eax + eax]
cmp ecx, ebx
cmova ebx, ecx
cmp eax, 0xaaaaaaa
mov eax, 0x15555555
cmovae ebx, eax
lea ecx, [esp + 0x30]
push dword [esp + 0x14]
push edx
push ebx
call fcn.00419aee
mov ecx, dword [esp + 0x38]
lea ebx, [esp + 0x24]
push ebx
call fcn.004d0e50
add dword [esp + 0x38], 0xc
mov ecx, esi
mov esi, ebx
lea ebx, [esp + 0x30]
push ebx
call fcn.00579480
mov ecx, ebx
call fcn.0052745e
mov ecx, esi
call fcn.00453e30
add edi, 0xc
cmp edi, dword [esp + 0x10]
jne 0x57d1e0
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx + 0x78]
call fcn.005078f0
mov ecx, dword [esp + 0xc]
mov dword [ecx + 0x4c], eax
mov eax, dword [esp + 0xc]
add eax, 0x58
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x57d33d
mov ebx, 0x124
add ebx, dword [eax + 0x100]
push ebx
call fcn.005dc726
add esp, 4
mov edx, dword [esp + 0xc]
mov ecx, dword [edx + 0x50]
mov dword [edx + 0x50], eax
test ecx, ecx
je 0x57d300
push ecx
call fcn.005dc756
add esp, 4
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x50]
push ebx
mov edi, dword [ebp + 8]
push dword [edi + 0x48]
push eax
call fcn.005df8f0
add esp, 0xc
mov eax, dword [edi + 0x48]
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx + 0x50]
xor edx, edx
mov ebx, ecx
mov esi, dword [esp + 0xc]
cmp dword [ebx + edx*4], 0
je 0x57d332
mov edi, dword [eax + edx*4]
sub edi, eax
add edi, ecx
mov dword [ebx + edx*4], edi
cmp edx, 0x3f
je 0x57d33d
mov ebx, dword [esi + 0x50]
inc edx
jmp 0x57d322
mov ecx, dword [ebp + 8]
mov al, byte [ecx + 0x40]
mov esi, dword [esp + 0xc]
mov byte [esi + 0x54], al
lea eax, [ecx + 0x5c]
mov dword [esp + 0x20], eax
mov eax, dword [ecx + 0x58]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
push eax
push edx
call fcn.0057d3ba
mov ecx, dword [esp + 0x48]
xor ecx, ebp
call fcn.005dd6f3
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.005f1440
int3