Function at 0x40b420
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, 0x1b8
mov eax, dword [ebp + 8]
mov byte [esp + 0x1f], 0
mov al, byte [esp + 0x68]
mov byte [esp + 0x6c], al
mov byte [esp + 0x118], 0xed
mov byte [esp + 0x119], 0xea
mov byte [esp + 0x11a], 0x16
mov byte [esp + 0x11b], 0xce
mov byte [esp + 0x11c], 0x1c
mov byte [esp + 0x11d], 0x18
mov byte [esp + 0x11e], 0x1c
mov byte [esp + 0x11f], 0xe2
mov byte [esp + 0x120], 0x84
mov byte [esp + 0x12d], 0
mov dword [esp + 0x129], 0
mov dword [esp + 0x125], 0
mov dword [esp + 0x121], 0
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0x20]
cmp eax, 0x16
jae 0x40b515
jmp 0x40b4c3
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x20]
movzx ecx, byte [esp + ecx + 0x118]
mov edx, eax
add edx, 0xf37d896
add eax, 0x96
and eax, ecx
or edx, ecx
sub edx, eax
mov dword [esp + 0x164], edx
mov eax, dword [esp + 0x164]
add al, 0xe6
mov ecx, dword [esp + 0x20]
mov byte [esp + ecx + 0x118], al
mov eax, dword [esp + 0x20]
inc eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
cmp eax, 0x16
jb 0x40b4c3
jmp 0x40b515
lea eax, [esp + 0x197]
lea edx, [esp + 0x118]
mov edi, eax
mov ecx, 2
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [esp + 0x19f]
lea edx, [esp + 0x120]
xor ecx, ecx
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
mov cl, byte [esp + 0x120]
mov byte [esp + 0x19f], cl
mov cl, byte [esp + 0x64]
mov byte [esp + 0x70], cl
mov byte [esp + 0x88], 0x63
mov byte [esp + 0x89], 0x25
mov byte [esp + 0x8a], 0x95
mov byte [esp + 0x8b], 0x2b
mov byte [esp + 0x8c], 0x98
mov byte [esp + 0x8d], 0x29
mov byte [esp + 0x8e], 0x9c
mov byte [esp + 0x8f], 0x2f
mov byte [esp + 0x90], 0x85
mov byte [esp + 0x91], 0x2d
mov byte [esp + 0x92], 0x9e
mov byte [esp + 0x93], 0x33
mov byte [esp + 0x94], 0x86
mov byte [esp + 0x95], 0x31
mov byte [esp + 0x96], 0x43
mov byte [esp + 0x97], 0x37
mov byte [esp + 0x98], 0x62
mov byte [esp + 0x99], 0x35
mov byte [esp + 0x9a], 0x8b
mov byte [esp + 0x9b], 0x3b
mov byte [esp + 0x9c], 0x8a
mov byte [esp + 0x9d], 0x39
mov byte [esp + 0x9e], 0x93
mov byte [esp + 0x9f], 0x3f
mov byte [esp + 0xa0], 0x40
mov byte [esp + 0xa1], 0x3d
mov byte [esp + 0xa2], 0x5c
mov byte [esp + 0xa3], 3
mov byte [esp + 0xa4], 0xa5
mov byte [esp + 0xa5], 1
mov byte [esp + 0xa6], 0xb0
mov byte [esp + 0xa7], 7
mov byte [esp + 0xa8], 0xb6
mov byte [esp + 0xa9], 5
mov byte [esp + 0xaa], 0xa8
mov byte [esp + 0xab], 0xb
mov byte [esp + 0xac], 0xa5
mov byte [esp + 0xad], 9
mov byte [esp + 0xae], 0xad
mov byte [esp + 0xaf], 0xf
mov byte [esp + 0xb0], 0xa9
mov byte [esp + 0xb1], 0xd
mov byte [esp + 0xb2], 0xb8
mov byte [esp + 0xb3], 0x13
mov byte [esp + 0xb4], 0xbd
mov byte [esp + 0xb5], 0x11
mov byte [esp + 0xb6], 0xa1
mov byte [esp + 0xb7], 0x17
mov byte [esp + 0xb8], 0xa4
mov byte [esp + 0xb9], 0x15
mov byte [esp + 0xba], 0x65
mov byte [esp + 0xbb], 0x1b
mov byte [esp + 0xbc], 0xa2
mov byte [esp + 0xbd], 0x19
mov byte [esp + 0xbe], 0x6b
mov byte [esp + 0xbf], 0x1f
mov byte [esp + 0xc0], 0xa7
mov byte [esp + 0xc1], 0x1d
mov byte [esp + 0xc2], 0xa5
mov byte [esp + 0xc3], 0x63
mov byte [esp + 0xc4], 0xdb
mov byte [esp + 0xc5], 0x61
mov byte [esp + 0xc6], 0x13
mov byte [esp + 0xc7], 0x67
mov byte [esp + 0xc8], 0xcc
mov byte [esp + 0xc9], 0x65
mov byte [esp + 0xca], 0xd5
mov byte [esp + 0xcb], 0x6b
mov byte [esp + 0xcc], 0xdc
mov byte [esp + 0xcd], 0x69
mov byte [esp + 0xce], 0xdb
mov byte [esp + 0xcf], 0x6f
mov byte [esp + 0xd0], 0x1d
mov byte [esp + 0xd1], 0x6d
mov byte [esp + 0xd2], 0xd7
mov byte [esp + 0xd3], 0x73
mov byte [esp + 0xd4], 0xc4
mov byte [esp + 0xd5], 0x71
mov byte [esp + 0xd6], 0xdc
mov byte [esp + 0xd7], 0x77
mov byte [esp + 0xd8], 0xdd
mov byte [esp + 0xd9], 0x75
mov byte [esp + 0xda], 0xc6
mov byte [esp + 0xdb], 0x7b
mov byte [esp + 0xdc], 0xdf
mov byte [esp + 0xdd], 0x79
mov byte [esp + 0xde], 0xc9
mov byte [esp + 0xdf], 0x7f
mov byte [esp + 0xe0], 0xda
mov byte [esp + 0xe1], 0x7d
mov byte [esp + 0xe2], 0xd7
mov byte [esp + 0xe3], 0x43
mov byte [esp + 0xe4], 0xe6
mov byte [esp + 0xe5], 0x41
mov byte [esp + 0xe6], 0x53
mov byte [esp + 0xe7], 0x47
mov byte [esp + 0xe8], 0x48
mov byte [esp + 0xe9], 0x45
mov byte [esp + 0xea], 0x44
mov byte [esp + 0xeb], 0x4b
mov word [esp + 0xf0], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0x24], 0
mov ecx, dword [esp + 0x24]
cmp ecx, 0x6a
jae 0x40b8fb
jmp 0x40b8a5
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x24]
movzx edx, byte [esp + edx + 0x88]
mov esi, ecx
add esi, edx
add ecx, 0x85
and ecx, edx
add ecx, ecx
sub esi, ecx
add esi, 0x41515285
mov dword [esp + 0x168], esi
mov ecx, dword [esp + 0x168]
add cl, 0x5d
mov edx, dword [esp + 0x24]
mov byte [esp + edx + 0x88], cl
mov ecx, dword [esp + 0x24]
inc ecx
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x24]
cmp ecx, 0x6a
jb 0x40b8a5
jmp 0x40b8fb
mov cl, byte [esp + 0x60]
mov byte [esp + 0x74], cl
mov byte [esp + 0x138], 7
mov byte [esp + 0x139], 0xd1
mov byte [esp + 0x13a], 0x73
mov byte [esp + 0x13b], 0xd3
mov byte [esp + 0x13c], 0x42
mov byte [esp + 0x13d], 0xdd
mov byte [esp + 0x13e], 0x77
mov byte [esp + 0x13f], 0xdf
mov byte [esp + 0x140], 0xde
mov byte [esp + 0x141], 0xd9
mov word [esp + 0x14a], 0
mov dword [esp + 0x146], 0
mov dword [esp + 0x142], 0
mov dword [esp + 0x28], 0
mov ecx, dword [esp + 0x28]
cmp ecx, 0x14
jae 0x40b9f0
jmp 0x40b986
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x28]
movzx edx, byte [esp + edx + 0x138]
mov esi, ecx
add esi, 0xc0cb18a3
mov edi, edx
not edi
mov ebx, esi
or ebx, edi
and esi, edx
add esi, ebx
neg esi
lea ecx, [ecx + esi - 0x3f34e75e]
mov dword [esp + 0x16c], ecx
mov ecx, dword [esp + 0x16c]
mov edx, ecx
xor edx, 0x8a
and ecx, 0xa
lea ecx, [edx + ecx*2]
inc cl
mov edx, dword [esp + 0x28]
mov byte [esp + edx + 0x138], cl
mov ecx, dword [esp + 0x28]
inc ecx
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x28]
cmp ecx, 0x14
jb 0x40b986
jmp 0x40b9f0
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x138]
lea esi, [esp + 0x88]
lea edi, [esp + 0x4c]
xor ebx, ebx
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], 0
call fcn.0040c640
test al, 1
jne 0x40ba38
jmp 0x40bebc
mov al, byte [esp + 0x5c]
mov byte [esp + 0x78], al
mov byte [esp + 0x150], 0xf7
mov byte [esp + 0x151], 0xf0
mov byte [esp + 0x152], 0x64
mov word [esp + 0x157], 0
mov dword [esp + 0x153], 0
mov dword [esp + 0x2c], 0
mov eax, dword [esp + 0x2c]
cmp eax, 9
jae 0x40bad4
jmp 0x40ba80
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x2c]
movzx ecx, byte [esp + ecx + 0x150]
mov edx, eax
add edx, ecx
add eax, 0xf1
and eax, ecx
add eax, eax
sub edx, eax
add edx, 0x1f8752f1
mov dword [esp + 0x170], edx
mov eax, dword [esp + 0x170]
add al, 0x69
mov ecx, dword [esp + 0x2c]
mov byte [esp + ecx + 0x150], al
mov eax, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
cmp eax, 9
jb 0x40ba80
jmp 0x40bad4
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x150]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040da70
cmp eax, 0
jne 0x40bafa
mov byte [esp + 0x1f], 1
jmp 0x40beae
mov al, byte [esp + 0x58]
mov byte [esp + 0x7c], al
mov byte [esp + 0x40], 0x3b
mov byte [esp + 0x41], 0xce
mov byte [esp + 0x42], 0xc9
mov byte [esp + 0x43], 0x3f
mov byte [esp + 0x44], 0xc5
mov byte [esp + 0x45], 0xc0
mov byte [esp + 0x46], 0xc2
mov byte [esp + 0x47], 0xcf
mov dword [esp + 0x30], 0
mov eax, dword [esp + 0x30]
cmp eax, 8
jae 0x40bb8b
jmp 0x40bb3d
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x30]
movzx ecx, byte [esp + ecx + 0x40]
mov edx, eax
add edx, 0xb9
and edx, ecx
add eax, ecx
add edx, edx
sub eax, edx
add eax, 0xd8657ab9
mov dword [esp + 0x174], eax
mov eax, dword [esp + 0x174]
add al, 0xf1
mov ecx, dword [esp + 0x30]
mov byte [esp + ecx + 0x40], al
mov eax, dword [esp + 0x30]
inc eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
cmp eax, 8
jb 0x40bb3d
jmp 0x40bb8b
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x40]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040c5e0
cmp eax, 0
je 0x40beac
mov al, byte [esp + 0x54]
mov byte [esp + 0x80], al
mov byte [esp + 0xf8], 0xae
mov byte [esp + 0xf9], 0x50
mov byte [esp + 0xfa], 0xaf
mov byte [esp + 0xfb], 0x56
mov byte [esp + 0xfc], 0x79
mov byte [esp + 0xfd], 0x17
mov byte [esp + 0xfe], 0x57
mov byte [esp + 0xff], 0xa3
mov byte [esp + 0x100], 0xb7
mov byte [esp + 0x101], 0xb2
mov byte [esp + 0x102], 8
mov byte [esp + 0x103], 0xb
mov byte [esp + 0x104], 0xba
mov byte [esp + 0x105], 0x4c
mov byte [esp + 0x106], 0xb2
mov byte [esp + 0x107], 0xba
mov byte [esp + 0x108], 0x45
mov byte [esp + 0x109], 0x6c
mov byte [esp + 0x10a], 0
mov byte [esp + 0x10b], 0x23
mov byte [esp + 0x110], 0
mov dword [esp + 0x10c], 0
mov dword [esp + 0x34], 0
mov eax, dword [esp + 0x34]
cmp eax, 0x19
jae 0x40bccd
jmp 0x40bc79
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x34]
movzx ecx, byte [esp + ecx + 0xf8]
mov edx, eax
add edx, 0xdfaf0828
and edx, ecx
lea eax, [eax + ecx - 0x2050f7d8]
add edx, edx
sub eax, edx
mov dword [esp + 0x178], eax
mov eax, dword [esp + 0x178]
add al, 0xe8
mov ecx, dword [esp + 0x34]
mov byte [esp + ecx + 0xf8], al
mov eax, dword [esp + 0x34]
inc eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x34]
cmp eax, 0x19
jb 0x40bc79
jmp 0x40bccd
lea eax, [esp + 0x1a0]
lea edx, [esp + 0xf8]
mov edi, eax
mov ecx, 5
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
add eax, 0x14
lea edx, [esp + 0xf8]
add edx, 0x14
xor ecx, ecx
mov edi, eax
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
lea eax, [esp + 0x1a0]
mov ecx, dword [esp + 0x4c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0040c5e0
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x3c]
cmp eax, 0
je 0x40beac
mov eax, dword [esp + 0x3c]
add eax, 0x13
mov dword [esp + 0x3c], eax
mov al, byte [esp + 0x50]
mov byte [esp + 0x84], al
mov byte [esp + 0x180], 0x68
mov byte [esp + 0x181], 0x77
mov byte [esp + 0x182], 0x34
lea eax, [esp + 0x180]
add eax, 3
xor ecx, ecx
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 7
call fcn.00408f80
mov dword [esp + 0x38], 0
mov eax, dword [esp + 0x38]
cmp eax, 0xa
jae 0x40bddd
jmp 0x40bd8d
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x38]
movzx ecx, byte [esp + ecx + 0x180]
mov edx, eax
add edx, 0x33f74529
add eax, 0x29
and eax, ecx
or edx, ecx
sub edx, eax
mov dword [esp + 0x17c], edx
mov eax, dword [esp + 0x17c]
add al, 0xe1
mov ecx, dword [esp + 0x38]
mov byte [esp + ecx + 0x180], al
mov eax, dword [esp + 0x38]
inc eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x38]
cmp eax, 0xa
jb 0x40bd8d
jmp 0x40bddd
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x180]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040c5e0
mov dword [esp + 0x130], eax
jmp 0x40bdfd
cmp dword [esp + 0x130], 0
je 0x40beac
mov byte [0x446558], 1
mov edi, dword [esp + 0x130]
mov esi, dword [esp + 0x3c]
cmp edi, 0
jne 0x40be38
mov ecx, esi
jmp 0x40be26
mov eax, ecx
mov dl, byte [eax]
add ecx, 1
cmp dl, 0
jne 0x40be26
sub eax, esi
mov edi, esi
add edi, eax
mov dword [esp + 0x134], 0
lea eax, [0x44655a]
cmp edi, esi
jbe 0x40bea2
lea ebx, [0x44655a]
jmp 0x40be55
cmp byte [esi], 0
jne 0x40be5e
mov eax, ebx
jmp 0x40bea2
lea eax, [esp + 0x134]
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.0040ea20
add esi, eax
mov cx, word [esp + 0x134]
mov eax, ebx
add eax, 2
mov word [ebx], cx
mov ecx, eax
sub ecx, 0x446758
setb cl
mov edx, esi
sub edx, edi
setb dl
and cl, dl
test cl, 1
mov ebx, eax
jne 0x40be55
mov word [eax], 0
mov byte [esp + 0x1f], 1
jmp 0x40beae
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call fcn.00437510
jmp 0x40bebc
mov al, byte [esp + 0x1f]
jmp 0x40bec2
and al, 1
movzx eax, al
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret