Function at 0x40b2c0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xac
cmp dword [ecx + 0x20], 0
je 0x40b309
mov esi, ecx
movzx eax, byte [ecx]
mov byte [esp + 0x1b], 0
test eax, eax
je 0x40b310
cmp al, 0x64
jb 0x40b31b
lea ecx, [eax + eax*4]
lea edx, [eax + ecx*8]
shr edx, 0xc
imul ecx, edx, 0x64
sub al, cl
movzx eax, al
movzx eax, word [eax + eax + 0x441318]
mov word [esp + 0x19], ax
mov ecx, 0xfffffffd
mov eax, edx
jmp 0x40b324
mov bl, 1
jmp 0x40b800
lea ebx, [esp + 0x1a]
mov byte [esp + 0x1a], 0x30
jmp 0x40b34a
mov ecx, 0xffffffff
cmp al, 9
ja 0x40b339
lea edx, [esp + 0x1c]
movzx eax, byte [eax + str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ]
lea ebx, [edx + ecx]
dec ebx
mov byte [esp + ecx + 0x1b], al
jmp 0x40b34a
movzx eax, word [eax + eax + 0x441318]
lea ebx, [esp + 0x19]
mov word [esp + 0x19], ax
lea eax, [esi + 0x10]
push eax
call fcn.00408190
add esp, 4
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x58]
mov eax, dword [eax + 0x48]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
lea eax, [ecx + 0x400]
push eax
call fcn.0040a300
add esp, 4
mov edi, eax
mov dword [esp + 0x24], 0xacd2dfcf
mov byte [esp + 0x28], 0x4b
mov word [esp + 0x29], 0
mov byte [esp + 0x2b], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 7
ja 0x40b3ce
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x24]
add eax, 0xcd31268e
xor eax, ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
add al, 0x27
mov ecx, dword [esp]
mov byte [esp + ecx + 0x24], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 8
jb 0x40b3a0
lea eax, [esp + 0x24]
mov ecx, esi
push 0x4485f8
push eax
push edi
call fcn.0040acb0
mov dword [esp], 0xa7423830
mov dword [esp + 8], 0
mov eax, dword [esp + 8]
cmp eax, 3
ja 0x40b431
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
movzx ecx, byte [esp + ecx]
add eax, 0xd1e8a6fa
xor eax, ecx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
add al, 0xa6
mov ecx, dword [esp + 8]
mov byte [esp + ecx], al
inc dword [esp + 8]
mov eax, dword [esp + 8]
cmp eax, 4
jb 0x40b400
mov ebp, esp
mov ecx, esi
push ebx
push ebp
push edi
call fcn.0040acb0
mov eax, dword [str.a8kafm___cloudcosmic]
mov dword [esp], 0xd07b4741
mov dword [esp + 8], 0
mov ecx, dword [esp + 8]
cmp ecx, 3
ja 0x40b493
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 8]
mov edx, dword [esp + 8]
movzx edx, byte [esp + edx]
add ecx, 0xc2ca6465
xor ecx, edx
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x24]
add cl, 0x48
mov edx, dword [esp + 8]
mov byte [esp + edx], cl
inc dword [esp + 8]
mov ecx, dword [esp + 8]
cmp ecx, 4
jb 0x40b460
mov ecx, esi
push eax
push ebp
push edi
call fcn.0040acb0
mov dword [esp + 0x24], 0x677e6673
mov dword [esp + 0x28], 0x6a7b626b
mov dword [esp + 0x2c], 0x7c79726b
mov byte [esp + 0x30], 0xd2
mov dword [esp + 0x31], 0
mov dword [esp + 0x34], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x13
ja 0x40b50e
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x24]
add eax, 0x28985aab
xor eax, ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
add al, 0x9b
mov ecx, dword [esp]
mov byte [esp + ecx + 0x24], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x14
jb 0x40b4e0
mov dword [esp + 8], 0x85706063
mov byte [esp + 0xc], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 4
lea ebp, [esp + 0x24]
ja 0x40b561
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 8]
add eax, 0x41f01bca
xor eax, ecx
mov dword [esp], eax
mov eax, dword [esp]
add al, 0xb8
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 8], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 5
jb 0x40b530
lea ebx, [esp + 8]
mov ecx, esi
push ebp
push ebx
push edi
call fcn.0040acb0
mov dword [esp + 0x24], 0x829a888a
mov byte [esp + 0x28], 0x6c
mov dword [esp + 0x29], 0
mov byte [esp + 0x2d], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 9
ja 0x40b5ce
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x24]
add eax, 0x34847ba6
xor eax, ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
add al, 0x3a
mov ecx, dword [esp]
mov byte [esp + ecx + 0x24], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xa
jb 0x40b5a0
mov ecx, esi
push dword [esp + 0x20]
push dword [esp + 0x20]
push ebp
push edi
call fcn.0040af10
mov eax, dword [esi + 0x60]
mov dword [esp + 0x24], 0xa9dbabe5
mov dword [esp + 0x28], 0xb5c8b7c4
mov dword [esp + 0x2c], 0xb1c2b3df
mov dword [esp + 0x30], 0xbd89bfc2
mov dword [esp + 0x34], 0xb9c1bbe6
mov dword [esp + 0x38], 0xc5a9c7b6
mov dword [esp + 0x3c], 0xc1e0c384
mov dword [esp + 0x40], 0xcdb1cfbb
mov dword [esp + 0x44], 0xc9b4cbbe
mov dword [esp + 0x48], 0xd5a4d7bf
mov dword [esp + 0x4c], 0xd1aed3b3
mov dword [esp + 0x50], 0xddefdfa2
mov dword [esp + 0x54], 0xd9abdbb0
mov dword [esp + 0x58], 0xe591e798
mov dword [esp + 0x5c], 0xe18ce3d7
mov dword [esp + 0x60], 0xed90ef8f
mov dword [esp + 0x64], 0xe9afeb8b
mov dword [esp + 0x68], 0xf59af7d6
mov dword [esp + 0x6c], 0xf18df381
mov dword [esp + 0x70], 0xfd90ff8c
mov dword [esp + 0x74], 0xf986fb9b
mov dword [esp + 0x78], 0x541077f
mov dword [esp + 0x7c], 0x16d036c
mov dword [esp + 0x80], 0xd310f36
mov dword [esp + 0x84], 0x9650b66
mov dword [esp + 0x88], 0x157d172b
mov dword [esp + 0x8c], 0x117c1362
mov dword [esp + 0x90], 0x1d731f6d
mov dword [esp + 0x94], 0x19751b73
mov dword [esp + 0x98], 0x255a2758
mov dword [esp + 0x9c], 0x2111234f
mov dword [esp + 0xa0], 0x2d3a2f3b
mov word [esp + 0xa4], 0x2b2a
mov word [esp + 0xaa], 0
mov dword [esp + 0xa6], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 0x87
ja 0x40b763
nop
nop
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 0x24]
add ecx, 0x3616462c
xor ecx, edx
mov dword [esp + 8], ecx
mov ecx, dword [esp + 8]
add cl, 0x7a
mov edx, dword [esp]
mov byte [esp + edx + 0x24], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 0x88
jb 0x40b730
mov dword [esp + 8], 0xcd69cb99
mov dword [esp + 0xc], 0x3165cf5c
mov word [esp + 0x10], 0x3330
mov dword [esp + 0x12], 0
mov byte [esp + 0x16], 0
mov dword [esp + 4], 0
mov ecx, dword [esp + 4]
cmp ecx, 0xe
ja 0x40b7d3
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 4]
mov edx, dword [esp + 4]
movzx edx, byte [esp + edx + 8]
add ecx, 0x8a187bf9
xor ecx, edx
mov dword [esp], ecx
mov ecx, dword [esp]
add cl, 0xcf
mov edx, dword [esp + 4]
mov byte [esp + edx + 8], cl
inc dword [esp + 4]
mov ecx, dword [esp + 4]
cmp ecx, 0xf
jb 0x40b7a0
push 0x493e0
push eax
push edi
push 0
push 0
push ebp
push ebx
call fcn.0040d4d0
add esp, 0x1c
mov ebx, eax
push edi
call fcn.0040a310
add esp, 4
mov eax, dword [esi + 0x60]
add dword [esi + 4], eax
mov dword [esi + 0x60], 0
mov eax, ebx
add esp, 0xac
pop esi
pop edi
pop ebx
pop ebp
ret