Function at 0x4067a3
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
jmp 0x418190
sub esp, 0x44
mov eax, dword [0x4e11d0]
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 + 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 + 0x34], eax
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x18]
add ecx, edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x30], eax
test eax, eax
je 0x418345
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 0x418202
sub eax, esi
lea ecx, [esp + 0x38]
push eax
push edx
call fcn.00405637
mov edx, dword [esp + 0x38]
mov dword [esp + 0x2c], edx
test edi, edi
je 0x4182f3
cmp ebp, 3
jbe 0x4182f3
mov edi, dword [esp + 0x48]
lea ecx, [esp + 0x38]
mov ebp, edi
mov dword [esp + 0x28], edi
xor ebp, 0x14d
mov eax, edi
cmp dword [esp + 0x4c], 0x10
cmovae ecx, edx
shr eax, 2
xor ebx, ebx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], eax
test eax, eax
je 0x418299
mov edi, eax
imul esi, dword [ecx + ebx*4], 0x5bd1e991
push 0
call dword [sym.imp.GDI32.dll_CancelDC]
mov eax, esi
imul ebp, ebp, 0x5bd1e991
shr eax, 0x18
inc ebx
xor eax, esi
imul ecx, eax, 0x5bd1e991
xor ebp, ecx
mov ecx, dword [esp + 0x20]
cmp ebx, edi
jl 0x418260
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
lea esi, [ecx + eax*4]
and edi, 3
xor ecx, ecx
sub edi, 1
je 0x4182c0
sub edi, 1
je 0x4182b7
sub edi, 1
jne 0x4182cd
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 ebp, eax
mov eax, ebp
shr eax, 0xd
xor eax, ebp
mov ebp, dword [esp + 0x5c]
imul eax, eax, 0x5bd1e991
mov ecx, eax
shr ecx, 0xf
xor ecx, eax
je 0x4182eb
cmp ecx, ebp
je 0x41835e
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x4c]
add ecx, 4
mov dword [esp + 0x14], ecx
cmp eax, 0x10
jb 0x418336
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x418328
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4183b3
push ecx
push edx
call fcn.00401a64
mov ecx, dword [esp + 0x1c]
add esp, 8
inc ebx
mov dword [esp + 0x10], ebx
cmp ebx, dword [esp + 0x30]
jb 0x4181e1
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.00403102
add esp, 0x44
ret
mov esi, dword [esp + 0x34]
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 + 0x4c]
cmp eax, 0x10
jb 0x418345
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x4183a7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4183b3
push ecx
push edx
call fcn.00401a64
add esp, 8
jmp 0x418345
call fcn.0040490d
int3