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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x84
mov ebx, dword [esp + 0xa4]
mov ebp, dword [esp + 0xa0]
mov ecx, dword [ebp]
mov eax, 0xfffffffe
cmp word [ecx + eax + 2], 0
lea eax, [eax + 2]
jne 0x4217d0
mov ecx, 0xfffffffe
cmp word [ebx + ecx + 2], 0
lea ecx, [ecx + 2]
jne 0x4217e0
sar eax, 1
sar ecx, 1
lea edx, [eax + ecx]
add edx, 0x3f
test edx, edx
jns 0x421800
mov eax, 0xffffffff
jmp 0x421809
add eax, ecx
lea eax, [eax*2 + 0x7e]
push eax
call fcn.004095a0
add esp, 4
mov esi, eax
mov dword [esp + 0x48], 0x931f9176
mov dword [esp + 0x4c], 0xaf53ad5f
mov dword [esp + 0x50], 0xab69a95a
mov dword [esp + 0x54], 0xa750a553
mov dword [esp + 0x58], 0xa35fa12c
mov dword [esp + 0x5c], 0xbf32bd34
mov dword [esp + 0x60], 0xbb46b961
mov dword [esp + 0x64], 0xb77ab571
mov dword [esp + 0x68], 0xb37bb182
mov dword [esp + 0x6c], 0x4f874d80
mov dword [esp + 0x70], 0x4b854986
mov dword [esp + 0x74], 0x478f4576
mov dword [esp + 0x78], 0x43a6418d
mov dword [esp + 0x7c], 0x5fa25da5
mov dword [esp + 0x80], 0x5b5a59ba
mov eax, 0x2b76165c
mov edi, 0xa3
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax - 0x2b761614]
mov ecx, edi
xor ecx, eax
and ecx, edx
xor ecx, eax
add ecx, 0xd3ad86b6
mov edx, ecx
and edx, 0x33
xor ecx, 0x33
lea ecx, [ecx + edx*2]
add cl, 0x4b
mov byte [esp + eax - 0x2b761614], cl
inc eax
dec edi
cmp eax, 0x2b761698
jne 0x4218a0
mov dword [esp], 0x29bf2bd8
mov dword [esp + 4], 0x2dbf2fbc
mov dword [esp + 8], 0xd135d3ba
mov dword [esp + 0xc], 0xd53dd739
mov dword [esp + 0x10], 0xd93edb28
mov dword [esp + 0x14], 0xdd34df33
mov dword [esp + 0x18], 0xc159c33b
mov dword [esp + 0x1c], 0xc552c72c
mov dword [esp + 0x20], 0xc959cb38
mov dword [esp + 0x24], 0xcd50cf59
mov dword [esp + 0x28], 0xf119f31f
mov dword [esp + 0x2c], 0xf562f768
mov dword [esp + 0x30], 0xf968fb1f
mov dword [esp + 0x34], 0xfd11ff6d
mov dword [esp + 0x38], 0xe170e36d
mov dword [esp + 0x3c], 0xe5cbe7cd
mov dword [esp + 0x40], 0xe9eaebc9
mov word [esp + 0x44], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0x77
xor cl, byte [esp + eax]
add cl, 0xad
mov byte [esp + eax], cl
inc eax
cmp eax, 0x46
jne 0x421970
mov ecx, dword [ebp]
movzx edx, word [ecx]
mov eax, esi
test dx, dx
je 0x4219b1
add ecx, 2
mov eax, esi
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 0x4219a0
mov word [eax], 0
movzx ecx, word [esp]
test cx, cx
je 0x4219e1
lea edx, [esp + 2]
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 0x4219d0
mov word [eax], 0
movzx ecx, word [ebx]
test cx, cx
je 0x421a11
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 0x421a00
mov word [eax], 0
movzx ecx, word [esp + 0x48]
test cx, cx
je 0x421a41
lea edx, [esp + 0x4a]
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 0x421a30
mov word [eax], 0
mov eax, dword [esp + 0xa8]
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 0x421a60
mov ecx, dword [esp + 0x9c]
mov edx, dword [ecx]
mov ecx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
cmp word [edx + ecx + 2], 0
lea ecx, [ecx + 2]
jne 0x421a80
mov edi, dword [ebp + 4]
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 0x421aa0
sar eax, 1
sar ecx, 1
sar edx, 1
add ecx, eax
lea eax, [edx + ecx]
add eax, 0xb
test eax, eax
jns 0x421ac4
mov eax, 0xffffffff
jmp 0x421acd
add ecx, edx
lea eax, [ecx*2 + 0x16]
push eax
call fcn.004095a0
add esp, 4
mov edi, eax
mov dword [esp], 0x49d54be5
mov dword [esp + 4], 0x45d247dc
mov dword [esp + 8], 0x41ce43df
mov dword [esp + 0xc], 0xbdefbfcd
mov word [esp + 0x10], 0xbbbc
mov dword [esp + 0x12], 0
mov byte [esp + 0x16], 0
xor eax, eax
nop
nop
nop
mov ecx, eax
add cl, 0xf3
xor cl, byte [esp + eax]
add cl, 0x41
mov byte [esp + eax], cl
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
cmp eax, 0x17
jb 0x421b10
movzx ecx, word [esp]
mov eax, edi
test cx, cx
je 0x421b51
lea edx, [esp + 2]
mov eax, edi
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x421b40
mov word [eax], 0
movzx ecx, word [ebx]
test cx, cx
je 0x421b81
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 0x421b70
mov word [eax], 0x5f
add eax, 2
mov ecx, dword [esp + 0x9c]
mov ecx, dword [ecx]
movzx edx, word [ecx]
test dx, dx
je 0x421bb1
add ecx, 2
nop
nop
nop
mov word [eax], dx
add eax, 2
movzx edx, word [ecx]
add ecx, 2
test dx, dx
jne 0x421ba0
mov word [eax], 0x5f
add eax, 2
mov ecx, dword [ebp + 4]
movzx edx, word [ecx]
test dx, dx
je 0x421be1
add ecx, 2
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 0x421bd0
mov word [eax], 0
mov dword [esp], 0x333231ea
mov word [esp + 4], 0
mov eax, 0x4041504c
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax - 0x4041504c]
mov edx, ecx
and edx, eax
add dl, dl
sub cl, dl
movzx ecx, cl
add ecx, eax
add cl, 0x84
mov byte [esp + eax - 0x4041504c], cl
inc eax
cmp eax, 0x40415052
jne 0x421c00
mov eax, esp
push 0
push 1
push 0
push eax
push esi
push edi
push dword [esp + 0xb0]
call fcn.00421f10
add esp, 0x1c
mov ebx, eax
jmp dword [0x446fbc]