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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xa8
mov dword [esp + 0x30], 0x8eb6a2ad
mov dword [esp + 0x34], 0xbabca0bc
lea edx, [esp + 0x38]
mov byte [esp + 0x38], 0x54
mov dword [esp + 0x39], 0
mov dword [esp + 0x3d], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0xc]
cmp eax, 0x13
ja 0x40b1ae
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
movzx ecx, byte [esp + ecx + 0x30]
mov esi, 0xf5
sub esi, eax
add eax, 0x894e4b0a
xor esi, eax
and esi, ecx
xor esi, eax
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x18]
add al, 0xba
mov ecx, dword [esp + 0xc]
mov byte [esp + ecx + 0x30], al
inc dword [esp + 0xc]
mov eax, dword [esp + 0xc]
cmp eax, 0x14
jb 0x40b170
lea eax, [esp + 0xc]
lea ebx, [esp + 0x30]
mov esi, ebx
mov edi, eax
mov ecx, 2
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
lea edi, [esp + 0x14]
xor ecx, ecx
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
movzx ecx, byte [esp + 0x38]
mov byte [esp + 0x14], cl
mov dword [esp + 0x30], 0x2bb92de3
mov dword [esp + 0x34], 0xd74a29ba
mov dword [esp + 0x38], 0xd340d539
mov dword [esp + 0x3c], 0xdf0bd14c
mov dword [esp + 0x40], 0xdb43dd20
mov dword [esp + 0x44], 0xc72bd948
mov dword [esp + 0x48], 0xc3e2c502
mov dword [esp + 0x4c], 0xcf5ec121
mov dword [esp + 0x50], 0xcb5ecd5c
mov dword [esp + 0x54], 0xf719c921
mov dword [esp + 0x58], 0xf36ef515
mov dword [esp + 0x5c], 0xff6df119
mov dword [esp + 0x60], 0xfb29fd6e
mov dword [esp + 0x64], 0xe733f960
mov dword [esp + 0x68], 0xe379e57f
mov dword [esp + 0x6c], 0xef3be17b
mov dword [esp + 0x70], 0xeb79ed06
mov dword [esp + 0x74], 0x9703e976
mov dword [esp + 0x78], 0x930f9541
mov dword [esp + 0x7c], 0x9f0a910e
mov dword [esp + 0x80], 0x9b089d71
mov dword [esp + 0x84], 0x87159977
mov dword [esp + 0x88], 0x836f8568
mov dword [esp + 0x8c], 0x8fbb816c
mov dword [esp + 0x90], 0x8b8a8dba
mov dword [esp + 0x97], 0
mov dword [esp + 0x94], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 0x6a
ja 0x40b31b
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 0x30]
mov esi, 5
sub esi, ecx
add ecx, 0xf4fa
xor esi, ecx
and esi, edx
xor esi, ecx
mov dword [esp + 0x18], esi
mov ecx, dword [esp + 0x18]
add cl, 0x2a
mov edx, dword [esp]
mov byte [esp + edx + 0x30], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 0x6b
jb 0x40b2e0
mov ecx, dword [ebp + 8]
mov dword [esp + 0x18], 0xab03a557
mov dword [esp + 0x1c], 0xaf07a91a
mov word [esp + 0x20], 0xadae
mov dword [esp + 0x22], 0
mov dword [esp + 0x26], 0
mov dword [esp + 0x29], 0
mov dword [esp + 4], 0
mov edx, dword [esp + 4]
cmp edx, 0x14
ja 0x40b39e
nop
nop
mov edx, dword [esp + 4]
mov esi, dword [esp + 4]
movzx esi, byte [esp + esi + 0x18]
mov edi, 0xba
sub edi, edx
add edx, 0x3889bd45
xor edi, edx
and edi, esi
xor edi, edx
mov dword [esp], edi
mov edx, dword [esp]
add dl, 0x1d
mov esi, dword [esp + 4]
mov byte [esp + esi + 0x18], dl
inc dword [esp + 4]
mov edx, dword [esp + 4]
cmp edx, 0x15
jb 0x40b360
lea edx, [esp + 8]
lea esi, [esp + 0x18]
push 0
push edx
push 8
push eax
push ebx
push esi
push ecx
call fcn.0040be80
add esp, 0x1c
test al, al
je 0x40b526
mov word [esp + 0x30], 0xb4b7
mov byte [esp + 0x32], 0x20
mov dword [esp + 0x33], 0
mov dword [esp + 0x37], 0
mov dword [esp + 0x3a], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xd
ja 0x40b439
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x30]
mov edx, 0x84
sub edx, eax
add eax, 0x7b428f7b
xor edx, eax
and edx, ecx
xor edx, eax
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x18]
add al, 0xa3
mov ecx, dword [esp]
mov byte [esp + ecx + 0x30], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xe
jb 0x40b400
xor edx, edx
mov esi, dword [esp + 8]
nop
movsx ecx, byte [esi + edx]
movzx ebx, byte [esp + edx + 0x30]
test ecx, ecx
je 0x40b452
inc edx
cmp cl, bl
je 0x40b440
movsx eax, bl
mov edx, ecx
not edx
and edx, eax
not eax
and eax, ecx
mov bl, 1
cmp eax, edx
je 0x40b786
mov dword [esp + 0x30], 0xaf5d5ea3
mov dword [esp + 0x34], 0x3f52ac51
mov word [esp + 0x38], 0
mov byte [esp + 0x3a], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xa
ja 0x40b4d9
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x30]
mov edx, 0xd8
sub edx, eax
add eax, 0xc36f7f27
xor edx, eax
and edx, ecx
xor edx, eax
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x18]
add al, 0xef
mov ecx, dword [esp]
mov byte [esp + ecx + 0x30], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xb
jb 0x40b4a0
mov esi, dword [esp + 8]
movzx ebx, byte [esp + 0x30]
mov ecx, esi
test bl, bl
je 0x40b52d
lea edx, [esp + 0x30]
mov eax, esi
mov ecx, esi
jmp 0x40b507
movzx ebx, byte [edx]
test bl, bl
je 0x40b52d
mov bh, byte [eax]
test bh, bh
je 0x40b634
inc eax
inc edx
lea edi, [ecx + 1]
cmp bh, bl
je 0x40b51e
mov ecx, edi
mov eax, edi
je 0x40b500
lea edx, [esp + 0x30]
jmp 0x40b500
xor ebx, ebx
jmp 0x40b78f
test ecx, ecx
je 0x40b634
mov dword [esp + 0x30], 0x869f8c9e
mov dword [esp + 0x34], 0x9387476d
mov dword [esp + 0x38], 0x5b5c9a97
mov dword [esp + 0x3c], 0x8a8298b2
mov dword [esp + 0x40], 0x33547099
lea edx, [esp + 0x44]
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov word [esp + 0x4c], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x1d
ja 0x40b5c9
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x30]
mov esi, 0x79
sub esi, eax
add eax, 0xd0edf886
xor esi, eax
and esi, ecx
xor esi, eax
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x18]
add al, 0x56
mov ecx, dword [esp]
mov byte [esp + ecx + 0x30], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x1e
jb 0x40b590
lea esi, [esp + 0x30]
mov ecx, 5
lea eax, [esp + 0x18]
mov edi, eax
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
lea edi, [esp + 0x2c]
xor ecx, ecx
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
mov ecx, dword [esp + 8]
movzx ebx, byte [esp + 0x18]
test bl, bl
je 0x40b63b
mov edx, eax
mov edi, ecx
mov esi, eax
mov eax, ecx
jmp 0x40b617
movzx ebx, byte [edx]
test bl, bl
je 0x40b63d
mov bh, byte [ecx]
test bh, bh
je 0x40b771
inc ecx
inc edx
lea edi, [eax + 1]
cmp bh, bl
je 0x40b62e
mov eax, edi
mov ecx, edi
je 0x40b610
mov edx, esi
jmp 0x40b610
xor ebx, ebx
jmp 0x40b786
mov eax, ecx
test eax, eax
je 0x40b771
mov word [esp + 0x30], 0xaf8a
mov byte [esp + 0x32], 0x72
mov dword [esp + 0x33], 0
mov dword [esp + 0x37], 0
mov dword [esp + 0x3a], 0
mov dword [esp + 4], 0
mov ecx, dword [esp + 4]
cmp ecx, 0xd
ja 0x40b6be
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 4]
mov edx, dword [esp + 4]
movzx edx, byte [esp + edx + 0x30]
mov esi, 0x71
sub esi, ecx
add ecx, 0x4ffa798e
xor esi, ecx
and esi, edx
xor esi, ecx
mov dword [esp], esi
mov ecx, dword [esp]
add cl, 0x1e
mov edx, dword [esp + 4]
mov byte [esp + edx + 0x30], cl
inc dword [esp + 4]
mov ecx, dword [esp + 4]
cmp ecx, 0xe
jb 0x40b680
movzx ebx, byte [esp + 0x30]
test bl, bl
je 0x40b706
add eax, 0x13
lea ecx, [esp + 0x30]
mov esi, eax
mov edi, eax
jmp 0x40b6e7
movzx ebx, byte [ecx]
test bl, bl
je 0x40b714
mov bh, byte [esi]
test bh, bh
je 0x40b771
inc esi
inc ecx
lea edx, [edi + 1]
cmp bh, bl
je 0x40b6fe
mov edi, edx
mov esi, edx
je 0x40b6e0
lea ecx, [esp + 0x30]
jmp 0x40b6e0
mov byte [0x43fe18], 1
mov eax, 0x43fe1a
jmp 0x40b77b
test edi, edi
je 0x40b771
mov byte [0x43fe18], 1
mov dword [esp + 0x30], 0
mov ecx, eax
mov eax, 0x43fe1a
cmp ecx, edi
jae 0x40b77b
mov esi, ecx
xor ebx, ebx
cmp byte [esi], 0
je 0x40b775
lea eax, [esp + 0x30]
push eax
push edi
push esi
call fcn.0040d1a0
add esp, 0xc
movzx edx, word [esp + 0x30]
lea ecx, [ebx + 2]
mov word [ebx + 0x43fe1a], dx
cmp ebx, 0x1fb
ja 0x40b769
add esi, eax
mov ebx, ecx
cmp esi, edi
jb 0x40b736
lea eax, [ecx + 0x43fe1a]
jmp 0x40b77b
xor ebx, ebx
jmp 0x40b782
lea eax, [ebx + 0x43fe1a]
mov word [eax], 0
mov bl, 1
mov esi, dword [esp + 8]
push esi
call fcn.00432560
add esp, 4
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret