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

Disassembly:
jmp 0x4139e0
sub esp, 0x44
mov eax, dword [0x6922fc]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x58]
xor ebx, ebx
mov dword [esp + 0x1c], 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 + 0x34], eax
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x18]
add ecx, edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x30], eax
test eax, eax
je 0x413bb2
mov ebp, dword [esp + 0x5c]
mov edx, dword [ecx]
xorps xmm0, xmm0
add edx, edi
mov dword [esp + 0x48], 0
mov eax, edx
mov dword [esp + 0x4c], 0
movups xmmword [esp + 0x38], xmm0
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x413a52
sub eax, esi
lea ecx, [esp + 0x38]
push eax
push edx
call fcn.004054cf
mov edx, dword [esp + 0x38]
mov dword [esp + 0x20], edx
test edi, edi
je 0x413b60
cmp ebp, 3
jbe 0x413b60
mov ebp, dword [esp + 0x48]
lea eax, [esp + 0x38]
mov esi, ebp
mov dword [esp + 0x2c], ebp
xor esi, 0x14d
mov edi, ebp
cmp dword [esp + 0x4c], 0x10
cmovae eax, edx
shr edi, 2
xor edx, edx
mov dword [esp + 0x14], eax
xor ebx, ebx
test edi, edi
je 0x413afe
mov ebp, eax
nop
imul ecx, dword [ebp + ebx*4], 0x5bd1e991
mov eax, ecx
shr eax, 0x18
xor eax, ecx
imul ecx, eax, 0x5bd1e991
mov dword [esp + 0x28], ecx
test edx, edx
jne 0x413ae9
test bl, 1
je 0x413ae9
lea eax, [edi - 3]
cmp ebx, eax
jle 0x413ae9
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x28]
mov edx, 1
imul esi, esi, 0x5bd1e991
inc ebx
xor esi, ecx
cmp ebx, edi
jl 0x413ab0
mov ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
and ebp, 3
xor ecx, ecx
sub ebp, 1
je 0x413b24
sub ebp, 1
je 0x413b1a
sub ebp, 1
jne 0x413b36
movsx ecx, byte [eax + edi*4 + 2]
shl ecx, 0x10
movsx eax, byte [eax + edi*4 + 1]
shl eax, 8
xor ecx, eax
mov eax, dword [esp + 0x14]
movsx eax, byte [eax + edi*4]
xor eax, ecx
imul eax, eax, 0x5bd1e991
xor esi, eax
mov ebp, dword [esp + 0x5c]
mov eax, esi
shr eax, 0xd
xor eax, esi
imul eax, eax, 0x5bd1e991
mov ecx, eax
shr ecx, 0xf
xor ecx, eax
je 0x413b54
cmp ecx, ebp
je 0x413bcb
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x4c]
add ecx, 4
mov dword [esp + 0x18], ecx
cmp eax, 0x10
jb 0x413ba3
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x413b95
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413c24
push ecx
push edx
call fcn.00401a3c
mov ecx, dword [esp + 0x20]
add esp, 8
inc ebx
mov dword [esp + 0x10], ebx
cmp ebx, dword [esp + 0x30]
jb 0x413a31
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x50]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040306c
add esp, 0x44
ret
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x1c]
mov eax, dword [edx + 0x24]
lea eax, [eax + ecx*2]
movzx ecx, word [eax + edi]
mov eax, dword [edx + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edi]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x4c]
cmp eax, 0x10
jb 0x413bb2
mov edx, dword [esp + 0x20]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x413c18
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413c24
push ecx
push edx
call fcn.00401a3c
add esp, 8
jmp 0x413bb2
call fcn.004047e1
int3