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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x4c
mov esi, dword [esp + 0x68]
mov eax, dword [esp + 0x64]
mov ebx, dword [eax + 4]
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [ebx + eax], 0
lea eax, [eax + 2]
jne 0x420cb0
lea ecx, [ebx + eax]
add ecx, 0xfffffffe
add eax, ebx
mov edx, 1
sub edx, eax
and edx, ebx
mov eax, ebx
not eax
and eax, ecx
mov ecx, eax
sub ecx, edx
mov edi, dword [esi + 4]
xor eax, eax
nop
nop
nop
nop
nop
nop
cmp word [edi + eax], 0
lea eax, [eax + 2]
jne 0x420ce0
sar ecx, 1
mov esi, ecx
lea ebp, [edi + eax]
add ebp, 0xfffffffe
add eax, edi
mov edx, 1
sub edx, eax
and edx, edi
mov ecx, edi
not ecx
and ecx, ebp
sub ecx, edx
sar ecx, 1
mov dword [esp + 0x44], esi
lea eax, [esi + 0x1b]
mov edx, ecx
and edx, eax
mov dword [esp + 8], ecx
xor eax, ecx
lea eax, [eax + edx*2]
test eax, eax
jns 0x420d28
mov eax, 0xffffffff
jmp 0x420d2a
add eax, eax
push eax
call fcn.0040c560
add esp, 4
mov dword [esp + 0xc], 0xe132e700
mov dword [esp + 0x10], 0xfd1fe311
mov dword [esp + 0x14], 0xf90aff1f
mov dword [esp + 0x18], 0xf525fbd8
mov dword [esp + 0x1c], 0xf17af77c
mov dword [esp + 0x20], 0x8d04f30f
mov dword [esp + 0x24], 0x89758f01
mov dword [esp + 0x28], 0x857c8b79
mov dword [esp + 0x2c], 0x816b87a4
mov dword [esp + 0x30], 0x9d0e837f
mov dword [esp + 0x34], 0x99659f10
mov dword [esp + 0x38], 0x95639b6e
mov dword [esp + 0x3c], 0x91729719
mov dword [esp + 0x40], 0x9390
mov ebp, 0x29
mov ecx, 0x56
nop
nop
nop
mov esi, ecx
and esi, 0x40
mov edx, ebp
and edx, 0x3f
or edx, esi
xor dl, byte [esp + ebp - 0x1d]
xor dl, 0xc0
add dl, 0xb3
mov byte [esp + ebp - 0x1d], dl
inc ebp
dec ecx
cmp ebp, 0x61
jne 0x420db0
movzx ecx, word [ebx]
mov esi, eax
test cx, cx
je 0x420df1
add ebx, 2
mov esi, eax
mov word [esi], cx
add esi, 2
movzx ecx, word [ebx]
add ebx, 2
test cx, cx
jne 0x420de0
mov word [esi], 0
movzx ecx, word [esp + 0xc]
test cx, cx
mov ebp, dword [esp + 0x64]
je 0x420e21
lea edx, [esp + 0xe]
nop
nop
nop
nop
nop
nop
nop
nop
mov word [esi], cx
add esi, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x420e10
mov word [esi], 0
movzx ecx, word [edi]
test cx, cx
je 0x420e51
add edi, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [esi], cx
add esi, 2
movzx ecx, word [edi]
add edi, 2
test cx, cx
jne 0x420e40
mov dword [esp + 0x48], eax
mov word [esi], 0
mov esi, dword [ebp]
xor eax, eax
nop
cmp word [esi + eax], 0
lea eax, [eax + 2]
jne 0x420e60
lea ecx, [esi + eax]
add ecx, 0xfffffffe
add eax, esi
mov edx, 1
sub edx, eax
and edx, esi
mov eax, esi
not eax
and eax, ecx
sub eax, edx
mov dword [esp + 4], eax
mov ebp, dword [ebp + 8]
xor ecx, ecx
nop
nop
nop
nop
cmp word [ebp + ecx], 0
lea ecx, [ecx + 2]
jne 0x420e90
lea edx, [ecx + ebp]
add edx, 0xfffffffe
add ecx, ebp
mov edi, 1
sub edi, ecx
and edi, ebp
mov ecx, ebp
not ecx
and ecx, edx
sub ecx, edi
mov eax, dword [esp + 0x68]
mov ebx, dword [eax]
xor edx, edx
nop
nop
nop
nop
cmp word [ebx + edx], 0
lea edx, [edx + 2]
jne 0x420ec0
mov edi, dword [esp + 4]
sar edi, 1
sar ecx, 1
lea eax, [ebx + edx]
add eax, 0xfffffffe
mov dword [esp + 4], eax
add edx, ebx
mov eax, 1
sub eax, edx
and eax, ebx
mov edx, ebx
not edx
and edx, dword [esp + 4]
sub edx, eax
sar edx, 1
add ecx, edi
lea eax, [edx + ecx]
add eax, 0x13
test eax, eax
jns 0x420f06
mov eax, 0xffffffff
jmp 0x420f0f
add ecx, edx
lea eax, [ecx*2 + 0x26]
push eax
call fcn.0040c560
add esp, 4
mov edi, eax
movzx eax, word [esi]
mov dword [esp + 4], edi
test ax, ax
je 0x420f41
add esi, 2
mov edi, dword [esp + 4]
nop
nop
nop
mov word [edi], ax
add edi, 2
movzx eax, word [esi]
add esi, 2
test ax, ax
jne 0x420f30
mov word [edi], 0x2f
mov dword [esp + 0xc], 0xd189cffd
mov dword [esp + 0x10], 0xd5a6d3a8
mov dword [esp + 0x14], 0xd9b8d7b3
mov dword [esp + 0x18], 0xddb1dbad
mov dword [esp + 0x1c], 0xe1b0dfad
mov dword [esp + 0x20], 0xe5d3e395
mov dword [esp + 0x24], 0xe7e4
xor eax, eax
mov ecx, eax
add cl, 0x4d
xor cl, byte [esp + eax + 0xc]
add cl, 0x7f
mov byte [esp + eax + 0xc], cl
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
cmp eax, 0x1c
jb 0x420f80
add edi, 2
movzx eax, word [ebp]
test ax, ax
je 0x420fc2
add ebp, 2
nop
mov word [edi], ax
add edi, 2
movzx eax, word [ebp]
add ebp, 2
test ax, ax
jne 0x420fb0
mov word [edi], 0
movzx eax, word [esp + 0xc]
test ax, ax
je 0x420ff3
lea ecx, [esp + 0xe]
mov ebp, dword [esp + 0x64]
nop
nop
nop
nop
nop
nop
nop
mov word [edi], ax
add edi, 2
movzx eax, word [ecx]
add ecx, 2
test ax, ax
jne 0x420fe0
jmp 0x420ff7
mov ebp, dword [esp + 0x64]
mov word [edi], 0
movzx eax, word [ebx]
test ax, ax
je 0x421021
add ebx, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [edi], ax
add edi, 2
movzx eax, word [ebx]
add ebx, 2
test ax, ax
jne 0x421010
mov word [edi], 0
mov dword [esp + 0xc], 0x2322217a
mov byte [esp + 0x10], 0
mov eax, 0x6d897238
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax - 0x6d89722c]
xor ecx, eax
mov edx, ecx
and edx, 0xcc0040e7
xor ecx, 0xdc50c4e7
lea edx, [ecx + edx*2]
and ecx, 1
mov esi, edx
add ecx, edx
and edx, 0xfe
xor esi, 1
add ecx, esi
sub ecx, edx
mov byte [esp + eax - 0x6d89722c], cl
inc eax
cmp eax, 0x6d89723d
jne 0x421040
lea eax, [esp + 0xc]
push 0
push 0
push 0xc00000
push eax
mov esi, dword [esp + 0x58]
push esi
push dword [esp + 0x18]
push dword [esp + 0x78]
call fcn.00424520
add esp, 0x1c
mov byte [esp + 3], al
mov ebx, dword [esp + 8]
jmp dword [0x44a9c0]