Function at 0x40a9b0
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, 0x1a8
mov eax, dword [ebp + 8]
mov byte [esp + 0x23], 0
mov al, byte [esp + 0xc8]
mov byte [esp + 0xcc], al
mov byte [esp + 0x130], 0x75
mov byte [esp + 0x131], 0x7c
mov byte [esp + 0x132], 0xc
mov byte [esp + 0x133], 0x54
mov byte [esp + 0x134], 6
mov byte [esp + 0x135], 0x76
mov byte [esp + 0x136], 0x72
mov byte [esp + 0x137], 0x70
mov byte [esp + 0x138], 0x9e
mov dword [esp + 0x141], 0
mov dword [esp + 0x13d], 0
mov dword [esp + 0x139], 0
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x24]
cmp eax, 0x15
jae 0x40aaa5
jmp 0x40aa51
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x24]
movzx ecx, byte [esp + ecx + 0x130]
mov edx, eax
add edx, 0x15b801c3
lea eax, [eax + ecx + 0x15b801c3]
and edx, ecx
add edx, edx
sub eax, edx
mov dword [esp + 0x168], eax
mov eax, dword [esp + 0x168]
add al, 0xab
mov ecx, dword [esp + 0x24]
mov byte [esp + ecx + 0x130], al
mov eax, dword [esp + 0x24]
inc eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
cmp eax, 0x15
jb 0x40aa51
jmp 0x40aaa5
lea eax, [esp + 0x187]
lea edx, [esp + 0x130]
mov edi, eax
mov ecx, 2
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [esp + 0x18f]
lea edx, [esp + 0x138]
xor ecx, ecx
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
mov cl, byte [esp + 0x138]
mov byte [esp + 0x18f], cl
mov cl, byte [esp + 0xc4]
mov byte [esp + 0xd0], cl
mov byte [esp + 0x48], 0xdb
mov byte [esp + 0x49], 0x21
mov byte [esp + 0x4a], 0xb1
mov byte [esp + 0x4b], 0x23
mov byte [esp + 0x4c], 0xb4
mov byte [esp + 0x4d], 0xdd
mov byte [esp + 0x4e], 0x50
mov byte [esp + 0x4f], 0xdf
mov byte [esp + 0x50], 0x41
mov byte [esp + 0x51], 0xd9
mov byte [esp + 0x52], 0x4e
mov byte [esp + 0x53], 0xdb
mov byte [esp + 0x54], 0x56
mov byte [esp + 0x55], 0xd5
mov byte [esp + 0x56], 3
mov byte [esp + 0x57], 0xd7
mov byte [esp + 0x58], 0x3a
mov byte [esp + 0x59], 0xd1
mov byte [esp + 0x5a], 0x5b
mov byte [esp + 0x5b], 0xd3
mov byte [esp + 0x5c], 0x42
mov byte [esp + 0x5d], 0xcd
mov byte [esp + 0x5e], 0x53
mov byte [esp + 0x5f], 0xcf
mov byte [esp + 0x60], 4
mov byte [esp + 0x61], 0xc9
mov byte [esp + 0x62], 0xe8
mov byte [esp + 0x63], 0xcb
mov byte [esp + 0x64], 0x29
mov byte [esp + 0x65], 0xc5
mov byte [esp + 0x66], 0x54
mov byte [esp + 0x67], 0xc7
mov byte [esp + 0x68], 0x56
mov byte [esp + 0x69], 0xc1
mov byte [esp + 0x6a], 0x54
mov byte [esp + 0x6b], 0xc3
mov byte [esp + 0x6c], 0x59
mov byte [esp + 0x6d], 0xfd
mov byte [esp + 0x6e], 0x61
mov byte [esp + 0x6f], 0xff
mov byte [esp + 0x70], 0x1d
mov byte [esp + 0x71], 0xf9
mov byte [esp + 0x72], 0x74
mov byte [esp + 0x73], 0xfb
mov byte [esp + 0x74], 0x61
mov byte [esp + 0x75], 0xf5
mov byte [esp + 0x76], 0x65
mov byte [esp + 0x77], 0xf7
mov byte [esp + 0x78], 0x60
mov byte [esp + 0x79], 0xf1
mov byte [esp + 0x7a], 0x21
mov byte [esp + 0x7b], 0xf3
mov byte [esp + 0x7c], 0x7a
mov byte [esp + 0x7d], 0xed
mov byte [esp + 0x7e], 0x3b
mov byte [esp + 0x7f], 0xef
mov byte [esp + 0x80], 0x67
mov byte [esp + 0x81], 0xe9
mov byte [esp + 0x82], 0x61
mov byte [esp + 0x83], 0xeb
mov byte [esp + 0x84], 0x63
mov byte [esp + 0x85], 0xe5
mov byte [esp + 0x86], 0x33
mov byte [esp + 0x87], 0xe7
mov byte [esp + 0x88], pe_nt_image_headers32
mov byte [esp + 0x89], 0xe1
mov byte [esp + 0x8a], 0x71
mov byte [esp + 0x8b], 0xe3
mov byte [esp + 0x8c], 0x70
mov byte [esp + 0x8d], 0x9d
mov byte [esp + 0x8e], 0xb
mov byte [esp + 0x8f], 0x9f
mov byte [esp + 0x90], 0x49
mov byte [esp + 0x91], 0x99
mov byte [esp + 0x92], 0x17
mov byte [esp + 0x93], 0x9b
mov byte [esp + 0x94], 8
mov byte [esp + 0x95], 0x95
mov byte [esp + 0x96], 0
mov byte [esp + 0x97], 0x97
mov byte [esp + 0x98], 9
mov byte [esp + 0x99], 0x91
mov byte [esp + 0x9a], 6
mov byte [esp + 0x9b], 0x93
mov byte [esp + 0x9c], 0xf
mov byte [esp + 0x9d], 0x8d
mov byte [esp + 0x9e], 0x1d
mov byte [esp + 0x9f], 0x8f
mov byte [esp + 0xa0], 0x12
mov byte [esp + 0xa1], 0x89
mov byte [esp + 0xa2], 0x17
mov byte [esp + 0xa3], 0x8b
mov byte [esp + 0xa4], 0x16
mov byte [esp + 0xa5], 0x85
mov byte [esp + 0xa6], 0xb3
mov byte [esp + 0xa7], 0x87
mov byte [esp + 0xa8], 0xbc
mov byte [esp + 0xa9], 0x81
mov byte [esp + 0xaa], 0x80
mov byte [esp + 0xab], 0x83
mov dword [esp + 0xac], 0
mov dword [esp + 0x28], 0
mov ecx, dword [esp + 0x28]
cmp ecx, 0x68
jae 0x40add8
jmp 0x40ad89
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x28]
movzx edx, byte [esp + edx + 0x48]
mov esi, ecx
add esi, 0x478eb57b
lea ecx, [ecx + edx + 0x478eb57b]
and esi, edx
add esi, esi
sub ecx, esi
mov dword [esp + 0x16c], ecx
mov ecx, dword [esp + 0x16c]
add cl, 0xa3
mov edx, dword [esp + 0x28]
mov byte [esp + edx + 0x48], cl
mov ecx, dword [esp + 0x28]
inc ecx
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x28]
cmp ecx, 0x68
jb 0x40ad89
jmp 0x40add8
mov cl, byte [esp + 0xc0]
mov byte [esp + 0xd4], cl
mov byte [esp + 0xe8], 0x77
mov byte [esp + 0xe9], 0x41
mov byte [esp + 0xea], 0x23
mov byte [esp + 0xeb], 0x43
mov byte [esp + 0xec], 0x32
mov byte [esp + 0xed], 0x5d
mov byte [esp + 0xee], 0x27
mov byte [esp + 0xef], 0x5f
mov byte [esp + 0xf0], 0x5e
mov byte [esp + 0xf1], 0x59
mov word [esp + 0xf6], 0
mov dword [esp + 0xf2], 0
mov dword [esp + 0x2c], 0
mov ecx, dword [esp + 0x2c]
cmp ecx, 0x10
jae 0x40aeb3
jmp 0x40ae5e
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x2c]
movzx edx, byte [esp + edx + 0xe8]
mov esi, ecx
add esi, 0xf9f1524b
lea ecx, [ecx + edx - 0x60eadb5]
and esi, edx
add esi, esi
sub ecx, esi
mov dword [esp + 0x170], ecx
mov ecx, dword [esp + 0x170]
add cl, 0xf3
mov edx, dword [esp + 0x2c]
mov byte [esp + edx + 0xe8], cl
mov ecx, dword [esp + 0x2c]
inc ecx
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x2c]
cmp ecx, 0x10
jb 0x40ae5e
jmp 0x40aeb3
mov ecx, dword [ebp + 8]
lea edx, [esp + 0xe8]
lea esi, [esp + 0x48]
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.0040b440
test al, 1
jne 0x40aef8
jmp 0x40b3de
mov al, byte [esp + 0xbc]
mov byte [esp + 0xd8], al
mov byte [esp + 0x148], 0xa7
mov byte [esp + 0x149], 0x54
mov byte [esp + 0x14a], 0x38
mov byte [esp + 0x153], 0
mov dword [esp + 0x14f], 0
mov dword [esp + 0x14b], 0
mov dword [esp + 0x30], 0
mov eax, dword [esp + 0x30]
cmp eax, 0xc
jae 0x40afad
jmp 0x40af4f
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x30]
movzx ecx, byte [esp + ecx + 0x148]
mov edx, eax
add edx, 0xef03ea7
lea eax, [eax + ecx + 0xef03ea7]
and edx, ecx
add edx, edx
mov ecx, edx
xor ecx, eax
not edx
and eax, edx
add eax, eax
sub eax, ecx
mov dword [esp + 0x174], eax
mov eax, dword [esp + 0x174]
add al, 0x6f
mov ecx, dword [esp + 0x30]
mov byte [esp + ecx + 0x148], al
mov eax, dword [esp + 0x30]
inc eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
cmp eax, 0xc
jb 0x40af4f
jmp 0x40afad
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x148]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040d2b0
cmp eax, 0
jne 0x40afd3
mov byte [esp + 0x23], 1
jmp 0x40b3cc
mov al, byte [esp + 0xb8]
mov byte [esp + 0xdc], al
mov byte [esp + 0x118], 0x8b
mov byte [esp + 0x119], 0x84
mov byte [esp + 0x11a], 0x79
mov byte [esp + 0x11b], 0x97
mov byte [esp + 0x11c], 0x8d
mov byte [esp + 0x11d], 0x82
mov byte [esp + 0x11e], 0x80
mov byte [esp + 0x11f], 0x17
mov word [esp + 0x120], 0
mov dword [esp + 0x34], 0
mov eax, dword [esp + 0x34]
cmp eax, 0xa
jae 0x40b092
jmp 0x40b03e
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x34]
movzx ecx, byte [esp + ecx + 0x118]
mov edx, eax
add edx, 0x84
and edx, ecx
add eax, ecx
add edx, edx
sub eax, edx
add eax, 0xd239ca84
mov dword [esp + 0x178], eax
mov eax, dword [esp + 0x178]
add al, 0x64
mov ecx, dword [esp + 0x34]
mov byte [esp + ecx + 0x118], al
mov eax, dword [esp + 0x34]
inc eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x34]
cmp eax, 0xa
jb 0x40b03e
jmp 0x40b092
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x118]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040d2e0
cmp eax, 0
je 0x40b3ca
mov al, byte [esp + 0xb4]
mov byte [esp + 0xe0], al
mov byte [esp + 0xf8], 0x74
mov byte [esp + 0xf9], 0x6a
mov byte [esp + 0xfa], 0x77
mov byte [esp + 0xfb], 0x68
mov byte [esp + 0xfc], 1
mov byte [esp + 0xfd], 0x2f
mov byte [esp + 0xfe], 0x6f
mov byte [esp + 0xff], 0x73
mov byte [esp + 0x100], 0x7f
mov byte [esp + 0x101], pe_nt_image_headers32
mov byte [esp + 0x102], 0x22
mov byte [esp + 0x103], 0x2b
mov byte [esp + 0x104], 0x70
mov byte [esp + 0x105], 0x66
mov byte [esp + 0x106], 0x7c
mov byte [esp + 0x107], 0x6c
mov byte [esp + 0x108], 0x7d
mov byte [esp + 0x109], 0x16
mov byte [esp + 0x10a], 0x3a
mov byte [esp + 0x10b], 0xd3
mov byte [esp + 0x114], 0
mov dword [esp + 0x110], 0
mov dword [esp + 0x10c], 0
mov dword [esp + 0x38], 0
mov eax, dword [esp + 0x38]
cmp eax, 0x1d
jae 0x40b1e2
jmp 0x40b191
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x38]
movzx ecx, byte [esp + ecx + 0xf8]
mov edx, eax
add edx, 0x21
and edx, ecx
add eax, ecx
add edx, edx
sub eax, edx
add eax, 0xbc635721
mov dword [esp + 0x17c], eax
mov eax, dword [esp + 0x17c]
add al, 0x19
mov ecx, dword [esp + 0x38]
mov byte [esp + ecx + 0xf8], al
mov eax, dword [esp + 0x38]
inc eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x38]
cmp eax, 0x1d
jb 0x40b191
jmp 0x40b1e2
lea eax, [esp + 0x190]
lea edx, [esp + 0xf8]
mov ecx, 5
mov edi, eax
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
add eax, 0x14
lea edx, [esp + 0xf8]
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 + 0x190]
mov ecx, dword [esp + 0x44]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0040d2e0
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x40]
cmp eax, 0
setne al
test al, 1
jne 0x40b243
jmp 0x40b3ca
mov eax, dword [esp + 0x40]
add eax, 0x13
mov dword [esp + 0x40], eax
mov al, byte [esp + 0xb0]
mov byte [esp + 0xe4], al
mov byte [esp + 0x158], 0x82
mov byte [esp + 0x159], 0xef
mov byte [esp + 0x15a], 0xaa
mov dword [esp + 0x15f], 0
mov dword [esp + 0x15b], 0
mov dword [esp + 0x3c], 0
mov eax, dword [esp + 0x3c]
cmp eax, 0xb
jae 0x40b2fb
jmp 0x40b29d
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x3c]
movzx ecx, byte [esp + ecx + 0x158]
mov edx, eax
add edx, 0x9df5bd3a
lea eax, [eax + ecx - 0x620a42c6]
and edx, ecx
add edx, edx
mov ecx, edx
xor ecx, eax
not edx
and eax, edx
add eax, eax
sub eax, ecx
mov dword [esp + 0x180], eax
mov eax, dword [esp + 0x180]
add al, 0x6a
mov ecx, dword [esp + 0x3c]
mov byte [esp + ecx + 0x158], al
mov eax, dword [esp + 0x3c]
inc eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x3c]
cmp eax, 0xb
jb 0x40b29d
jmp 0x40b2fb
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x158]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040d2e0
mov dword [esp + 0x128], eax
cmp dword [esp + 0x128], 0
je 0x40b3ca
mov byte [0x447294], 1
mov edi, dword [esp + 0x128]
mov esi, dword [esp + 0x40]
cmp edi, 0
jne 0x40b354
mov ecx, esi
jmp 0x40b342
mov eax, ecx
mov dl, byte [eax]
add ecx, 1
cmp dl, 0
jne 0x40b342
sub eax, esi
mov edi, esi
add edi, eax
mov dword [esp + 0x12c], 0
lea eax, [0x447296]
cmp edi, esi
jbe 0x40b3be
lea ebx, [0x447296]
jmp 0x40b371
cmp byte [esi], 0
jne 0x40b37a
mov eax, ebx
jmp 0x40b3be
lea eax, [esp + 0x12c]
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.0040eca0
add esi, eax
mov cx, word [esp + 0x12c]
mov eax, ebx
add eax, 2
mov word [ebx], cx
mov ecx, eax
sub ecx, 0x447494
setb cl
mov edx, esi
sub edx, edi
setb dl
and cl, dl
test cl, 1
mov ebx, eax
jne 0x40b371
mov word [eax], 0
mov byte [esp + 0x23], 1
jmp 0x40b3ca
jmp 0x40b3cc
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.00435fb0
jmp 0x40b3da
jmp 0x40b3dc
jmp 0x40b3de
mov al, byte [esp + 0x23]
and al, 1
movzx eax, al
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret