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

Disassembly:
jmp 0x414df0
sub esp, 0x54
mov eax, dword [0x508c34]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x68]
xor ebx, ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], 0
mov dword [esp + 0x10], ebx
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + edi + 0x78]
add eax, edi
mov dword [esp + 0x3c], eax
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x18]
add ecx, edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x38], eax
test eax, eax
je 0x41502b
mov ebp, dword [esp + 0x6c]
mov edx, dword [ecx]
xorps xmm0, xmm0
add edx, edi
mov dword [esp + 0x58], 0
mov eax, edx
mov dword [esp + 0x5c], 0
movups xmmword [esp + 0x48], xmm0
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x414e62
sub eax, esi
lea ecx, [esp + 0x48]
push eax
push edx
call fcn.0040565a
mov edx, dword [esp + 0x48]
mov dword [esp + 0x34], edx
test edi, edi
je 0x414fd9
cmp ebp, 3
jbe 0x414fd9
mov ebx, dword [esp + 0x58]
lea eax, [esp + 0x48]
mov edi, ebx
mov dword [esp + 0x30], ebx
xor edi, 0x14d
cmp dword [esp + 0x5c], 0x10
cmovae eax, edx
xor ebp, ebp
mov dword [esp + 0x20], eax
mov eax, ebx
shr eax, 2
mov dword [esp + 0x1c], eax
test eax, eax
je 0x414f7b
mov ebx, eax
nop dword [eax]
nop dword [eax + eax]
push str.GYAUs87atedyuw3
push 0x50b3c0
call fcn.004035a8
add esp, 8
mov dword [esp + 0x2c], eax
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
mov ecx, dword [ecx + eax + 0x30]
mov esi, dword [ecx + 4]
mov ecx, esi
mov dword [esp + 0x44], esi
mov edx, dword [esi]
call dword [edx + 4]
lea eax, [esp + 0x40]
push eax
call fcn.00403693
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0xa
mov eax, dword [edx + 0x20]
call eax
mov byte [esp + 0x28], al
test esi, esi
je 0x414f30
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
test eax, eax
je 0x414f30
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
push dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
call fcn.00403503
mov ecx, dword [esp + 0x2c]
call fcn.004030d5
mov eax, dword [esp + 0x20]
imul edi, edi, 0x5bd1e991
imul ecx, dword [eax + ebp*4], 0x5bd1e991
inc ebp
mov eax, ecx
shr eax, 0x18
xor eax, ecx
imul ecx, eax, 0x5bd1e991
xor edi, ecx
cmp ebp, ebx
jl 0x414ed0
mov ebx, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
and ebx, 3
lea esi, [ecx + eax*4]
xor ecx, ecx
sub ebx, 1
je 0x414fa6
sub ebx, 1
je 0x414f9d
sub ebx, 1
jne 0x414fb3
movsx ecx, byte [esi + 2]
shl ecx, 0x10
movsx eax, byte [esi + 1]
shl eax, 8
xor ecx, eax
movsx eax, byte [esi]
xor eax, ecx
imul eax, eax, 0x5bd1e991
xor edi, eax
mov ebp, dword [esp + 0x6c]
mov eax, edi
shr eax, 0xd
xor eax, edi
imul eax, eax, 0x5bd1e991
mov ecx, eax
shr ecx, 0xf
xor ecx, eax
je 0x414fd1
cmp ecx, ebp
je 0x415044
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x5c]
add ecx, 4
mov dword [esp + 0x14], ecx
cmp eax, 0x10
jb 0x41501c
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x41500e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x415099
push ecx
push edx
call fcn.00401a78
mov ecx, dword [esp + 0x1c]
add esp, 8
inc ebx
mov dword [esp + 0x10], ebx
cmp ebx, dword [esp + 0x38]
jb 0x414e41
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x60]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040311b
add esp, 0x54
ret
mov esi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
mov eax, dword [esi + 0x24]
lea eax, [eax + ecx*2]
movzx ecx, word [eax + edi]
mov eax, dword [esi + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edi]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x5c]
cmp eax, 0x10
jb 0x41502b
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x41508d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x415099
push ecx
push edx
call fcn.00401a78
add esp, 8
jmp 0x41502b
call fcn.0040492b
int3