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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x90
mov dword [esp + 0x28], 0x3b0d1f1c
mov dword [esp + 0x2c], 0x7070103
lea edx, [esp + 0x30]
mov byte [esp + 0x30], 0x73
mov word [esp + 0x31], 0
mov byte [esp + 0x33], 0
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x1c]
cmp eax, 0xb
ja 0x40b513
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
movzx ecx, byte [esp + ecx + 0x28]
add eax, 0x5e34c570
xor eax, ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add al, 0xf5
mov ecx, dword [esp + 0x1c]
mov byte [esp + ecx + 0x28], al
inc dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
cmp eax, 0xc
jb 0x40b4e0
lea eax, [esp + 0x1c]
lea esi, [esp + 0x28]
mov ebx, esi
mov edi, eax
mov ecx, 2
xchg esi, ebx
rep movsd dword es:[edi], dword [esi]
xchg esi, ebx
lea edi, [esp + 0x24]
xor ecx, ecx
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
movzx ecx, byte [esp + 0x30]
mov byte [esp + 0x24], cl
mov dword [esp + 0x28], 0x5af66420
mov dword [esp + 0x2c], 0x5ecd58c9
mov dword [esp + 0x30], 0x52cf5cfa
mov dword [esp + 0x34], 0x560c50c7
mov dword [esp + 0x38], 0x4adc54e3
mov dword [esp + 0x3c], 0x4eec48db
mov dword [esp + 0x40], 0x422d4c01
mov dword [esp + 0x44], 0x46d140e2
mov dword [esp + 0x48], 0xbad944d7
mov dword [esp + 0x4c], 0xbe1eb822
mov dword [esp + 0x50], 0xb229bc1e
mov dword [esp + 0x54], 0xb622b02a
mov dword [esp + 0x58], 0xaae6b425
mov dword [esp + 0x5c], 0xaef4a823
mov dword [esp + 0x60], 0xa226ac24
mov dword [esp + 0x64], 0xa6fca028
mov dword [esp + 0x68], 0x9a36a43d
mov dword [esp + 0x6c], 0x9e04980d
mov dword [esp + 0x70], 0x92089cc2
mov dword [esp + 0x74], 0x960d9005
mov dword [esp + 0x78], 0x8a079432
mov dword [esp + 0x7c], 0x8e1a882c
mov dword [esp + 0x80], 0x82288c2b
mov dword [esp + 0x84], 0x86fc8027
mov dword [esp + 0x88], 0xfa8584f9
mov word [esp + 0x8c], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 0x65
ja 0x40b660
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 0x28]
add ecx, 0xd6813cdd
xor ecx, edx
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0xc]
add cl, 0x46
mov edx, dword [esp]
mov byte [esp + edx + 0x28], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 0x66
jb 0x40b630
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0xc], 0xfef09db
mov dword [esp + 0x10], 0x33db0d9c
mov word [esp + 0x14], 0x3130
mov dword [esp + 0x16], 0
mov word [esp + 0x1a], 0
mov dword [esp + 4], 0
mov edx, dword [esp + 4]
cmp edx, 0xf
ja 0x40b6d3
nop
nop
mov edx, dword [esp + 4]
mov edi, dword [esp + 4]
movzx edi, byte [esp + edi + 0xc]
add edx, 0x95694d5a
xor edx, edi
mov dword [esp], edx
mov edx, dword [esp]
add dl, 0xae
mov edi, dword [esp + 4]
mov byte [esp + edi + 0xc], dl
inc dword [esp + 4]
mov edx, dword [esp + 4]
cmp edx, 0x10
jb 0x40b6a0
lea edx, [esp + 4]
lea edi, [esp + 0xc]
push 0
push edx
push 8
push eax
push esi
push edi
push ecx
call fcn.0040c220
add esp, 0x1c
test al, al
je 0x40b834
mov word [esp + 0x28], 0x8f8a
mov byte [esp + 0x2a], 0x15
mov word [esp + 0x2b], 0
mov byte [esp + 0x2d], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 5
ja 0x40b74e
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x28]
add eax, 0xec2f07c6
xor eax, ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add al, 0x23
mov ecx, dword [esp]
mov byte [esp + ecx + 0x28], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 6
jb 0x40b720
xor ecx, ecx
mov edx, dword [esp + 4]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movsx eax, byte [edx + ecx]
movzx ebx, byte [esp + ecx + 0x28]
test eax, eax
je 0x40b772
inc ecx
cmp al, bl
je 0x40b760
movsx ecx, bl
mov edx, ecx
not edx
and edx, eax
add edx, edx
xor ecx, eax
mov al, 1
mov dword [esp + 8], eax
cmp edx, ecx
je 0x40ba32
mov dword [esp + 0x28], 0xeaa6a594
mov dword [esp + 0x2c], 0x72e7e7de
mov dword [esp + 0x30], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xb
ja 0x40b7ee
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 + 0x28]
add eax, 0xb2a6a9bd
xor eax, ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add al, 0x4a
mov ecx, dword [esp]
mov byte [esp + ecx + 0x28], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xc
jb 0x40b7c0
mov eax, dword [esp + 4]
movzx ebx, byte [esp + 0x28]
test bl, bl
je 0x40b83b
mov edx, esi
mov ecx, eax
jmp 0x40b817
movzx ebx, byte [edx]
test bl, bl
je 0x40b83d
mov bh, byte [eax]
test bh, bh
je 0x40ba2a
inc eax
inc edx
lea edi, [ecx + 1]
cmp bh, bl
je 0x40b82e
mov ecx, edi
mov eax, edi
je 0x40b810
mov edx, esi
jmp 0x40b810
xor eax, eax
jmp 0x40ba42
mov ecx, eax
test ecx, ecx
je 0x40ba2a
mov dword [esp + 0x28], 0x25dc2bdf
mov dword [esp + 0x2c], 0xea145632
mov dword [esp + 0x30], 0x5251e5e0
mov dword [esp + 0x34], 0xe1eb1fe3
mov dword [esp + 0x38], 0x7a593f16
mov dword [esp + 0x3c], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x17
ja 0x40b8cb
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 + 0x28]
lea edx, [eax + ecx]
add eax, 0xdc
and eax, ecx
add eax, eax
sub edx, eax
add edx, 0xab1e67dc
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0xc]
add al, 0x6b
mov ecx, dword [esp]
mov byte [esp + ecx + 0x28], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x18
jb 0x40b890
mov eax, dword [esp + 4]
movzx ecx, byte [esp + 0x28]
test cl, cl
je 0x40b914
lea edi, [esp + 0x28]
mov edx, edi
mov esi, eax
jmp 0x40b8f7
movzx ecx, byte [edx]
test cl, cl
je 0x40b916
mov ch, byte [eax]
test ch, ch
je 0x40ba2a
inc eax
inc edx
lea ebx, [esi + 1]
cmp ch, cl
je 0x40b90e
mov esi, ebx
mov eax, ebx
je 0x40b8f0
mov edx, edi
jmp 0x40b8f0
mov esi, eax
test esi, esi
je 0x40ba2a
mov word [esp + 0x28], 0xbba4
mov byte [esp + 0x2a], 0xf8
mov dword [esp + 0x2b], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 6
ja 0x40b97e
nop
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 + 0x28]
add eax, 0xfb727645
xor eax, ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add al, 0x41
mov ecx, dword [esp]
mov byte [esp + ecx + 0x28], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 7
jb 0x40b950
movzx eax, byte [esp + 0x28]
test al, al
je 0x40b9c0
add esi, 0x13
lea ebp, [esp + 0x28]
mov ecx, ebp
mov edx, esi
mov edi, esi
jmp 0x40b9a7
movzx eax, byte [ecx]
test al, al
je 0x40b9d1
mov ah, byte [edx]
test ah, ah
je 0x40ba2a
inc edx
inc ecx
lea ebx, [edi + 1]
cmp ah, al
je 0x40b9ba
mov edi, ebx
mov edx, ebx
je 0x40b9a0
mov ecx, ebp
jmp 0x40b9a0
mov byte [0x44bb8c], 1
mov eax, 0x44bb8e
jmp 0x40ba53
test edi, edi
je 0x40ba2a
mov byte [0x44bb8c], 1
mov dword [esp + 0x28], 0
mov eax, 0x44bb8e
cmp esi, edi
jae 0x40ba53
xor ebx, ebx
lea ebp, [esp + 0x28]
cmp byte [esi], 0
je 0x40ba4d
push ebp
push edi
push esi
call fcn.0040d5f0
add esp, 0xc
movzx edx, word [esp + 0x28]
lea ecx, [ebx + 2]
mov word [ebx + 0x44bb8e], dx
cmp ebx, 0x1fb
ja 0x40ba22
add esi, eax
mov ebx, ecx
cmp esi, edi
jb 0x40b9f3
lea eax, [ecx + 0x44bb8e]
jmp 0x40ba53
mov dword [esp + 8], 0
push dword [esp + 4]
call fcn.0043d3f0
add esp, 4
mov eax, dword [esp + 8]
add esp, 0x90
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [ebx + 0x44bb8e]
mov word [eax], 0
jmp 0x40ba32