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

Disassembly:
sub esp, 0x54
mov eax, dword [0x46f81c]
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 0x40740b
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 0x407242
sub eax, esi
lea ecx, [esp + 0x48]
push eax
push edx
call fcn.00401590
mov edx, dword [esp + 0x48]
mov dword [esp + 0x34], edx
test edi, edi
je 0x4073b9
cmp ebp, 3
jbe 0x4073b9
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 0x40735b
mov ebx, eax
nop dword [eax]
nop dword [eax + eax]
push str.GYAUs87atedyuw3
push 0x470b48
call fcn.00401230
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.004034d0
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 0x407310
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
test eax, eax
je 0x407310
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
push dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
call fcn.00407920
mov ecx, dword [esp + 0x2c]
call fcn.00407080
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 0x4072b0
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 0x407386
sub ebx, 1
je 0x40737d
sub ebx, 1
jne 0x407393
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 0x4073b1
cmp ecx, ebp
je 0x407424
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 0x4073fc
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x4073ee
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407479
push ecx
push edx
call fcn.0040b479
mov ecx, dword [esp + 0x1c]
add esp, 8
inc ebx
mov dword [esp + 0x10], ebx
cmp ebx, dword [esp + 0x38]
jb 0x407221
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.0040b48c
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 0x40740b
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x40746d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407479
push ecx
push edx
call fcn.0040b479
add esp, 8
jmp 0x40740b
call fcn.0040fedf
int3