Function at 0x40a2a0
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, 0xfffffff0
sub esp, 0x200
mov eax, dword [ebp + 8]
mov byte [esp + 0x23], 0
mov al, byte [esp + 0x60]
mov byte [esp + 0x64], al
mov byte [esp + 0x180], 0x55
mov byte [esp + 0x181], 0x5c
mov byte [esp + 0x182], 0xac
mov byte [esp + 0x183], 0x64
mov byte [esp + 0x184], 0x56
mov byte [esp + 0x185], 0x56
mov byte [esp + 0x186], 0x5a
mov byte [esp + 0x187], 0x58
mov byte [esp + 0x188], 0x3e
mov dword [esp + 0x191], 0
mov dword [esp + 0x18d], 0
mov dword [esp + 0x189], 0
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x24]
cmp eax, 0x15
jae 0x40a38c
jmp 0x40a33b
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x24]
movzx ecx, byte [esp + ecx + 0x180]
mov edx, eax
add edx, 0x469e11a7
lea eax, [eax + ecx + 0x469e11a7]
and edx, ecx
add edx, edx
sub eax, edx
mov ecx, eax
xor ecx, 0x6e
and eax, 0x6e
lea eax, [ecx + eax*2]
inc al
mov ecx, dword [esp + 0x24]
mov byte [esp + ecx + 0x180], al
mov eax, dword [esp + 0x24]
inc eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
cmp eax, 0x15
jb 0x40a33b
jmp 0x40a38c
lea eax, [esp + 0x1c3]
lea edx, [esp + 0x180]
mov edi, eax
mov ecx, 2
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [esp + 0x1cb]
lea edx, [esp + 0x188]
xor ecx, ecx
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
mov cl, byte [esp + 0x188]
mov byte [esp + 0x1cb], cl
mov cl, byte [esp + 0x5c]
mov byte [esp + 0x68], cl
mov byte [esp + 0x80], 0x2b
mov byte [esp + 0x81], 0x6d
mov byte [esp + 0x82], 1
mov byte [esp + 0x83], 0x73
mov byte [esp + 0x84], 2
mov byte [esp + 0x85], 0x71
mov byte [esp + 0x86], 2
mov byte [esp + 0x87], 0x77
mov byte [esp + 0x88], 0x11
mov byte [esp + 0x89], 0x75
mov byte [esp + 0x8a], 8
mov byte [esp + 0x8b], 0x7b
mov byte [esp + 0x8c], 0xc
mov byte [esp + 0x8d], 0x79
mov byte [esp + 0x8e], 0x53
mov byte [esp + 0x8f], 0x7f
mov byte [esp + 0x90], 0x28
mov byte [esp + 0x91], 0x7d
mov byte [esp + 0x92], 0xfb
mov byte [esp + 0x93], 0x83
mov byte [esp + 0x94], 0xf0
mov byte [esp + 0x95], 0x81
mov byte [esp + 0x96], 0xe3
mov byte [esp + 0x97], 0x87
mov byte [esp + 0x98], 0xba
mov byte [esp + 0x99], 0x85
mov byte [esp + 0x9a], 0xaa
mov byte [esp + 0x9b], 0x8b
mov byte [esp + 0x9c], 0xe9
mov byte [esp + 0x9d], 0x89
mov byte [esp + 0x9e], 0xfe
mov byte [esp + 0x9f], 0x8f
mov byte [esp + 0xa0], 0xfc
mov byte [esp + 0xa1], 0x8d
mov byte [esp + 0xa2], 0xfe
mov byte [esp + 0xa3], 0x93
mov byte [esp + 0xa4], 0xf9
mov byte [esp + 0xa5], 0x91
mov byte [esp + 0xa6], 0xf1
mov byte [esp + 0xa7], 0x97
mov byte [esp + 0xa8], 0xf5
mov byte [esp + 0xa9], 0x95
mov byte [esp + 0xaa], 0xee
mov byte [esp + 0xab], 0x9b
mov byte [esp + 0xac], 0xf1
mov byte [esp + 0xad], 0x99
mov byte [esp + 0xae], 0xed
mov byte [esp + 0xaf], 0x9f
mov byte [esp + 0xb0], 0xee
mov byte [esp + 0xb1], 0x9d
mov byte [esp + 0xb2], 0x91
mov byte [esp + 0xb3], 0xa3
mov byte [esp + 0xb4], 0xd8
mov byte [esp + 0xb5], 0xa1
mov byte [esp + 0xb6], 0x8b
mov byte [esp + 0xb7], 0xa7
mov byte [esp + 0xb8], 0xdf
mov byte [esp + 0xb9], 0xa5
mov byte [esp + 0xba], 0xd1
mov byte [esp + 0xbb], 0xab
mov byte [esp + 0xbc], 0xd3
mov byte [esp + 0xbd], 0xa9
mov byte [esp + 0xbe], 0x83
mov byte [esp + 0xbf], 0xaf
mov byte [esp + 0xc0], 0xc6
mov byte [esp + 0xc1], 0xad
mov byte [esp + 0xc2], 0xc1
mov byte [esp + 0xc3], 0xb3
mov byte [esp + 0xc4], 0xc6
mov byte [esp + 0xc5], 0xb1
mov byte [esp + 0xc6], 0xdb
mov byte [esp + 0xc7], 0xb7
mov byte [esp + 0xc8], 0x99
mov byte [esp + 0xc9], 0xb5
mov byte [esp + 0xca], 0xcf
mov byte [esp + 0xcb], 0xbb
mov byte [esp + 0xcc], 0xce
mov byte [esp + 0xcd], 0xb9
mov byte [esp + 0xce], 0xd2
mov byte [esp + 0xcf], 0xbf
mov byte [esp + 0xd0], 0xd9
mov byte [esp + 0xd1], 0xbd
mov byte [esp + 0xd2], 0xb0
mov byte [esp + 0xd3], 0xc3
mov byte [esp + 0xd4], 0xa7
mov byte [esp + 0xd5], 0xc1
mov byte [esp + 0xd6], 0xb5
mov byte [esp + 0xd7], 0xc7
mov byte [esp + 0xd8], 0xa0
mov byte [esp + 0xd9], 0xc5
mov byte [esp + 0xda], 0xaf
mov byte [esp + 0xdb], 0xcb
mov byte [esp + 0xdc], 0xac
mov byte [esp + 0xdd], 0xc9
mov byte [esp + 0xde], 0xc3
mov byte [esp + 0xdf], 0xcf
mov byte [esp + 0xe0], 0xc2
mov byte [esp + 0xe1], 0xcd
mov byte [esp + 0xe2], 0xd2
mov byte [esp + 0xe3], 0xd3
mov word [esp + 0xf8], 0
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0xe8], 0
mov dword [esp + 0xe4], 0
mov dword [esp + 0x28], 0
mov ecx, dword [esp + 0x28]
cmp ecx, 0x7a
jae 0x40a787
jmp 0x40a748
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x28]
movzx edx, byte [esp + edx + 0x80]
mov esi, ecx
add esi, 0x6e
and esi, edx
add ecx, edx
add esi, esi
sub ecx, esi
add cl, 0x6c
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, 0x7a
jb 0x40a748
jmp 0x40a787
mov cl, byte [esp + 0x58]
mov byte [esp + 0x6c], cl
mov byte [esp + 0x160], 0xf
mov byte [esp + 0x161], 0x31
mov byte [esp + 0x162], 0xd3
mov byte [esp + 0x163], 0x33
mov byte [esp + 0x164], 0xc4
mov byte [esp + 0x165], 0x35
mov byte [esp + 0x166], 0xcf
mov byte [esp + 0x167], 0x37
mov byte [esp + 0x168], 0xc8
mov byte [esp + 0x169], 0xc9
mov word [esp + 0x176], 0
mov dword [esp + 0x172], 0
mov dword [esp + 0x16e], 0
mov dword [esp + 0x16a], 0
mov dword [esp + 0x2c], 0
mov ecx, dword [esp + 0x2c]
cmp ecx, 0x18
jae 0x40a864
jmp 0x40a81d
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x2c]
movzx edx, byte [esp + edx + 0x160]
mov esi, ecx
add esi, 0x6461e8f8
lea ecx, [ecx + edx + 0x6461e8f8]
and esi, edx
add esi, esi
sub ecx, esi
add cl, 0x38
mov edx, dword [esp + 0x2c]
mov byte [esp + edx + 0x160], cl
mov ecx, dword [esp + 0x2c]
inc ecx
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x2c]
cmp ecx, 0x18
jb 0x40a81d
jmp 0x40a864
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x160]
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.0040ae10
test al, 1
jne 0x40a8ac
jmp 0x40adb6
mov al, byte [esp + 0x54]
mov byte [esp + 0x70], al
mov byte [esp + 0x1b0], 0
mov dword [esp + 0x1ac], 0
mov dword [esp + 0x1a8], 0
mov dword [esp + 0x1a4], 0
mov dword [esp + 0x1a0], 0
mov byte [esp + 0x1a0], 0xaf
mov byte [esp + 0x1a1], 0xb2
mov byte [esp + 0x1a2], 0xda
mov dword [esp + 0x30], 0
mov eax, dword [esp + 0x30]
cmp eax, 0x11
jae 0x40a964
jmp 0x40a913
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x30]
movzx ecx, byte [esp + ecx + 0x1a0]
mov edx, eax
add edx, 0x1e67375c
lea eax, [eax + ecx + 0x1e67375c]
and edx, ecx
add edx, edx
sub eax, edx
mov ecx, eax
xor ecx, 0x7b
and eax, 0x7b
lea eax, [ecx + eax*2]
inc al
mov ecx, dword [esp + 0x30]
mov byte [esp + ecx + 0x1a0], al
mov eax, dword [esp + 0x30]
inc eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
cmp eax, 0x11
jb 0x40a913
jmp 0x40a964
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x1a0]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040d1c0
cmp eax, 0
sete al
jmp 0x40a983
jmp 0x40a985
test al, 1
jne 0x40a98b
jmp 0x40a995
mov byte [esp + 0x23], 1
jmp 0x40adaa
mov al, byte [esp + 0x50]
mov byte [esp + 0x74], al
mov byte [esp + 0x140], 0x53
mov byte [esp + 0x141], 0x9e
mov byte [esp + 0x142], 0x9d
mov byte [esp + 0x143], 0x6f
mov byte [esp + 0x144], 0x61
mov byte [esp + 0x145], 0x6c
mov byte [esp + 0x146], 0x62
mov byte [esp + 0x147], 0xff
mov byte [esp + 0x15c], 0
mov dword [esp + 0x158], 0
mov dword [esp + 0x154], 0
mov dword [esp + 0x150], 0
mov dword [esp + 0x14c], 0
mov dword [esp + 0x148], 0
mov dword [esp + 0x34], 0
mov eax, dword [esp + 0x34]
cmp eax, 0x1d
jae 0x40aa75
jmp 0x40aa2f
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x34]
movzx ecx, byte [esp + ecx + 0x140]
mov edx, eax
add edx, 0xcc6f11df
lea eax, [eax + ecx - 0x3390ee21]
and edx, ecx
add edx, edx
sub eax, edx
add al, 0xe7
mov ecx, dword [esp + 0x34]
mov byte [esp + ecx + 0x140], al
mov eax, dword [esp + 0x34]
inc eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x34]
cmp eax, 0x1d
jb 0x40aa2f
jmp 0x40aa75
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x140]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040d1f0
cmp eax, 0
je 0x40ada8
mov al, byte [esp + 0x4c]
mov byte [esp + 0x78], al
mov byte [esp + 0x100], 0x94
mov byte [esp + 0x101], 0x82
mov byte [esp + 0x102], 0x97
mov byte [esp + 0x103], 0x80
mov byte [esp + 0x104], 0x69
mov byte [esp + 0x105], 0x4f
mov byte [esp + 0x106], 0x8f
mov byte [esp + 0x107], 0x9b
mov byte [esp + 0x108], 0x9f
mov byte [esp + 0x109], 0x80
mov byte [esp + 0x10a], 0x4a
mov byte [esp + 0x10b], 0x53
mov byte [esp + 0x10c], 0x88
mov byte [esp + 0x10d], 0x96
mov byte [esp + 0x10e], 0x9c
mov byte [esp + 0x10f], 0x8c
mov byte [esp + 0x110], 0x9d
mov byte [esp + 0x111], 0x76
mov byte [esp + 0x112], 0x52
mov byte [esp + 0x113], 0x3b
mov dword [esp + 0x11c], 0
mov dword [esp + 0x118], 0
mov dword [esp + 0x114], 0
mov dword [esp + 0x38], 0
mov eax, dword [esp + 0x38]
cmp eax, 0x20
jae 0x40abb6
jmp 0x40ab71
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x38]
movzx eax, byte [esp + eax + 0x100]
mov edx, ecx
add edx, 5
and edx, eax
mov esi, 0xfa
sub esi, ecx
or esi, eax
add esi, edx
sub eax, esi
add al, 0xdc
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, 0x20
jb 0x40ab71
jmp 0x40abb6
lea eax, [esp + 0x1cc]
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 + 0x1cc]
mov ecx, dword [esp + 0x44]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0040d1f0
mov dword [esp + 0x40], eax
cmp dword [esp + 0x40], 0
je 0x40ada4
mov eax, dword [esp + 0x40]
add eax, 0x13
mov dword [esp + 0x40], eax
call fcn.0040ff60
mov al, byte [esp + 0x48]
mov byte [esp + 0x7c], al
mov byte [esp + 0x130], 0x2a
mov byte [esp + 0x131], 0xf
mov byte [esp + 0x132], 0x42
mov byte [esp + 0x13f], 0
mov dword [esp + 0x13b], 0
mov dword [esp + 0x137], 0
mov dword [esp + 0x133], 0
mov dword [esp + 0x3c], 0
mov eax, dword [esp + 0x3c]
cmp eax, 0x10
jae 0x40accd
jmp 0x40ac7b
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x3c]
movzx edx, byte [esp + ecx + 0x130]
mov ecx, eax
add ecx, 0x628be7f6
lea eax, [eax + edx + 0x628be7f6]
and ecx, edx
add ecx, ecx
mov edx, eax
not edx
mov esi, ecx
and esi, edx
not ecx
and eax, ecx
sub eax, esi
add al, 0x46
mov ecx, dword [esp + 0x3c]
mov byte [esp + ecx + 0x130], al
mov eax, dword [esp + 0x3c]
inc eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x3c]
cmp eax, 0x10
jb 0x40ac7b
jmp 0x40accd
jmp 0x40accf
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x130]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040d1f0
mov dword [esp + 0x128], eax
cmp dword [esp + 0x128], 0
je 0x40ada0
mov byte [0x4435cc], 1
mov edi, dword [esp + 0x128]
mov esi, dword [esp + 0x40]
cmp edi, 0
jne 0x40ad28
mov ecx, esi
jmp 0x40ad16
mov eax, ecx
mov dl, byte [eax]
add ecx, 1
cmp dl, 0
jne 0x40ad16
sub eax, esi
mov edi, esi
add edi, eax
mov dword [esp + 0x12c], 0
lea eax, [0x4435ce]
cmp edi, esi
jbe 0x40ad92
lea ebx, [0x4435ce]
jmp 0x40ad45
cmp byte [esi], 0
jne 0x40ad4e
mov eax, ebx
jmp 0x40ad92
lea eax, [esp + 0x12c]
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.0040fdb0
add esi, eax
mov cx, word [esp + 0x12c]
mov eax, ebx
add eax, 2
mov word [ebx], cx
mov ecx, eax
sub ecx, 0x4437cc
setb cl
mov edx, esi
sub edx, edi
setb dl
and cl, dl
test cl, 1
mov ebx, eax
jne 0x40ad45
mov word [eax], 0
mov byte [esp + 0x23], 1
jmp 0x40ad9e
jmp 0x40ada0
jmp 0x40ada2
jmp 0x40ada4
jmp 0x40ada6
jmp 0x40ada8
jmp 0x40adaa
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.00430e90
jmp 0x40adb8
mov al, byte [esp + 0x23]
jmp 0x40adbe
and al, 1
movzx eax, al
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret