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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xb0
mov eax, dword [edx + 0xc]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x1c], eax
inc eax
je 0x5f3713
mov edi, dword [edx]
mov dword [esp + 0x30], edx
lea ebx, [edi + 1]
mov dword [esp + 0x2c], edi
mov ecx, ebx
shr ecx, 3
lea esi, [ecx*8]
sub esi, ecx
cmp edi, 8
cmovb esi, edi
mov ecx, esi
shr ecx, 1
cmp eax, ecx
jbe 0x5f2eb8
mov edx, dword [esp + 0x1c]
inc esi
lea ecx, [esp + 0x40]
cmp eax, esi
cmova esi, eax
push esi
push 0x28
call fcn.004a5d20
add esp, 8
mov edx, dword [esp + 0x44]
cmp dword [esp + 0x40], 1
mov ecx, dword [esp + 0x48]
jne 0x5f2f31
mov eax, dword [esp + 0x34]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax], 1
jmp 0x5f2f29
mov edi, dword [edx + 4]
movdqa xmm0, xmmword [0x6075a0]
xor ecx, ecx
xor eax, eax
test cl, 1
je 0x5f2ed5
nop dword [eax]
add eax, 0xf
jb 0x5f2ef5
cmp eax, ebx
jae 0x5f2ef5
pxor xmm1, xmm1
mov cl, 1
pcmpgtb xmm1, xmmword [edi + eax]
por xmm1, xmm0
movdqa xmmword [edi + eax], xmm1
inc eax
test cl, 1
jne 0x5f2ed0
jmp 0x5f2ed5
cmp ebx, 0x10
jae 0x5f310b
lea eax, [edi + 0x10]
push ebx
push edi
push eax
call sub.msvcrt.dll_memmove
add esp, 0xc
test ebx, ebx
jne 0x5f311f
mov ecx, dword [esp + 0x34]
sub esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x30]
mov dword [eax + 8], esi
mov dword [ecx], 0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 0x30]
mov dword [esp + 0x24], ecx
mov edi, dword [esp + 0x50]
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], ebx
mov esi, dword [eax + 4]
mov dword [esp + 4], edi
movdqa xmm0, xmmword [esi]
lea edx, [esi + ebx]
lea ebx, [esi + 0x10]
mov dword [esp + 0x84], esi
mov dword [esp + 0x90], edx
mov edx, esi
pmovmskb eax, xmm0
not eax
mov dword [esp], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x3c], ecx
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x4c]
mov esi, ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x1c], eax
jmp 0x5f3003
lea ecx, [edx - 0x10]
shr eax, 0x19
and ecx, dword [esp + 8]
mov byte [edi + edx], al
not edx
mov byte [ecx + edi + 0x10], al
lea eax, [edx + edx*4]
mov edx, dword [esp + 0x14]
movsd xmm0, qword [edx + 0x20]
movsd qword [edi + eax*8 + 0x20], xmm0
movsd xmm0, qword [edx + 0x18]
movsd qword [edi + eax*8 + 0x18], xmm0
movsd xmm0, qword [edx + 0x10]
movsd qword [edi + eax*8 + 0x10], xmm0
movq xmm0, qword [edx]
movq xmm1, qword [edx + 8]
mov edx, dword [esp + 0xc]
movq qword [edi + eax*8 + 8], xmm1
movq qword [edi + eax*8], xmm0
mov eax, dword [esp]
test ax, ax
je 0x5f3020
lea ecx, [eax - 1]
and ecx, eax
mov dword [esp], ecx
jmp 0x5f305f
mov ecx, dword [esp + 0x90]
nop word [eax + eax]
cmp ebx, ecx
jae 0x5f3695
movdqa xmm0, xmmword [ebx]
add edx, 0xfffffd80
add ebx, 0x10
pmovmskb eax, xmm0
cmp ax, 0xffff
je 0x5f3030
mov ecx, 0xfffffffe
sub ecx, eax
not eax
mov edi, eax
and edi, ecx
mov dword [esp], edi
bsf ax, ax
mov dword [esp + 0xc], edx
mov ecx, dword [esp + 0x10]
movzx eax, ax
not eax
lea eax, [eax + eax*4]
lea eax, [edx + eax*8]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x14], eax
push eax
push esi
push dword [esp + 0x20]
call fcn.005fea90
add esp, 0xc
mov edi, dword [esp + 8]
mov edx, dword [esp + 4]
mov ecx, edi
and ecx, eax
movdqu xmm0, xmmword [edx + ecx]
pmovmskb edx, xmm0
test edx, edx
jne 0x5f30de
mov esi, dword [esp + 4]
mov dword [esp + 0x38], eax
mov eax, edi
mov edi, 0x10
nop word cs:[eax + eax]
nop
add ecx, edi
add edi, 0x10
and ecx, eax
movdqu xmm0, xmmword [esi + ecx]
pmovmskb edx, xmm0
test edx, edx
je 0x5f30c0
mov edi, eax
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x38]
bsf dx, dx
movzx edx, dx
add edx, ecx
and edx, edi
mov edi, dword [esp + 4]
cmp byte [edi + edx], 0
js 0x5f2fb0
movdqa xmm0, xmmword [edi]
pmovmskb ecx, xmm0
bsf cx, cx
movzx edx, cx
jmp 0x5f2fb0
movq xmm0, qword [edi]
movq xmm1, qword [edi + 8]
movq qword [edi + ebx + 8], xmm1
movq qword [edi + ebx], xmm0
xor ebx, ebx
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], edi
jmp 0x5f3158
mov edx, dword [esp + 0x18]
mov edi, ebx
shr eax, 0x19
lea esi, [edx - 0x10]
mov ebx, edx
mov byte [edi + edx], al
and esi, ecx
mov byte [esi + edi + 0x10], al
mov esi, dword [esp + 0x20]
cmp ebx, dword [esp + 0x2c]
lea ebx, [ebx + 1]
je 0x5f2f14
cmp byte [edi + ebx], 0x80
jne 0x5f314b
mov esi, dword [ebp + 8]
mov eax, ebx
mov dword [esp + 0x18], ebx
not eax
lea eax, [eax + eax*4]
lea edx, [edi + eax*8]
lea ecx, [edi + eax*8 + 8]
movzx eax, word [edi + eax*8]
movups xmm0, xmmword [esi]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x28], edx
movaps xmmword [esp + 0x90], xmm0
nop word [eax + eax]
movdqa xmm1, xmmword [esp + 0x90]
lea ecx, [esp + 0x70]
movzx eax, ax
mov dword [ecx + 4], 0
mov dword [ecx], 0
mov dword [ecx + 8], 0
pshufd xmm0, xmm1, 0xee
movdqu xmmword [esp + 0x40], xmm1
movd ebx, xmm0
pshufd xmm0, xmm1, 0xff
movd esi, xmm0
pshufd xmm0, xmm1, 0x44
mov ecx, esi
pxor xmm0, xmmword [str.uespemosarenegyl]
xor esi, 0x74656462
xor ecx, 0x646f7261
mov dword [esp], esi
mov edi, ecx
mov dword [esp + 0x10], ecx
mov ecx, ebx
xor ebx, 0x79746573
xor ecx, 0x6e646f6d
movdqu xmmword [esp + 0x50], xmm0
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], esi
mov dword [esp + 0x7c], 0
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], 0
pshufd xmm1, xmm0, 0x55
movzx esi, word [edx + 2]
mov dword [esp + 0x78], 4
mov dword [esp + 0x7c], 4
movzx edi, word [edx + 6]
shl esi, 0x10
or esi, eax
movzx eax, word [edx + 4]
shl edi, 0x10
movd edx, xmm0
mov dword [esp + 0x78], 8
mov dword [esp + 0xc], esi
xor ebx, esi
movd esi, xmm1
pshufd xmm1, xmm0, 0xff
pshufd xmm0, xmm0, 0xee
or edi, eax
mov eax, ecx
xor dword [esp], edi
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x10]
add edx, ecx
mov dword [esp + 8], edx
adc esi, edi
shrd eax, edi, 0x13
shld ecx, edi, 0xd
movd edi, xmm0
xor eax, esi
xor ecx, edx
mov dword [esp + 4], esi
add edi, ebx
movd esi, xmm1
mov edx, ebx
mov dword [esp + 0x10], eax
mov eax, dword [esp]
adc esi, eax
shld edx, eax, 0x10
shrd ebx, eax, 0x10
xor edx, edi
xor ebx, esi
add dword [esp + 4], edx
mov eax, edx
adc dword [esp + 8], ebx
shld eax, ebx, 0x15
shrd edx, ebx, 0xb
mov ebx, dword [esp + 8]
xor eax, dword [esp + 4]
xor edx, ebx
add edi, ecx
mov dword [esp + 0x68], eax
mov eax, ecx
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x10]
adc esi, edx
shrd ecx, edx, 0xf
shld eax, edx, 0x11
xor ebx, dword [esp + 0x14]
lea edx, [esp + 0x40]
xor ecx, esi
xor eax, edi
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 4]
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], ebx
xor ecx, dword [esp + 0xc]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x7c], 0
call fcn.005fd1f0
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x6c]
mov esi, dword [esp + 0x70]
mov eax, dword [esp + 0x60]
mov edi, dword [esp + 0x64]
mov ebx, dword [esp + 0x54]
shl edx, 0x18
mov dword [esp + 0x10], esi
mov dword [esp], eax
or edx, dword [esp + 0x74]
mov dword [esp + 8], edx
xor ecx, edx
mov edx, dword [esp + 0x68]
xor edx, esi
mov esi, dword [esp + 0x50]
add esi, eax
mov eax, dword [esp]
mov dword [esp + 0xc], esi
mov esi, dword [esp]
adc ebx, edi
mov dword [esp + 4], ebx
shld eax, edi, 0xd
shld edi, esi, 0xd
mov esi, dword [esp + 0xc]
xor edi, ebx
mov ebx, dword [esp + 0x5c]
xor eax, esi
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x58]
add eax, edx
mov dword [esp], eax
mov eax, edx
adc ebx, ecx
shrd edx, ecx, 0x10
shld eax, ecx, 0x10
xor edx, ebx
xor eax, dword [esp]
add dword [esp + 4], eax
mov ecx, eax
adc esi, edx
shrd eax, edx, 0xb
shld ecx, edx, 0x15
xor eax, esi
xor ecx, dword [esp + 4]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x3c]
add dword [esp], eax
mov edx, eax
adc ebx, edi
shld edx, edi, 0x11
shrd eax, edi, 0xf
mov edi, esi
mov esi, dword [esp + 0x10]
mov dword [esp + 0x14], edx
xor eax, ebx
xor edi, dword [esp + 8]
xor ebx, 0xff
mov edx, dword [esp + 0x14]
mov dword [esp + 8], ebx
xor dword [esp + 4], esi
mov esi, ecx
xor edx, dword [esp]
add dword [esp + 4], edx
mov ebx, edx
adc edi, eax
shrd edx, eax, 0x13
shld ebx, eax, 0xd
mov eax, dword [esp + 0xc]
xor edx, edi
xor ebx, dword [esp + 4]
mov dword [esp + 0x14], edx
mov edx, edi
mov edi, dword [esp + 8]
add edi, ecx
adc dword [esp], eax
shrd ecx, eax, 0x10
shld esi, eax, 0x10
mov dword [esp + 8], edi
xor ecx, dword [esp]
xor esi, edi
mov edi, dword [esp]
add edx, esi
mov eax, esi
mov dword [esp + 0xc], edx
adc dword [esp + 4], ecx
shld eax, ecx, 0x15
shrd esi, ecx, 0xb
mov ecx, ebx
xor eax, edx
xor esi, dword [esp + 4]
add dword [esp + 8], ebx
mov edx, dword [esp + 0x14]
adc edi, edx
shld ecx, edx, 0x11
shrd ebx, edx, 0xf
xor ecx, dword [esp + 8]
xor ebx, edi
mov dword [esp], edi
mov edi, dword [esp + 4]
add dword [esp + 0xc], ecx
mov edx, ecx
adc edi, ebx
shrd ecx, ebx, 0x13
shld edx, ebx, 0xd
mov ebx, eax
mov dword [esp + 4], edi
xor ecx, edi
mov edi, dword [esp + 0xc]
xor edx, edi
add dword [esp], eax
adc dword [esp + 8], esi
shld ebx, esi, 0x10
shrd eax, esi, 0x10
xor ebx, dword [esp]
xor eax, dword [esp + 8]
add dword [esp + 4], ebx
mov esi, ebx
adc edi, eax
shld esi, eax, 0x15
shrd ebx, eax, 0xb
mov eax, edx
mov dword [esp + 0xc], edi
xor ebx, edi
xor esi, dword [esp + 4]
add dword [esp], edx
mov edi, dword [esp + 8]
adc edi, ecx
shld eax, ecx, 0x11
shrd edx, ecx, 0xf
xor eax, dword [esp]
mov dword [esp + 8], edi
xor edx, edi
mov edi, dword [esp + 4]
add edi, eax
mov ecx, eax
adc dword [esp + 0xc], edx
shld ecx, edx, 0xd
shrd eax, edx, 0x13
mov edx, esi
xor ecx, edi
xor eax, dword [esp + 0xc]
add dword [esp + 8], esi
mov edi, dword [esp]
adc edi, ebx
shrd esi, ebx, 0x10
shld edx, ebx, 0x10
mov ebx, dword [esp + 8]
xor esi, edi
xor edx, ebx
shld edx, esi, 0x15
add ebx, ecx
adc edi, eax
shrd eax, ecx, 0xf
xor eax, edx
xor eax, edi
mov edi, dword [esp + 0x24]
xor eax, ebx
mov ebx, dword [esp + 0x2c]
mov ecx, ebx
and ecx, eax
movdqu xmm0, xmmword [edi + ecx]
mov esi, ecx
pmovmskb edx, xmm0
test edx, edx
jne 0x5f357c
mov esi, ecx
mov ecx, ebx
mov ebx, edi
mov edi, 0x10
mov dword [esp + 4], esi
nop dword [eax]
add esi, edi
add edi, 0x10
and esi, ecx
movdqu xmm0, xmmword [ebx + esi]
pmovmskb edx, xmm0
test edx, edx
je 0x5f3560
mov edi, ebx
mov ebx, ecx
mov ecx, dword [esp + 4]
bsf dx, dx
movzx edx, dx
add edx, esi
and edx, ebx
cmp byte [edi + edx], 0
js 0x5f359c
movdqa xmm0, xmmword [edi]
pmovmskb edx, xmm0
bsf dx, dx
movzx edx, dx
mov esi, dword [esp + 0x18]
mov ebx, edi
mov edi, edx
sub edi, ecx
sub esi, ecx
mov ecx, dword [esp + 0x2c]
xor edi, esi
and edi, ecx
cmp edi, 0x10
jb 0x5f3130
mov edi, ebx
mov bl, byte [ebx + edx]
lea esi, [edx - 0x10]
shr eax, 0x19
and esi, ecx
mov byte [edi + edx], al
mov byte [esi + edi + 0x10], al
cmp bl, 0xff
je 0x5f3640
not edx
lea eax, [edx + edx*4]
mov edx, dword [esp + 0x28]
movdqu xmm0, xmmword [edi + eax*8]
movups xmm1, xmmword [edi + eax*8 + 0x10]
movsd xmm2, qword [edx + 0x18]
movsd qword [edi + eax*8 + 0x18], xmm2
movsd xmm2, qword [edx + 0x10]
movsd qword [edi + eax*8 + 0x10], xmm2
movsd xmm2, qword [edx]
movsd xmm3, qword [edx + 8]
movsd qword [edi + eax*8 + 8], xmm3
movsd qword [edi + eax*8], xmm2
movdqu xmmword [edx], xmm0
movups xmmword [edx + 0x10], xmm1
movq xmm1, qword [edi + eax*8 + 0x20]
movsd xmm2, qword [edx + 0x20]
movsd qword [edi + eax*8 + 0x20], xmm2
movq qword [edx + 0x20], xmm1
movd eax, xmm0
jmp 0x5f3190
mov ebx, dword [esp + 0x18]
not edx
lea eax, [ebx - 0x10]
mov byte [edi + ebx], 0xff
and eax, ecx
mov byte [eax + edi + 0x10], 0xff
lea eax, [edx + edx*4]
mov edx, dword [esp + 0x28]
movsd xmm0, qword [edx + 0x20]
movsd qword [edi + eax*8 + 0x20], xmm0
movsd xmm0, qword [edx + 0x18]
movsd qword [edi + eax*8 + 0x18], xmm0
movsd xmm0, qword [edx + 0x10]
movsd qword [edi + eax*8 + 0x10], xmm0
movq xmm0, qword [edx]
movq xmm1, qword [edx + 8]
movq qword [edi + eax*8 + 8], xmm1
movq qword [edi + eax*8], xmm0
jmp 0x5f3147
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 8]
mov esi, dword [esp + 0x2c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax + 4], edi
test esi, esi
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x20]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x34]
mov dword [ecx], 0
je 0x5f2f29
mov eax, dword [esp + 0x88]
mul dword [esp + 0x8c]
mov edx, dword [esp + 0x24]
lea ecx, [edx + eax - 1]
mov eax, edx
neg eax
and eax, ecx
add esi, eax
cmp esi, 0xffffffef
je 0x5f2f29
mov ecx, dword [esp + 0x84]
sub ecx, eax
cmp dword [esp + 0x24], 9
jb 0x5f3700
mov ecx, dword [ecx - 4]
push ecx
push 0
push dword [0x6f1130]
call sub.KERNEL32.dll_HeapFree
jmp 0x5f2f29
call fcn.0049fcd0
ud2