Function at 0x40b1e0
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 + 0x23], 0
mov al, byte [esp + 0x60]
mov byte [esp + 0x64], al
mov byte [esp + 0x128], 0xcd
mov byte [esp + 0x129], 0xf2
mov byte [esp + 0x12a], 0xe6
mov byte [esp + 0x12b], 0x2e
mov byte [esp + 0x12c], 0xfc
mov byte [esp + 0x12d], 0xf0
mov byte [esp + 0x12e], 0xfc
mov byte [esp + 0x12f], 0xfa
mov byte [esp + 0x130], 0x64
mov dword [esp + 0x135], 0
mov dword [esp + 0x131], 0
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x24]
cmp eax, 0x11
jae 0x40b2c4
jmp 0x40b270
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x24]
movzx ecx, byte [esp + ecx + 0x128]
mov edx, eax
add edx, 0x12629fd2
lea eax, [eax + ecx + 0x12629fd2]
and edx, ecx
add edx, edx
sub eax, edx
mov dword [esp + 0x178], eax
mov eax, dword [esp + 0x178]
add al, 0x42
mov ecx, dword [esp + 0x24]
mov byte [esp + ecx + 0x128], al
mov eax, dword [esp + 0x24]
inc eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
cmp eax, 0x11
jb 0x40b270
jmp 0x40b2c4
lea eax, [esp + 0x197]
lea edx, [esp + 0x128]
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 + 0x130]
xor ecx, ecx
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
mov cl, byte [esp + 0x130]
mov byte [esp + 0x19f], cl
mov cl, byte [esp + 0x5c]
mov byte [esp + 0x68], cl
mov byte [esp + 0x80], 0x2b
mov byte [esp + 0x81], 0x65
mov byte [esp + 0x82], 0xf5
mov byte [esp + 0x83], 0x63
mov byte [esp + 0x84], 0xf0
mov byte [esp + 0x85], 0x61
mov byte [esp + 0x86], 0xfc
mov byte [esp + 0x87], 0x6f
mov byte [esp + 0x88], 5
mov byte [esp + 0x89], 0x6d
mov byte [esp + 0x8a], 0xfe
mov byte [esp + 0x8b], 0x6b
mov byte [esp + 0x8c], 0xf6
mov byte [esp + 0x8d], 0x69
mov byte [esp + 0x8e], 0x3b
mov byte [esp + 0x8f], 0x97
mov byte [esp + 0x90], 0xea
mov byte [esp + 0x91], 0x95
mov byte [esp + 0x92], 0x13
mov byte [esp + 0x93], 0x93
mov byte [esp + 0x94], 2
mov byte [esp + 0x95], 0x91
mov byte [esp + 0x96], 0xfb
mov byte [esp + 0x97], 0x9f
mov byte [esp + 0x98], 0xd8
mov byte [esp + 0x99], 0x9d
mov byte [esp + 0x9a], 0xbc
mov byte [esp + 0x9b], 0x9b
mov byte [esp + 0x9c], 0xf5
mov byte [esp + 0x9d], 0x99
mov byte [esp + 0x9e], 8
mov byte [esp + 0x9f], 0x87
mov byte [esp + 0xa0], 0x16
mov byte [esp + 0xa1], 0x85
mov byte [esp + 0xa2], 0x10
mov byte [esp + 0xa3], 0x83
mov byte [esp + 0xa4], 0x15
mov byte [esp + 0xa5], 0x81
mov byte [esp + 0xa6], 0xed
mov byte [esp + 0xa7], 0x8f
mov byte [esp + 0xa8], 0xe1
mov byte [esp + 0xa9], 0x8d
mov byte [esp + 0xaa], 0x10
mov byte [esp + 0xab], 0x8b
mov byte [esp + 0xac], 0x1d
mov byte [esp + 0xad], 0x89
mov byte [esp + 0xae], 0x19
mov byte [esp + 0xaf], 0xb7
mov byte [esp + 0xb0], 0x24
mov byte [esp + 0xb1], 0xb5
mov byte [esp + 0xb2], 0xe5
mov byte [esp + 0xb3], 0xb3
mov byte [esp + 0xb4], 0x2a
mov byte [esp + 0xb5], 0xb1
mov byte [esp + 0xb6], 0xe3
mov byte [esp + 0xb7], 0xbf
mov byte [esp + 0xb8], 0x27
mov byte [esp + 0xb9], 0xbd
mov byte [esp + 0xba], 0x25
mov byte [esp + 0xbb], 0xbb
mov byte [esp + 0xbc], 0x23
mov byte [esp + 0xbd], 0xb9
mov byte [esp + 0xbe], 0xeb
mov byte [esp + 0xbf], 0xa7
mov byte [esp + 0xc0], 0xcc
mov byte [esp + 0xc1], 0xa5
mov byte [esp + 0xc2], 0x35
mov byte [esp + 0xc3], 0xa3
mov byte [esp + 0xc4], 0x3c
mov byte [esp + 0xc5], 0xa1
mov byte [esp + 0xc6], 0x33
mov byte [esp + 0xc7], 0xaf
mov byte [esp + 0xc8], 0xfd
mov byte [esp + 0xc9], 0xad
mov byte [esp + 0xca], 0x37
mov byte [esp + 0xcb], 0xab
mov byte [esp + 0xcc], 0x34
mov byte [esp + 0xcd], 0xa9
mov byte [esp + 0xce], 0x3c
mov byte [esp + 0xcf], 0xd7
mov byte [esp + 0xd0], 0xbd
mov byte [esp + 0xd1], 0xd5
mov byte [esp + 0xd2], 0x46
mov byte [esp + 0xd3], 0xd3
mov byte [esp + 0xd4], 0xbf
mov byte [esp + 0xd5], 0xd1
mov byte [esp + 0xd6], 0x41
mov byte [esp + 0xd7], 0xdf
mov byte [esp + 0xd8], 0xb2
mov byte [esp + 0xd9], 0xdd
mov byte [esp + 0xda], 0xb7
mov byte [esp + 0xdb], 0xdb
mov byte [esp + 0xdc], 0xb6
mov byte [esp + 0xdd], 0xd9
mov byte [esp + 0xde], 0xeb
mov byte [esp + 0xdf], 0xc7
mov byte [esp + 0xe0], 0xf0
mov byte [esp + 0xe1], 0xc5
mov byte [esp + 0xe2], 0xc4
mov byte [esp + 0xe3], 0xc3
mov dword [esp + 0xe8], 0
mov dword [esp + 0xe4], 0
mov dword [esp + 0x28], 0
mov ecx, dword [esp + 0x28]
cmp ecx, 0x6c
jae 0x40b6a8
jmp 0x40b655
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x28]
movzx edx, byte [esp + edx + 0x80]
mov esi, ecx
add esi, 0x71
and esi, edx
add ecx, edx
add esi, esi
sub ecx, esi
add ecx, 0xc9655b71
mov dword [esp + 0x17c], ecx
mov ecx, dword [esp + 0x17c]
add cl, 0xe9
mov edx, dword [esp + 0x28]
mov byte [esp + edx + 0x80], cl
mov ecx, dword [esp + 0x28]
inc ecx
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x28]
cmp ecx, 0x6c
jb 0x40b655
jmp 0x40b6a8
mov cl, byte [esp + 0x58]
mov byte [esp + 0x6c], cl
mov byte [esp + 0x150], 0xbf
mov byte [esp + 0x151], 0xcd
mov byte [esp + 0x152], 0x6b
mov byte [esp + 0x153], 0xcb
mov byte [esp + 0x154], pe_nt_image_headers32
mov byte [esp + 0x155], 0xc9
mov byte [esp + 0x156], 0x7f
mov byte [esp + 0x157], 0xc7
mov byte [esp + 0x158], 0xc4
mov byte [esp + 0x159], 0xc5
mov dword [esp + 0x15e], 0
mov dword [esp + 0x15a], 0
mov dword [esp + 0x2c], 0
mov ecx, dword [esp + 0x2c]
cmp ecx, 0x12
jae 0x40b795
jmp 0x40b729
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x2c]
movzx esi, byte [esp + edx + 0x150]
mov edx, ecx
add edx, 0x5d6bcfe2
mov edi, edx
and edi, esi
xor edx, esi
add ecx, 0xe2
and ecx, esi
add ecx, edi
sub edx, ecx
lea ecx, [edx + edi*2]
mov dword [esp + 0x180], ecx
mov edx, dword [esp + 0x180]
mov ecx, edx
or ecx, 0xd1
and edx, 0xd1
add ecx, edx
inc cl
mov edx, dword [esp + 0x2c]
mov byte [esp + edx + 0x150], cl
mov ecx, dword [esp + 0x2c]
inc ecx
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x2c]
cmp ecx, 0x12
jb 0x40b729
jmp 0x40b795
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x150]
lea esi, [esp + 0x80]
lea edi, [esp + 0x44]
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.0040c3c0
test al, 1
jne 0x40b7dd
jmp 0x40bca6
mov al, byte [esp + 0x54]
mov byte [esp + 0x70], al
mov byte [esp + 0x140], 0xbf
mov byte [esp + 0x141], 0xba
mov byte [esp + 0x142], 0x4a
mov byte [esp + 0x14f], 0
mov dword [esp + 0x14b], 0
mov dword [esp + 0x147], 0
mov dword [esp + 0x143], 0
mov dword [esp + 0x30], 0
mov eax, dword [esp + 0x30]
cmp eax, 0x10
jae 0x40b88d
jmp 0x40b839
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x30]
movzx ecx, byte [esp + ecx + 0x140]
mov edx, eax
add edx, 0xa8392f8a
lea eax, [eax + ecx - 0x57c6d076]
and edx, ecx
add edx, edx
sub eax, edx
mov dword [esp + 0x184], eax
mov eax, dword [esp + 0x184]
add al, 0x3a
mov ecx, dword [esp + 0x30]
mov byte [esp + ecx + 0x140], al
mov eax, dword [esp + 0x30]
inc eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
cmp eax, 0x10
jb 0x40b839
jmp 0x40b88d
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x140]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040da00
cmp eax, 0
jne 0x40b8b3
mov byte [esp + 0x23], 1
jmp 0x40bc9a
mov al, byte [esp + 0x50]
mov byte [esp + 0x74], al
mov byte [esp + 0x110], 0xeb
mov byte [esp + 0x111], 0xfe
mov byte [esp + 0x112], 0xfd
mov byte [esp + 0x113], 0xef
mov byte [esp + 0x114], 0xf9
mov byte [esp + 0x115], 0xec
mov byte [esp + 0x116], 0xea
mov byte [esp + 0x117], 0x1f
mov byte [esp + 0x118], 0
mov dword [esp + 0x34], 0
mov eax, dword [esp + 0x34]
cmp eax, 9
jae 0x40b96f
jmp 0x40b916
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x34]
movzx ecx, byte [esp + ecx + 0x110]
mov edx, eax
and edx, 0x280dc0d3
xor eax, 0xa80dc0d3
lea eax, [eax + edx*2]
mov edx, eax
and edx, ecx
add eax, ecx
add edx, edx
sub eax, edx
mov dword [esp + 0x188], eax
mov eax, dword [esp + 0x188]
add al, 0x3b
mov ecx, dword [esp + 0x34]
mov byte [esp + ecx + 0x110], al
mov eax, dword [esp + 0x34]
inc eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x34]
cmp eax, 9
jb 0x40b916
jmp 0x40b96f
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x110]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040c360
cmp eax, 0
je 0x40bc98
mov al, byte [esp + 0x4c]
mov byte [esp + 0x78], al
mov byte [esp + 0xf0], 0xde
mov byte [esp + 0xf1], 0xcc
mov byte [esp + 0xf2], 0xdf
mov byte [esp + 0xf3], 0xd6
mov byte [esp + 0xf4], 0x8d
mov byte [esp + 0xf5], 0x97
mov byte [esp + 0xf6], 0xd7
mov byte [esp + 0xf7], 0xc3
mov byte [esp + 0xf8], 0xc7
mov byte [esp + 0xf9], 0xda
mov byte [esp + 0xfa], 0x9c
mov byte [esp + 0xfb], 0x9b
mov byte [esp + 0xfc], 0xc2
mov byte [esp + 0xfd], 0xd8
mov byte [esp + 0xfe], 0xd2
mov byte [esp + 0xff], 0xca
mov byte [esp + 0x100], 0xd9
mov byte [esp + 0x101], 0x80
mov byte [esp + 0x102], 0xa4
mov byte [esp + 0x103], 0x43
mov dword [esp + 0x107], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0x38], 0
mov eax, dword [esp + 0x38]
cmp eax, 0x1b
jae 0x40bab0
jmp 0x40ba60
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x38]
movzx ecx, byte [esp + ecx + 0xf0]
mov edx, eax
add edx, 0x283eb20e
add eax, 0xe
and eax, ecx
or edx, ecx
sub edx, eax
mov dword [esp + 0x18c], edx
mov eax, dword [esp + 0x18c]
add al, 0x9e
mov ecx, dword [esp + 0x38]
mov byte [esp + ecx + 0xf0], al
mov eax, dword [esp + 0x38]
inc eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x38]
cmp eax, 0x1b
jb 0x40ba60
jmp 0x40bab0
lea eax, [esp + 0x1a0]
lea edx, [esp + 0xf0]
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 + 0xf0]
add edx, 0x14
mov edi, eax
xor ecx, ecx
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
lea eax, [esp + 0x1a0]
mov ecx, dword [esp + 0x44]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0040c360
mov dword [esp + 0x40], eax
cmp dword [esp + 0x40], 0
je 0x40bc98
call fcn.0040eec0
mov eax, dword [esp + 0x40]
add eax, 0x13
mov dword [esp + 0x40], eax
mov al, byte [esp + 0x48]
mov byte [esp + 0x7c], al
mov byte [esp + 0x168], 0x34
mov byte [esp + 0x169], 0x17
mov byte [esp + 0x16a], 0x50
mov word [esp + 0x16f], 0
mov dword [esp + 0x16b], 0
mov dword [esp + 0x3c], 0
mov eax, dword [esp + 0x3c]
cmp eax, 9
jae 0x40bbc3
jmp 0x40bb61
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x3c]
movzx esi, byte [esp + eax + 0x168]
mov eax, edx
add eax, 0x82d2e873
mov ecx, eax
and ecx, esi
xor eax, esi
lea eax, [eax + ecx*2]
add edx, 0x73
and edx, esi
add ecx, edx
mov edx, eax
xor edx, ecx
not ecx
and eax, ecx
add eax, eax
sub eax, edx
mov dword [esp + 0x190], eax
mov eax, dword [esp + 0x190]
add al, 0xdb
mov ecx, dword [esp + 0x3c]
mov byte [esp + ecx + 0x168], al
mov eax, dword [esp + 0x3c]
inc eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x3c]
cmp eax, 9
jb 0x40bb61
jmp 0x40bbc3
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x168]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040c360
mov dword [esp + 0x120], eax
cmp dword [esp + 0x120], 0
setne al
test al, 1
jne 0x40bbf5
jmp 0x40bc96
mov byte [0x446490], 1
mov edi, dword [esp + 0x120]
mov esi, dword [esp + 0x40]
cmp edi, 0
jne 0x40bc22
mov ecx, esi
jmp 0x40bc10
mov eax, ecx
mov dl, byte [eax]
add ecx, 1
cmp dl, 0
jne 0x40bc10
sub eax, esi
mov edi, esi
add edi, eax
mov dword [esp + 0x124], 0
lea eax, [0x446492]
cmp edi, esi
jbe 0x40bc8c
lea ebx, [0x446492]
jmp 0x40bc3f
cmp byte [esi], 0
jne 0x40bc48
mov eax, ebx
jmp 0x40bc8c
lea eax, [esp + 0x124]
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.0040ed20
add esi, eax
mov cx, word [esp + 0x124]
mov eax, ebx
add eax, 2
mov word [ebx], cx
mov ecx, eax
sub ecx, 0x446690
setb cl
mov edx, esi
sub edx, edi
setb dl
and cl, dl
test cl, 1
mov ebx, eax
jne 0x40bc3f
mov word [eax], 0
mov byte [esp + 0x23], 1
jmp 0x40bc98
jmp 0x40bc9a
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.004379b0
mov al, byte [esp + 0x23]
and al, 1
movzx eax, al
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret