Function at 0x40b490
Capabilities:
Contain obfuscated stackstrings
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 edx, dword [ebp + 8]
mov dword [esp + 0x20], 0x6e564a4d
mov dword [esp + 0x24], 0x425c585c
lea ebx, [esp + 0x28]
mov byte [esp + 0x28], 0xa4
mov dword [esp + 0x29], 0
mov dword [esp + 0x2d], 0
mov dword [esp + 0x31], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 0x20]
lea esi, [eax + 0x4cd8d2e6]
lea edi, [eax + ecx]
add edi, 0x4cd8d2e6
and esi, ecx
add esi, esi
sub edi, esi
mov dword [esp + 8], edi
mov ecx, dword [esp + 8]
add cl, 0xb6
mov byte [esp + eax + 0x20], cl
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
cmp eax, 0x15
jb 0x40b4e0
lea eax, [esp + 0x9b]
lea esi, [esp + 0x20]
mov ecx, 2
mov edi, eax
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
lea edi, [esp + 0xa3]
xor ecx, ecx
xchg esi, ebx
rep movsw word es:[edi], word [esi]
xchg esi, ebx
movzx ecx, byte [esp + 0x28]
mov byte [esp + 0xa3], cl
mov dword [esp + 0x20], 0xa351ad6b
mov dword [esp + 0x24], 0xa752a152
mov dword [esp + 0x28], 0xbb48a541
mov dword [esp + 0x2c], 0xbf83b94c
mov dword [esp + 0x30], 0xb33bbd68
mov dword [esp + 0x34], 0xb753b140
mov dword [esp + 0x38], 0x4b6ab57a
mov dword [esp + 0x3c], 0x4fbe49a9
mov dword [esp + 0x40], 0x43be4dbc
mov dword [esp + 0x44], 0x47a141b9
mov dword [esp + 0x48], 0x5bae45a5
mov dword [esp + 0x4c], 0x5fad59a1
mov dword [esp + 0x50], 0x53615dae
mov dword [esp + 0x54], 0x576b51d8
mov dword [esp + 0x58], 0x6be155df
mov dword [esp + 0x5c], 0x6f5369e3
mov dword [esp + 0x60], 0x63916d96
mov dword [esp + 0x64], 0x679b6196
mov dword [esp + 0x68], 0x7b8f6559
mov dword [esp + 0x6c], 0x7f82798e
mov dword [esp + 0x70], 0x73807d99
mov dword [esp + 0x74], 0x77857197
mov dword [esp + 0x78], 0xbef7590
mov dword [esp + 0x7c], 0xf1309ec
mov dword [esp + 0x80], 0x3020d12
mov dword [esp + 0x8b], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x84], 0
mov ecx, 0x67e784e6
nop
nop
movzx esi, byte [esp + ecx - 0x67e784c6]
mov edi, ecx
and edi, esi
add edi, edi
sub esi, edi
add esi, ecx
mov dword [esp + 8], esi
mov ebx, dword [esp + 8]
add bl, 0xb6
mov byte [esp + ecx - 0x67e784c6], bl
cmp ecx, 0x67e78554
je 0x40b697
movzx esi, byte [esp + ecx - 0x67e784c5]
lea edi, [ecx + 1]
and edi, esi
add edi, edi
sub esi, edi
add esi, ecx
inc esi
mov dword [esp + 8], esi
mov ebx, dword [esp + 8]
add bl, 0xb6
mov byte [esp + ecx - 0x67e784c5], bl
add ecx, 2
jmp 0x40b640
mov dword [esp + 8], 0x836381af
mov dword [esp + 0xc], 0x876f8574
mov word [esp + 0x10], 0x8988
mov dword [esp + 0x12], 0
mov word [esp + 0x16], 0
xor ecx, ecx
nop
movzx esi, byte [esp + ecx + 8]
mov edi, ecx
or edi, 0xea04b840
lea ebx, [edi + esi]
and edi, esi
add edi, edi
sub ebx, edi
mov dword [esp + 4], ebx
mov ebx, dword [esp + 4]
add bl, 0x40
mov byte [esp + ecx + 8], bl
mov esi, ecx
xor esi, 1
and ecx, 1
lea ecx, [esi + ecx*2]
cmp ecx, 0x10
jb 0x40b6c0
lea ecx, [esp + 0x94]
lea esi, [esp + 8]
push 0
push ecx
push 8
push eax
lea eax, [esp + 0x30]
push eax
push esi
push edx
call fcn.0040c600
add esp, 0x1c
xor ebx, ebx
test al, al
je 0x40be06
mov word [esp + 0x20], 0xb28f
mov byte [esp + 0x22], 0x1a
mov dword [esp + 0x23], 0
mov dword [esp + 0x27], 0
mov byte [esp + 0x2b], 0
mov dword [esp + 8], 0x455d9723
mov eax, dword [esp + 8]
add al, 0x4c
mov byte [esp + 0x20], al
movzx eax, byte [esp + 0x21]
lea ecx, [eax + eax]
and ecx, 0x15a
neg ecx
add eax, ecx
add eax, 0x455d97ad
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
add al, 0x4c
mov byte [esp + 0x21], al
movzx eax, byte [esp + 0x22]
lea ecx, [eax + eax]
and ecx, 0x15c
neg ecx
add eax, ecx
add eax, 0x455d97ae
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
add al, 0x4c
mov byte [esp + 0x22], al
movzx eax, byte [esp + 0x23]
lea ecx, [eax + eax]
and ecx, 0x15e
neg ecx
add eax, ecx
add eax, 0x455d97af
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
add al, 0x4c
mov byte [esp + 0x23], al
movzx eax, byte [esp + 0x24]
lea ecx, [eax + eax]
and ecx, 0x160
neg ecx
add eax, ecx
add eax, 0x455d97b0
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
add al, 0x4c
mov byte [esp + 0x24], al
movzx eax, byte [esp + 0x25]
lea ecx, [eax + eax]
and ecx, 0x162
neg ecx
add eax, ecx
add eax, 0x455d97b1
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
add al, 0x4c
mov byte [esp + 0x25], al
movzx eax, byte [esp + 0x26]
lea ecx, [eax + eax]
and ecx, 0x164
neg ecx
add eax, ecx
add eax, 0x455d97b2
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
add al, 0x4c
mov byte [esp + 0x26], al
movzx eax, byte [esp + 0x27]
lea ecx, [eax + eax]
and ecx, 0x166
neg ecx
add eax, ecx
add eax, 0x455d97b3
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
add al, 0x4c
mov byte [esp + 0x27], al
movzx eax, byte [esp + 0x28]
lea ecx, [eax + eax]
and ecx, 0x168
neg ecx
add eax, ecx
add eax, 0x455d97b4
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
add al, 0x4c
mov byte [esp + 0x28], al
movzx eax, byte [esp + 0x29]
lea ecx, [eax + eax]
and ecx, 0x16a
neg ecx
add eax, ecx
add eax, 0x455d97b5
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
add al, 0x4c
mov byte [esp + 0x29], al
movzx eax, byte [esp + 0x2a]
lea ecx, [eax + eax]
and ecx, 0x16c
neg ecx
add eax, ecx
add eax, 0x455d97b6
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
add al, 0x4c
mov byte [esp + 0x2a], al
movzx eax, byte [esp + 0x2b]
lea ecx, [eax + eax]
and ecx, 0x16e
neg ecx
add eax, ecx
add eax, 0x455d97b7
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
add al, 0x4c
mov byte [esp + 0x2b], al
mov eax, dword [esp + 0x94]
movzx ecx, byte [eax + ebx]
movzx edx, byte [esp + ebx + 0x20]
test cl, cl
je 0x40b902
inc ebx
cmp cl, dl
je 0x40b8f0
mov bl, 1
cmp cl, dl
je 0x40bdfd
mov dword [esp + 0x20], 0xbfa9aebb
mov dword [esp + 0x24], 0x2fa2a0a5
mov dword [esp + 0x28], 0
mov dword [esp + 8], 0x32dae632
mov eax, dword [esp + 8]
add al, 0x41
mov byte [esp + 0x20], al
movzx eax, byte [esp + 0x21]
lea ecx, [eax + eax]
and ecx, 0x114
neg ecx
add eax, ecx
add eax, 0x32dae68a
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
add al, 0x41
mov byte [esp + 0x21], al
movzx eax, byte [esp + 0x22]
lea ecx, [eax + eax]
and ecx, 0x116
neg ecx
add eax, ecx
add eax, 0x32dae68b
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
add al, 0x41
mov byte [esp + 0x22], al
movzx eax, byte [esp + 0x23]
lea ecx, [eax + eax]
and ecx, 0x118
neg ecx
add eax, ecx
add eax, 0x32dae68c
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
add al, 0x41
mov byte [esp + 0x23], al
movzx eax, byte [esp + 0x24]
lea ecx, [eax + eax]
and ecx, 0x11a
neg ecx
add eax, ecx
add eax, 0x32dae68d
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
add al, 0x41
mov byte [esp + 0x24], al
movzx eax, byte [esp + 0x25]
lea ecx, [eax + eax]
and ecx, 0x11c
neg ecx
add eax, ecx
add eax, 0x32dae68e
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
add al, 0x41
mov byte [esp + 0x25], al
movzx eax, byte [esp + 0x26]
lea ecx, [eax + eax]
and ecx, 0x11e
neg ecx
add eax, ecx
add eax, 0x32dae68f
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
add al, 0x41
mov byte [esp + 0x26], al
movzx eax, byte [esp + 0x27]
lea ecx, [eax + eax]
and ecx, 0x120
neg ecx
add eax, ecx
add eax, 0x32dae690
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
add al, 0x41
mov byte [esp + 0x27], al
movzx eax, byte [esp + 0x28]
lea ecx, [eax + eax]
and ecx, 0x122
neg ecx
add eax, ecx
add eax, 0x32dae691
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
add al, 0x41
mov byte [esp + 0x28], al
movzx eax, byte [esp + 0x29]
lea ecx, [eax + eax]
and ecx, 0x124
neg ecx
add eax, ecx
add eax, 0x32dae692
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
add al, 0x41
mov byte [esp + 0x29], al
movzx eax, byte [esp + 0x2a]
lea ecx, [eax + eax]
and ecx, 0x126
neg ecx
add eax, ecx
add eax, 0x32dae693
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
add al, 0x41
mov byte [esp + 0x2a], al
movzx eax, byte [esp + 0x2b]
lea ecx, [eax + eax]
and ecx, 0x128
neg ecx
add eax, ecx
add eax, 0x32dae694
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
add al, 0x41
mov byte [esp + 0x2b], al
mov eax, dword [esp + 0x94]
movzx ebx, byte [esp + 0x20]
mov ecx, eax
test bl, bl
je 0x40bb16
lea edx, [esp + 0x20]
mov esi, eax
mov ecx, eax
jmp 0x40baf7
movzx ebx, byte [edx]
test bl, bl
je 0x40bb16
mov bh, byte [esi]
test bh, bh
je 0x40bbb6
inc edx
inc esi
lea edi, [ecx + 1]
cmp bh, bl
je 0x40bb0e
mov ecx, edi
mov esi, edi
je 0x40baf0
lea edx, [esp + 0x20]
jmp 0x40baf0
test ecx, ecx
je 0x40bbb6
mov dword [esp + 0x20], 0x68776a74
mov dword [esp + 0x24], 0x736f2f41
mov dword [esp + 0x28], 0x2b22787f
mov dword [esp + 0x2c], 0x6c7c6670
mov dword [esp + 0x30], 0x133a567d
lea edx, [esp + 0x34]
mov dword [esp + 0x34], 0
mov dword [esp + 0x37], 0
mov eax, 0x459c4481
nop
movzx ecx, byte [esp + eax - 0x459c4461]
mov esi, eax
and esi, ecx
add esi, esi
sub ecx, esi
add ecx, eax
mov dword [esp + 8], ecx
mov ecx, dword [esp + 8]
add cl, 0x79
mov byte [esp + eax - 0x459c4461], cl
cmp eax, 0x459c449b
je 0x40bbbd
movzx ecx, byte [esp + eax - 0x459c4460]
lea esi, [eax + 1]
and esi, ecx
add esi, esi
sub ecx, esi
add ecx, eax
inc ecx
mov dword [esp + 8], ecx
mov ecx, dword [esp + 8]
add cl, 0x79
mov byte [esp + eax - 0x459c4460], cl
add eax, 2
jmp 0x40bb60
xor ebx, ebx
jmp 0x40bdfd
lea esi, [esp + 0x20]
lea eax, [esp + 8]
mov edi, eax
mov ecx, 5
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
lea edi, [esp + 0x1c]
xor ecx, ecx
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
mov ecx, dword [esp + 0x94]
movzx ebx, byte [esp + 8]
test bl, bl
je 0x40bc26
mov edx, eax
mov esi, ecx
jmp 0x40bc07
movzx ebx, byte [edx]
test bl, bl
je 0x40bc28
mov bh, byte [ecx]
test bh, bh
je 0x40bdf4
inc edx
inc ecx
lea edi, [esi + 1]
cmp bh, bl
je 0x40bc1e
mov esi, edi
mov ecx, edi
je 0x40bc00
lea edx, [esp + 8]
jmp 0x40bc00
mov esi, ecx
test esi, esi
je 0x40bdf4
mov word [esp + 0x20], 0xafb2
mov byte [esp + 0x22], 0x6a
mov dword [esp + 0x23], 0
mov byte [esp + 0x27], 0
mov dword [esp + 4], 0x9dfb32a0
mov ecx, dword [esp + 4]
add cl, 0x82
mov byte [esp + 0x20], cl
movzx ecx, byte [esp + 0x21]
lea edx, [ecx + ecx]
and edx, 0x26
neg edx
add ecx, edx
add ecx, 0x9dfb3213
mov dword [esp + 4], ecx
mov ecx, dword [esp + 4]
add cl, 0x82
mov byte [esp + 0x21], cl
movzx ecx, byte [esp + 0x22]
lea edx, [ecx + ecx]
and edx, 0x28
neg edx
add ecx, edx
add ecx, 0x9dfb3214
mov dword [esp + 4], ecx
mov ecx, dword [esp + 4]
add cl, 0x82
mov byte [esp + 0x22], cl
movzx ecx, byte [esp + 0x23]
lea edx, [ecx + ecx]
and edx, 0x2a
neg edx
add ecx, edx
add ecx, 0x9dfb3215
mov dword [esp + 4], ecx
mov ecx, dword [esp + 4]
add cl, 0x82
mov byte [esp + 0x23], cl
movzx ecx, byte [esp + 0x24]
lea edx, [ecx + ecx]
and edx, 0x2c
neg edx
add ecx, edx
add ecx, 0x9dfb3216
mov dword [esp + 4], ecx
mov ecx, dword [esp + 4]
add cl, 0x82
mov byte [esp + 0x24], cl
movzx ecx, byte [esp + 0x25]
lea edx, [ecx + ecx]
and edx, 0x2e
neg edx
add ecx, edx
add ecx, 0x9dfb3217
mov dword [esp + 4], ecx
mov ecx, dword [esp + 4]
add cl, 0x82
mov byte [esp + 0x25], cl
movzx ecx, byte [esp + 0x26]
lea edx, [ecx + ecx]
and edx, 0x30
neg edx
add ecx, edx
add ecx, 0x9dfb3218
mov dword [esp + 4], ecx
mov ecx, dword [esp + 4]
add cl, 0x82
mov byte [esp + 0x26], cl
movzx ecx, byte [esp + 0x27]
lea edx, [ecx + ecx]
and edx, 0x32
neg edx
add ecx, edx
add ecx, 0x9dfb3219
mov dword [esp + 4], ecx
mov ecx, dword [esp + 4]
add cl, 0x82
mov byte [esp + 0x27], cl
movzx ebx, byte [esp + 0x20]
test bl, bl
je 0x40bd94
add esi, 0x13
lea ecx, [esp + 0x20]
mov edx, esi
mov edi, esi
jmp 0x40bd79
movzx ebx, byte [ecx]
test bl, bl
mov edi, eax
je 0x40bda9
mov bh, byte [edx]
test bh, bh
je 0x40bdf4
inc ecx
inc edx
mov eax, edi
inc edi
cmp bh, bl
je 0x40bd8c
mov eax, edi
mov edx, edi
je 0x40bd70
lea ecx, [esp + 0x20]
jmp 0x40bd70
mov byte [0x449a44], 1
mov ebx, 0x449a46
mov word [ebx], 0
mov bl, 1
jmp 0x40bdf6
test edi, edi
je 0x40bdf4
mov byte [0x449a44], 1
mov dword [esp + 0x20], 0
mov ebx, 0x449a46
cmp edi, esi
jbe 0x40bda0
cmp byte [esi], 0
je 0x40bda0
lea eax, [esp + 0x20]
push eax
push edi
push esi
call fcn.0040d580
add esp, 0xc
movzx ecx, word [esp + 0x20]
mov word [ebx], cx
add ebx, 2
cmp ebx, 0x449c44
jae 0x40bda0
add esi, eax
cmp esi, edi
jb 0x40bdc5
jmp 0x40bda0
xor ebx, ebx
mov eax, dword [esp + 0x94]
push eax
call fcn.004393d0
add esp, 4
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret