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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x48
mov esi, dword [esp + 0x64]
mov ebp, dword [esp + 0x60]
mov ecx, dword [ebp + 4]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [ecx + eax + 2], 0
lea eax, [eax + 2]
jne 0x415a50
mov edx, eax
sar edx, 1
xor edx, 0x1b
mov ebx, dword [esi + 4]
mov ecx, 0xfffffffe
nop
nop
nop
nop
nop
nop
cmp word [ebx + ecx + 2], 0
lea ecx, [ecx + 2]
jne 0x415a70
and eax, 0x36
add edx, eax
sar ecx, 1
add ecx, edx
jns 0x415a8d
mov ecx, 0xffffffff
jmp 0x415a8f
add ecx, ecx
push ecx
call fcn.00409620
add esp, 4
mov dword [esp + 0xc], 0xdc91dea3
mov dword [esp + 0x10], 0xc0a4c252
mov dword [esp + 0x14], 0xc4a9c6a0
mov dword [esp + 0x18], 0xc882caeb
mov dword [esp + 0x1c], 0xcc59ce57
mov dword [esp + 0x20], 0xf063f298
mov dword [esp + 0x24], 0xf49af662
mov dword [esp + 0x28], 0xf86bfa6a
mov dword [esp + 0x2c], 0xfc88fedf
mov dword [esp + 0x30], 0xe075e288
mov dword [esp + 0x34], 0xe48ae673
mov dword [esp + 0x38], 0xe880ea79
mov dword [esp + 0x3c], 0xec91ee7a
mov dword [esp + 0x40], 0x1213
mov byte [esp + 0x44], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 0x38
ja 0x415b50
nop
nop
nop
nop
mov edx, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0xc]
add edx, 0x9b38a54c
xor edx, ecx
mov dword [esp + 4], edx
mov edx, dword [esp + 4]
add dl, 0x6d
mov ecx, dword [esp]
mov byte [esp + ecx + 0xc], dl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 0x39
jb 0x415b20
mov ecx, dword [ebp + 4]
movzx edx, word [ecx]
mov edi, eax
test dx, dx
je 0x415b81
add ecx, 2
mov edi, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [edi], dx
add edi, 2
movzx edx, word [ecx]
add ecx, 2
test dx, dx
jne 0x415b70
mov word [edi], 0
movzx ecx, word [esp + 0xc]
test cx, cx
je 0x415bb1
lea edx, [esp + 0xe]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [edi], cx
add edi, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x415ba0
mov word [edi], 0
movzx ecx, word [ebx]
test cx, cx
mov dword [esp + 8], eax
je 0x415be1
add ebx, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [edi], cx
add edi, 2
movzx ecx, word [ebx]
add ebx, 2
test cx, cx
jne 0x415bd0
mov word [edi], 0
mov ebp, dword [ebp]
mov eax, 0xfffffffe
nop
nop
cmp word [ebp + eax + 2], 0
lea eax, [eax + 2]
jne 0x415bf0
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx + 8]
mov ecx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [edx + ecx + 2], 0
lea ecx, [ecx + 2]
jne 0x415c10
mov ebx, dword [esi]
mov edx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [ebx + edx + 2], 0
lea edx, [edx + 2]
jne 0x415c30
sar eax, 1
sar ecx, 1
sar edx, 1
add ecx, eax
lea eax, [edx + ecx]
add eax, 0xe
test eax, eax
jns 0x415c54
mov eax, 0xffffffff
jmp 0x415c5d
add ecx, edx
lea eax, [ecx*2 + 0x1c]
push eax
call fcn.00409620
add esp, 4
mov edi, eax
movzx ecx, word [ebp]
test cx, cx
je 0x415c92
add ebp, 2
mov eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [ebp]
add ebp, 2
test cx, cx
jne 0x415c80
mov word [eax], 0x2f
mov dword [esp + 0xc], 0x76bc7040
mov dword [esp + 0x10], 0x7a8f748d
mov dword [esp + 0x14], 0x7e8d7892
mov dword [esp + 0x18], 0x2ec7c88
mov dword [esp + 0x1c], 0x6f500f0
mov dword [esp + 0x20], 0xa3a04f0
mov word [esp + 0x24], 0x809
mov dword [esp + 0x26], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 0x1d
ja 0x415d2d
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 0xc]
lea ebp, [ecx + edx]
add ebp, 0x1b93f432
add ecx, 0x1b93f432
and ecx, edx
add ecx, ecx
sub ebp, ecx
mov dword [esp + 4], ebp
mov ecx, dword [esp + 4]
add cl, 0xbd
mov edx, dword [esp]
mov byte [esp + edx + 0xc], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 0x1e
jb 0x415cf0
add eax, 2
mov ecx, dword [esp + 0x60]
mov ecx, dword [ecx + 8]
movzx edx, word [ecx]
test dx, dx
je 0x415d63
add ecx, 2
mov esi, dword [esp + 8]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], dx
add eax, 2
movzx edx, word [ecx]
add ecx, 2
test dx, dx
jne 0x415d50
jmp 0x415d67
mov esi, dword [esp + 8]
mov word [eax], 0
movzx ecx, word [esp + 0xc]
test cx, cx
je 0x415d91
lea edx, [esp + 0xe]
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x415d80
mov word [eax], 0
movzx ecx, word [ebx]
test cx, cx
je 0x415dc1
add ebx, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [ebx]
add ebx, 2
test cx, cx
jne 0x415db0
mov word [eax], 0
mov dword [esp], 0x1e1d1cf9
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 3
ja 0x415e1e
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx]
add eax, 0xa57c8ee7
xor eax, ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov ecx, eax
not ecx
and ecx, 0xf4
and eax, 0xb
sub eax, ecx
mov ecx, dword [esp + 4]
mov byte [esp + ecx], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 4
jb 0x415de0
mov eax, esp
push 0
push 0
push 0
push 0xc00000
push eax
push esi
push edi
push dword [esp + 0x78]
call fcn.00419bb0
add esp, 0x20
mov ebx, eax
jmp dword [0x445b1c]