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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x8c
mov ebp, dword [esp + 0xa8]
mov ebx, dword [esp + 0xa4]
mov ecx, dword [ebp + 4]
mov eax, 0xfffffffe
cmp word [ecx + eax + 2], 0
lea eax, [eax + 2]
jne 0x423180
mov ecx, 0xfffffffe
cmp word [ebx + ecx + 2], 0
lea ecx, [ecx + 2]
jne 0x423190
sar eax, 1
sar ecx, 1
lea edx, [eax + ecx]
add edx, 0x3f
test edx, edx
jns 0x4231b0
mov eax, 0xffffffff
jmp 0x4231b9
add eax, ecx
lea eax, [eax*2 + 0x7e]
push eax
call fcn.00408300
add esp, 4
mov esi, eax
mov dword [esp + 0x4c], 0x138f11f6
mov dword [esp + 0x50], 0x1ff31d8f
mov dword [esp + 0x54], 0x1bd9198a
mov dword [esp + 0x58], 0x7900593
mov dword [esp + 0x5c], 0x3ef019c
mov dword [esp + 0x60], 0xf920d94
mov dword [esp + 0x64], 0xbe609c1
mov dword [esp + 0x68], 0x37ea35f1
mov dword [esp + 0x6c], 0x33eb31e2
mov dword [esp + 0x70], 0x3fe73de0
mov dword [esp + 0x74], 0x3be539e6
mov dword [esp + 0x78], 0x27ff25f6
mov dword [esp + 0x7c], 0x23c621fd
mov dword [esp + 0x80], 0x2fc22dc5
mov dword [esp + 0x84], 0x2b2a29ca
mov dword [esp + 0x88], 0
xor eax, eax
nop
mov ecx, eax
add cl, 0x44
xor cl, byte [esp + eax + 0x4c]
add cl, 0xac
mov byte [esp + eax + 0x4c], cl
inc eax
cmp eax, 0x40
jne 0x423250
mov dword [esp + 4], 0x21ab2780
mov dword [esp + 8], 0x3d9323ac
mov dword [esp + 0xc], 0x399d3f8e
mov dword [esp + 0x10], 0x35853b81
mov dword [esp + 0x14], 0x318a3790
mov dword [esp + 0x18], 0xd8c338f
mov dword [esp + 0x1c], 0x9810faf
mov dword [esp + 0x20], 0x5860bbc
mov dword [esp + 0x24], 0x1b107a0
mov dword [esp + 0x28], 0x1d8803b1
mov dword [esp + 0x2c], 0x19a11f6b
mov dword [esp + 0x30], 0x15961b90
mov dword [esp + 0x34], 0x11a017ab
mov dword [esp + 0x38], 0x6da9139d
mov dword [esp + 0x3c], 0x69d86fdd
mov dword [esp + 0x40], 0x651f6b1d
mov dword [esp + 0x44], 0x61666711
mov byte [esp + 0x4a], 0
mov word [esp + 0x48], 0
mov eax, 0x89
mov ecx, 0x76
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edi, byte [esp + eax - 0x85]
mov edx, ecx
xor edx, eax
and edx, edi
xor edx, eax
add dl, 0x53
mov byte [esp + eax - 0x85], dl
inc eax
dec ecx
cmp eax, 0xd0
jne 0x423310
mov ecx, dword [ebp + 4]
movzx edx, word [ecx]
mov eax, esi
test dx, dx
je 0x423361
add ecx, 2
mov eax, esi
nop
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 0x423350
mov word [eax], 0
movzx ecx, word [esp + 4]
test cx, cx
je 0x423391
lea edx, [esp + 6]
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 0x423380
mov word [eax], 0
movzx ecx, word [ebx]
test cx, cx
je 0x4233c1
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 0x4233b0
mov word [eax], 0
movzx ecx, word [esp + 0x4c]
test cx, cx
je 0x4233f1
lea edx, [esp + 0x4e]
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 0x4233e0
mov word [eax], 0
mov eax, dword [esp + 0xac]
mov ebx, dword [eax]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [ebx + eax + 2], 0
lea eax, [eax + 2]
jne 0x423410
mov edx, dword [ebp]
mov ecx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [edx + ecx + 2], 0
lea ecx, [ecx + 2]
jne 0x423430
mov edi, dword [ebp + 8]
mov edx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [edi + edx + 2], 0
lea edx, [edx + 2]
jne 0x423450
mov dword [esp], esi
sar eax, 1
sar ecx, 1
sar edx, 1
add ecx, eax
lea eax, [edx + ecx]
add eax, 0xb
mov esi, ebp
test eax, eax
jns 0x423479
mov eax, 0xffffffff
jmp 0x423482
add ecx, edx
lea eax, [ecx*2 + 0x16]
push eax
call fcn.00408300
add esp, 4
mov edi, eax
mov dword [esp + 4], 0xfef09e3
mov dword [esp + 8], 0x3fe0df0
mov dword [esp + 0xc], 0x7f201e5
mov dword [esp + 0x10], 0x1b2905f3
mov dword [esp + 0x14], 0x1918
mov eax, 0x42
mov ecx, 0xbd
nop
movzx ebp, byte [esp + eax - 0x3e]
mov edx, ecx
xor edx, eax
and edx, ebp
xor edx, eax
add dl, 0xb6
mov byte [esp + eax - 0x3e], dl
inc eax
dec ecx
cmp eax, 0x56
jne 0x4234c0
movzx ecx, word [esp + 4]
mov eax, edi
test cx, cx
je 0x423501
lea edx, [esp + 6]
mov eax, edi
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x4234f0
mov word [eax], 0
movzx ecx, word [ebx]
test cx, cx
je 0x423531
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 0x423520
mov word [eax], 0x5f
add eax, 2
mov ecx, dword [esi]
movzx edx, word [ecx]
test dx, dx
je 0x423561
add ecx, 2
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 0x423550
mov word [eax], 0x5f
add eax, 2
mov ecx, dword [esi + 8]
movzx edx, word [ecx]
test dx, dx
je 0x423593
add ecx, 2
mov esi, dword [esp]
nop
nop
nop
nop
nop
nop
mov word [eax], dx
add eax, 2
movzx edx, word [ecx]
add ecx, 2
test dx, dx
jne 0x423580
jmp 0x423596
mov esi, dword [esp]
mov word [eax], 0
mov dword [esp + 4], 0x111e1fc6
mov dword [esp + 8], 0
xor eax, eax
xor ecx, ecx
nop
movzx ebx, byte [esp + ecx + 4]
mov ebp, eax
and ebp, 0xa
mov edx, ecx
xor edx, 0xd797d945
add edx, ebp
xor edx, ebx
mov ebx, edx
and ebx, 1
mov ebp, 1
sub ebp, edx
and edx, 0xfe
and ebp, 1
or ebp, edx
lea edx, [ebx*2]
add edx, ebp
add dl, 0xa6
mov byte [esp + ecx + 4], dl
inc ecx
add eax, 2
cmp ecx, 8
jne 0x4235b0
lea eax, [esp + 4]
push 0
push 1
push 0
push eax
push esi
push edi
push dword [esp + 0xb8]
call fcn.00423890
add esp, 0x1c
mov ebx, eax
jmp dword [0x446f94]