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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x80
mov eax, dword [esp + 0x9c]
mov ebx, dword [esp + 0x98]
mov ecx, dword [eax + 4]
mov eax, 0xfffffffe
cmp word [ecx + eax + 2], 0
lea eax, [eax + 2]
jne 0x41bb40
mov ecx, 0xfffffffe
cmp word [ebx + ecx + 2], 0
lea ecx, [ecx + 2]
jne 0x41bb50
sar eax, 1
sar ecx, 1
lea edx, [eax + ecx]
add edx, 0x3f
test edx, edx
jns 0x41bb70
mov eax, 0xffffffff
jmp 0x41bb79
add eax, ecx
lea eax, [eax*2 + 0x7e]
push eax
call fcn.00408a60
add esp, 4
mov esi, eax
mov dword [esp + 0x44], 0x57eb49ea
mov dword [esp + 0x48], 0x53ff55eb
mov dword [esp + 0x4c], 0x5f1151ee
mov dword [esp + 0x50], 0x5be85def
mov dword [esp + 0x54], 0xa70b59e4
mov dword [esp + 0x58], 0xa31ea51c
mov dword [esp + 0x5c], 0xaf02a1e9
mov dword [esp + 0x60], 0xabd6ade9
mov dword [esp + 0x64], 0xb7cfa9d6
mov dword [esp + 0x68], 0xb3cbb5c8
mov dword [esp + 0x6c], 0xbfc5b1ca
mov dword [esp + 0x70], 0xbbc3bdc2
mov dword [esp + 0x74], 0x8722b9c5
mov dword [esp + 0x78], 0x832e852d
mov dword [esp + 0x7c], 0x8f8e812e
lea eax, [esp + 0x44]
mov edi, 0xbe156c11
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [eax]
mov ecx, edi
or ecx, edx
lea ebp, [edi + 0x41ea9400]
and ebp, edx
not ecx
or ecx, ebp
mov edx, ecx
and edx, 0x59
xor ecx, 0x59
lea ecx, [ecx + edx*2]
inc cl
mov byte [eax], cl
inc eax
dec edi
cmp edi, 0xbe156bd5
jne 0x41bc10
mov dword [esp], 0x51fb4f10
mov dword [esp + 4], 0x55e353e4
mov dword [esp + 8], 0x59f557e6
mov dword [esp + 0xc], 0x5dfd5bf1
mov dword [esp + 0x10], 0xa1fa5f00
mov dword [esp + 0x14], 0xa504a307
mov dword [esp + 0x18], 0xa911a707
mov dword [esp + 0x1c], 0xad1eab04
mov dword [esp + 0x20], 0xb101aff0
mov dword [esp + 0x24], 0xb508b301
mov dword [esp + 0x28], 0xb911b7db
mov dword [esp + 0x2c], 0xbd0ebb00
mov dword [esp + 0x30], 0x8110bf1b
mov dword [esp + 0x34], 0x85298335
mov dword [esp + 0x38], 0x89288735
mov dword [esp + 0x3c], 0x8de78be5
mov dword [esp + 0x40], 0x918e8fe1
mov eax, 0x566cfced
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax - 0x566cfced]
lea edx, [eax - 0x566cfc00]
and edx, ecx
or ecx, eax
xor ecx, edx
mov edx, ecx
xor edx, 0x21
mov edi, ecx
or edi, 0x5e
and edi, edx
xor ecx, 0x5e
lea ecx, [ecx + edi*2]
inc cl
mov byte [esp + eax - 0x566cfced], cl
inc eax
cmp eax, 0x566cfd31
jne 0x41bcd0
mov ebp, dword [esp + 0x9c]
mov ecx, dword [ebp + 4]
movzx edx, word [ecx]
mov eax, esi
test dx, dx
je 0x41bd31
add ecx, 2
mov eax, esi
mov word [eax], dx
add eax, 2
movzx edx, word [ecx]
add ecx, 2
test dx, dx
jne 0x41bd20
mov word [eax], 0
movzx ecx, word [esp]
test cx, cx
je 0x41bd61
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 0x41bd50
mov word [eax], 0
movzx ecx, word [ebx]
test cx, cx
je 0x41bd91
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 0x41bd80
mov word [eax], 0
movzx ecx, word [esp + 0x44]
test cx, cx
je 0x41bdc1
lea edx, [esp + 0x46]
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 0x41bdb0
mov word [eax], 0
mov eax, dword [esp + 0xa0]
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 0x41bde0
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 0x41be00
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 0x41be20
sar eax, 1
sar ecx, 1
sar edx, 1
add ecx, eax
lea eax, [edx + ecx]
add eax, 0xb
test eax, eax
jns 0x41be44
mov eax, 0xffffffff
jmp 0x41be4d
add ecx, edx
lea eax, [ecx*2 + 0x16]
push eax
call fcn.00408a60
add esp, 4
mov edi, eax
mov dword [esp], 0x9f7f9943
mov dword [esp + 4], 0xa34e9d70
mov dword [esp + 8], 0xa752a145
mov dword [esp + 0xc], 0xab99a553
mov word [esp + 0x10], 0xa9a8
mov dword [esp + 0x12], 0
mov word [esp + 0x16], 0
mov eax, 0x73047f06
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax - 0x73047f06]
lea edx, [eax - 0x73047e2c]
and edx, ecx
add edx, edx
sub ecx, edx
add ecx, eax
mov edx, ecx
and edx, 0x11
xor ecx, 0x91
lea ecx, [ecx + edx*2]
inc cl
mov byte [esp + eax - 0x73047f06], cl
inc eax
cmp eax, 0x73047f1e
jne 0x41bea0
movzx ecx, word [esp]
mov eax, edi
test cx, cx
je 0x41bf01
lea edx, [esp + 2]
mov eax, edi
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 0x41bef0
mov word [eax], 0
movzx ecx, word [ebx]
test cx, cx
je 0x41bf31
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 0x41bf20
mov word [eax], 0x5f
add eax, 2
mov ecx, dword [ebp]
movzx edx, word [ecx]
test dx, dx
je 0x41bf61
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 0x41bf50
mov word [eax], 0x5f
add eax, 2
mov ecx, dword [ebp + 8]
movzx edx, word [ecx]
test dx, dx
je 0x41bf91
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 0x41bf80
mov word [eax], 0
mov dword [esp], 0x1312116a
mov word [esp + 4], 0
mov byte [esp + 6], 0
mov eax, 0xbc
mov ecx, 0x43
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax - 0xbc]
mov ebx, edx
not ebx
or ebx, ecx
or edx, eax
and edx, ebx
add dl, 0x54
mov byte [esp + eax - 0xbc], dl
inc eax
dec ecx
cmp eax, 0xc3
jne 0x41bfc0
mov eax, esp
push 0
push 1
push 0
push eax
push esi
push edi
push dword [esp + 0xac]
call fcn.0041c2a0
add esp, 0x1c
mov ebx, eax
jmp dword [0x44302c]