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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x1b0
mov esi, esp
push eax
push eax
mov dword [esi + 0x64], esp
sub esp, 0xc
mov dword [esi + 0x2c], esp
sub esp, 0x2c
mov dword [esi + 0x3c], esp
sub esp, 0xc
mov dword [esi + 0x5c], esp
sub esp, 0x10
mov eax, esp
and eax, 0xfffffff8
mov dword [esi + 0xc], eax
mov esp, eax
push eax
sub esp, 8
mov eax, esp
mov dword [esi + 0x30], eax
mov dword [esi + 0x14], eax
sub esp, 0xc
mov dword [esi + 8], esp
sub esp, 0xc
mov dword [esi + 0x24], esp
sub esp, 8
mov dword [esi + 0x60], esp
sub esp, 0xc
mov edi, esp
sub esp, 0x18
mov dword [esi + 0x28], esp
sub esp, 0xc
mov dword [esi + 0x58], esp
sub esp, 8
mov dword [esi + 0x40], esp
sub esp, 0xc
mov ebx, esp
mov dword [esi + 0x48], 0xb924bb55
mov dword [esi + 0x4c], 0xbd2fbf2d
mov dword [esi + 0x50], 0xb1b2b32e
mov word [esi + 0x54], 0
mov byte [esi + 0x56], 0
mov eax, 0x5f
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esi + eax - 0x17]
mov edx, ecx
not edx
or edx, eax
add dl, dl
add dl, cl
neg dl
movzx ecx, dl
add ecx, eax
add cl, 0x23
mov byte [esi + eax - 0x17], cl
inc eax
cmp eax, 0x6e
jne 0x417910
mov dword [esi + 0x68], 0x23b621b8
mov dword [esi + 0x6c], 0x27b625b0
mov dword [esi + 0x70], 0x5b055912
mov dword [esi + 0x74], 0x5fc25d03
mov dword [esi + 0x78], 0x533151cf
mov dword [esi + 0x7c], 0x57ca5535
mov dword [esi + 0x80], 0x4bd549d0
mov dword [esi + 0x84], 0x4fda4ddf
mov dword [esi + 0x88], 0x4342410a
mov word [esi + 0x8c], 0
mov byte [esi + 0x8e], 0
xor eax, eax
nop
nop
nop
mov ecx, eax
add cl, 0xb8
xor cl, byte [esi + eax + 0x68]
add cl, 0x68
mov byte [esi + eax + 0x68], cl
inc eax
cmp eax, 0x27
jne 0x417990
movzx ecx, word [esi + 0x68]
lea eax, [esi + 0x172]
test cx, cx
je 0x4179d1
lea edx, [esi + 0x6a]
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x4179c0
mov word [eax], 0
mov edx, dword [ebp + 0x10]
movzx ecx, word [edx]
test cx, cx
je 0x417a01
add edx, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x4179f0
mov word [eax], 0
movzx ecx, word [esi + 0x48]
test cx, cx
je 0x417a31
lea edx, [esi + 0x4a]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x417a20
mov word [eax], 0
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov dword [esi + 0x68], 0xb5a8a8c6
mov byte [esi + 0x6c], 0xd0
mov word [esi + 0x6d], 0
mov byte [esi + 0x6f], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0xcd
xor cl, byte [esi + eax + 0x68]
dec cl
mov byte [esi + eax + 0x68], cl
inc eax
cmp eax, 8
jne 0x417a60
movzx eax, byte [esi + 0x68]
test al, al
mov dword [esi + 0x18], edi
je 0x417a9b
lea ecx, [esi + 0x69]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [edx], al
inc edx
movzx eax, byte [ecx]
inc ecx
test al, al
jne 0x417a90
mov byte [edx], 0
lea eax, [esi + 0x16c]
lea ecx, [esi + 0x44]
mov edi, edx
lea edx, [esi + 0x172]
push eax
push ecx
push edx
call fcn.0040b660
add esp, 0xc
movzx eax, al
mov eax, dword [eax*4 + 0x443d94]
mov ecx, 0xc678b84a
xor ecx, dword [0x443d9c]
add eax, ecx
inc eax
jmp eax