Function at 0x40b900
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, 0x1b0
mov eax, dword [ebp + 8]
mov byte [esp + 0x23], 0
mov al, byte [esp + 0x70]
mov byte [esp + 0x74], al
mov byte [esp + 0x48], 0xd
mov byte [esp + 0x49], 0xa
mov byte [esp + 0x4a], 0x16
mov byte [esp + 0x4b], 0x6e
mov byte [esp + 0x4c], 0x1c
mov byte [esp + 0x4d], 0x18
mov byte [esp + 0x4e], 0x1c
mov byte [esp + 0x4f], 2
mov byte [esp + 0x50], 0xa4
mov dword [esp + 0x54], 0
mov dword [esp + 0x51], 0
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x24]
cmp eax, 0x10
jae 0x40b9bd
jmp 0x40b96f
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x24]
movzx ecx, byte [esp + ecx + 0x48]
mov edx, eax
add edx, 0x14b79ec6
lea eax, [eax + ecx + 0x14b79ec6]
and edx, ecx
add edx, edx
sub eax, edx
mov dword [esp + 0x170], eax
mov eax, dword [esp + 0x170]
add al, 0x96
mov ecx, dword [esp + 0x24]
mov byte [esp + ecx + 0x48], al
mov eax, dword [esp + 0x24]
inc eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
cmp eax, 0x10
jb 0x40b96f
jmp 0x40b9bd
lea eax, [esp + 0x18f]
lea edx, [esp + 0x48]
mov edi, eax
mov ecx, 2
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [esp + 0x197]
lea edx, [esp + 0x50]
xor ecx, ecx
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
mov cl, byte [esp + 0x50]
mov byte [esp + 0x197], cl
mov cl, byte [esp + 0x6c]
mov byte [esp + 0x78], cl
mov byte [esp + 0x90], 0x63
mov byte [esp + 0x91], 0x25
mov byte [esp + 0x92], 0x95
mov byte [esp + 0x93], 0x2b
mov byte [esp + 0x94], 0x98
mov byte [esp + 0x95], 0x29
mov byte [esp + 0x96], 0x9c
mov byte [esp + 0x97], 0x2f
mov byte [esp + 0x98], 0x85
mov byte [esp + 0x99], 0x2d
mov byte [esp + 0x9a], 0x9e
mov byte [esp + 0x9b], 0x33
mov byte [esp + 0x9c], 0x86
mov byte [esp + 0x9d], 0x31
mov byte [esp + 0x9e], 0x43
mov byte [esp + 0x9f], 0x37
mov byte [esp + 0xa0], 0x62
mov byte [esp + 0xa1], 0x35
mov byte [esp + 0xa2], 0x8b
mov byte [esp + 0xa3], 0x3b
mov byte [esp + 0xa4], 0x8a
mov byte [esp + 0xa5], 0x39
mov byte [esp + 0xa6], 0x93
mov byte [esp + 0xa7], 0x3f
mov byte [esp + 0xa8], 0x40
mov byte [esp + 0xa9], 0x3d
mov byte [esp + 0xaa], 0x5c
mov byte [esp + 0xab], 3
mov byte [esp + 0xac], 0xa5
mov byte [esp + 0xad], 1
mov byte [esp + 0xae], 0xb0
mov byte [esp + 0xaf], 7
mov byte [esp + 0xb0], 0xb6
mov byte [esp + 0xb1], 5
mov byte [esp + 0xb2], 0xa8
mov byte [esp + 0xb3], 0xb
mov byte [esp + 0xb4], 0xa5
mov byte [esp + 0xb5], 9
mov byte [esp + 0xb6], 0xad
mov byte [esp + 0xb7], 0xf
mov byte [esp + 0xb8], 0xa9
mov byte [esp + 0xb9], 0xd
mov byte [esp + 0xba], 0xb8
mov byte [esp + 0xbb], 0x13
mov byte [esp + 0xbc], 0xbd
mov byte [esp + 0xbd], 0x11
mov byte [esp + 0xbe], 0xa1
mov byte [esp + 0xbf], 0x17
mov byte [esp + 0xc0], 0xa4
mov byte [esp + 0xc1], 0x15
mov byte [esp + 0xc2], 0x65
mov byte [esp + 0xc3], 0x1b
mov byte [esp + 0xc4], 0xa2
mov byte [esp + 0xc5], 0x19
mov byte [esp + 0xc6], 0x6b
mov byte [esp + 0xc7], 0x1f
mov byte [esp + 0xc8], 0xa7
mov byte [esp + 0xc9], 0x1d
mov byte [esp + 0xca], 0xa5
mov byte [esp + 0xcb], 0x63
mov byte [esp + 0xcc], 0xdb
mov byte [esp + 0xcd], 0x61
mov byte [esp + 0xce], 0x13
mov byte [esp + 0xcf], 0x67
mov byte [esp + 0xd0], 0xcc
mov byte [esp + 0xd1], 0x65
mov byte [esp + 0xd2], 0xd5
mov byte [esp + 0xd3], 0x6b
mov byte [esp + 0xd4], 0xdc
mov byte [esp + 0xd5], 0x69
mov byte [esp + 0xd6], 0xdb
mov byte [esp + 0xd7], 0x6f
mov byte [esp + 0xd8], 0x1d
mov byte [esp + 0xd9], 0x6d
mov byte [esp + 0xda], 0xd7
mov byte [esp + 0xdb], 0x73
mov byte [esp + 0xdc], 0xc4
mov byte [esp + 0xdd], 0x71
mov byte [esp + 0xde], 0xdc
mov byte [esp + 0xdf], 0x77
mov byte [esp + 0xe0], 0xdd
mov byte [esp + 0xe1], 0x75
mov byte [esp + 0xe2], 0xc6
mov byte [esp + 0xe3], 0x7b
mov byte [esp + 0xe4], 0xdf
mov byte [esp + 0xe5], 0x79
mov byte [esp + 0xe6], 0xc9
mov byte [esp + 0xe7], 0x7f
mov byte [esp + 0xe8], 0xda
mov byte [esp + 0xe9], 0x7d
mov byte [esp + 0xea], 0xd7
mov byte [esp + 0xeb], 0x43
mov byte [esp + 0xec], 0xe6
mov byte [esp + 0xed], 0x41
mov byte [esp + 0xee], 0x53
mov byte [esp + 0xef], 0x47
mov byte [esp + 0xf0], 0x48
mov byte [esp + 0xf1], 0x45
mov byte [esp + 0xf2], 0x44
mov byte [esp + 0xf3], 0x4b
mov dword [esp + 0xfb], 0
mov dword [esp + 0xf8], 0
mov dword [esp + 0xf4], 0
mov dword [esp + 0x28], 0
mov ecx, dword [esp + 0x28]
cmp ecx, 0x6f
jae 0x40bdae
jmp 0x40bd50
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x28]
movzx edx, byte [esp + edx + 0x90]
mov esi, ecx
add esi, 0xe4b0a105
add ecx, 5
and ecx, edx
or esi, edx
sub esi, ecx
mov dword [esp + 0x174], esi
mov ecx, dword [esp + 0x174]
mov edx, ecx
xor edx, 0xdc
and ecx, 0x5c
lea ecx, [edx + ecx*2]
inc cl
mov edx, dword [esp + 0x28]
mov byte [esp + edx + 0x90], cl
mov ecx, dword [esp + 0x28]
inc ecx
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x28]
cmp ecx, 0x6f
jb 0x40bd50
jmp 0x40bdae
mov cl, byte [esp + 0x68]
mov byte [esp + 0x7c], cl
mov byte [esp + 0x138], 0x67
mov byte [esp + 0x139], 0xb9
mov byte [esp + 0x13a], 0x1b
mov byte [esp + 0x13b], 0xbb
mov byte [esp + 0x13c], 0x2a
mov byte [esp + 0x13d], 0xbd
mov byte [esp + 0x13e], 0x17
mov byte [esp + 0x13f], 0xbf
mov byte [esp + 0x140], 0xbe
mov byte [esp + 0x141], 0xa1
mov dword [esp + 0x149], 0
mov dword [esp + 0x146], 0
mov dword [esp + 0x142], 0
mov dword [esp + 0x2c], 0
mov ecx, dword [esp + 0x2c]
cmp ecx, 0x15
jae 0x40be97
jmp 0x40be3a
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x2c]
movzx edx, byte [esp + edx + 0x138]
mov esi, ecx
add esi, 0x53e18847
mov edi, edx
not edi
mov ebx, esi
or ebx, edi
and esi, edx
add esi, ebx
neg esi
lea ecx, [ecx + esi + 0x53e18846]
mov dword [esp + 0x178], ecx
mov ecx, dword [esp + 0x178]
add cl, 0xf
mov edx, dword [esp + 0x2c]
mov byte [esp + edx + 0x138], cl
mov ecx, dword [esp + 0x2c]
inc ecx
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x2c]
cmp ecx, 0x15
jb 0x40be3a
jmp 0x40be97
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x138]
lea esi, [esp + 0x90]
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.0040ce80
test al, 1
jne 0x40bedf
jmp 0x40c3fa
mov al, byte [esp + 0x64]
mov byte [esp + 0x80], al
mov byte [esp + 0x160], 0x47
mov byte [esp + 0x161], 0x44
mov byte [esp + 0x162], 0xd0
mov dword [esp + 0x166], 0
mov dword [esp + 0x163], 0
mov dword [esp + 0x30], 0
mov eax, dword [esp + 0x30]
cmp eax, 0xa
jae 0x40bf8f
jmp 0x40bf2b
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x30]
movzx ecx, byte [esp + ecx + 0x160]
mov edx, eax
and edx, 0x16d6f063
xor eax, 0x16d6f063
lea eax, [eax + edx*2]
mov edx, eax
and edx, ecx
mov esi, eax
xor esi, ecx
or eax, ecx
mov ecx, esi
xor ecx, eax
lea eax, [esi + edx*2]
add edx, ecx
sub eax, edx
mov dword [esp + 0x17c], eax
mov eax, dword [esp + 0x17c]
add al, 0x4b
mov ecx, dword [esp + 0x30]
mov byte [esp + ecx + 0x160], al
mov eax, dword [esp + 0x30]
inc eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
cmp eax, 0xa
jb 0x40bf2b
jmp 0x40bf8f
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x160]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040e7d0
cmp eax, 0
jne 0x40bfb5
mov byte [esp + 0x23], 1
jmp 0x40c3ec
mov al, byte [esp + 0x60]
mov byte [esp + 0x84], al
mov byte [esp + 0x120], 0x3b
mov byte [esp + 0x121], 0x2e
mov byte [esp + 0x122], 0x29
mov byte [esp + 0x123], 0x3f
mov byte [esp + 0x124], 0x25
mov byte [esp + 0x125], 0x20
mov byte [esp + 0x126], 0x22
mov byte [esp + 0x127], 0xaf
lea eax, [esp + 0x120]
add eax, 8
xor ecx, ecx
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 6
call fcn.00409530
mov dword [esp + 0x34], 0
mov eax, dword [esp + 0x34]
cmp eax, 0xe
jae 0x40c08e
jmp 0x40c037
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x34]
movzx ecx, byte [esp + eax + 0x120]
mov eax, esi
add eax, 0xc9
mov edx, 0xac244d36
sub edx, esi
and eax, ecx
or edx, ecx
not edx
add edx, ecx
sub edx, eax
mov dword [esp + 0x180], edx
mov eax, dword [esp + 0x180]
add al, 0x81
mov ecx, dword [esp + 0x34]
mov byte [esp + ecx + 0x120], al
mov eax, dword [esp + 0x34]
inc eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x34]
cmp eax, 0xe
jb 0x40c037
jmp 0x40c08e
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x120]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040ce20
cmp eax, 0
setne al
test al, 1
jne 0x40c0b4
jmp 0x40c3ea
mov al, byte [esp + 0x5c]
mov byte [esp + 0x88], al
mov byte [esp + 0x100], 0x74
mov byte [esp + 0x101], 0x6a
mov byte [esp + 0x102], 0x77
mov byte [esp + 0x103], 0x68
mov byte [esp + 0x104], 0x81
mov byte [esp + 0x105], 0xaf
mov byte [esp + 0x106], 0x6f
mov byte [esp + 0x107], 0x73
mov byte [esp + 0x108], 0x7f
mov byte [esp + 0x109], pe_nt_image_headers32
mov byte [esp + 0x10a], 0xa2
mov byte [esp + 0x10b], 0xab
mov byte [esp + 0x10c], 0x70
mov byte [esp + 0x10d], 0x66
mov byte [esp + 0x10e], 0x7c
mov byte [esp + 0x10f], 0x6c
mov byte [esp + 0x110], 0x7d
mov byte [esp + 0x111], 0x96
mov byte [esp + 0x112], 0xba
mov byte [esp + 0x113], 0xd3
mov dword [esp + 0x117], 0
mov dword [esp + 0x114], 0
mov dword [esp + 0x38], 0
mov eax, dword [esp + 0x38]
cmp eax, 0x1b
jae 0x40c1fe
jmp 0x40c188
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x38]
movzx ecx, byte [esp + ecx + 0x100]
mov edx, eax
add edx, 0xc649861
lea eax, [eax + ecx + 0xc649861]
mov esi, ecx
not esi
mov edi, edx
or edi, esi
mov esi, ecx
add esi, edi
and edx, ecx
lea ecx, [edx + esi + 1]
mov edx, ecx
xor edx, eax
not ecx
and eax, ecx
add eax, eax
sub eax, edx
mov dword [esp + 0x184], eax
mov ecx, dword [esp + 0x184]
mov eax, ecx
or eax, 0x58
and ecx, 0x58
add eax, ecx
inc al
mov ecx, dword [esp + 0x38]
mov byte [esp + ecx + 0x100], al
mov eax, dword [esp + 0x38]
inc eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x38]
cmp eax, 0x1b
jb 0x40c188
jmp 0x40c1fe
lea eax, [esp + 0x198]
lea edx, [esp + 0x100]
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 + 0x100]
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 + 0x198]
mov ecx, dword [esp + 0x44]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0040ce20
mov dword [esp + 0x40], eax
cmp dword [esp + 0x40], 0
je 0x40c3ea
call fcn.0040ff30
mov eax, dword [esp + 0x40]
add eax, 0x13
mov dword [esp + 0x40], eax
mov al, byte [esp + 0x58]
mov byte [esp + 0x8c], al
mov byte [esp + 0x150], 0xea
mov byte [esp + 0x151], 0x8f
mov byte [esp + 0x152], 0xf2
mov dword [esp + 0x156], 0
mov dword [esp + 0x153], 0
mov dword [esp + 0x3c], 0
mov eax, dword [esp + 0x3c]
cmp eax, 0xa
jae 0x40c315
jmp 0x40c2b3
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x3c]
movzx ecx, byte [esp + ecx + 0x150]
mov edx, eax
add edx, 0xde
and edx, ecx
add eax, ecx
add edx, edx
sub eax, edx
add eax, 0xc54ed1de
mov dword [esp + 0x188], eax
mov eax, dword [esp + 0x188]
mov ecx, eax
xor ecx, 0xed
and eax, 0x6d
lea eax, [ecx + eax*2]
inc al
mov ecx, dword [esp + 0x3c]
mov byte [esp + ecx + 0x150], al
mov eax, dword [esp + 0x3c]
inc eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x3c]
cmp eax, 0xa
jb 0x40c2b3
jmp 0x40c315
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x150]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040ce20
mov dword [esp + 0x130], eax
cmp dword [esp + 0x130], 0
setne al
test al, 1
jne 0x40c347
jmp 0x40c3e8
mov byte [0x447fc8], 1
mov edi, dword [esp + 0x130]
mov esi, dword [esp + 0x40]
cmp edi, 0
jne 0x40c374
mov ecx, esi
jmp 0x40c362
mov eax, ecx
mov dl, byte [eax]
add ecx, 1
cmp dl, 0
jne 0x40c362
sub eax, esi
mov edi, esi
add edi, eax
mov dword [esp + 0x134], 0
lea eax, [0x447fca]
cmp edi, esi
jbe 0x40c3de
lea ebx, [0x447fca]
jmp 0x40c391
cmp byte [esi], 0
jne 0x40c39a
mov eax, ebx
jmp 0x40c3de
lea eax, [esp + 0x134]
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.0040fda0
add esi, eax
mov cx, word [esp + 0x134]
mov eax, ebx
add eax, 2
mov word [ebx], cx
mov ecx, eax
sub ecx, 0x4481c8
setb cl
mov edx, esi
sub edx, edi
setb dl
and cl, dl
test cl, 1
mov ebx, eax
jne 0x40c391
mov word [eax], 0
mov byte [esp + 0x23], 1
jmp 0x40c3ea
jmp 0x40c3ec
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.004360c0
jmp 0x40c3fa
mov al, byte [esp + 0x23]
and al, 1
movzx eax, al
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret