Function at 0x40a280
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x3b0
mov eax, dword [0x447600]
mov cl, byte [esp + 0x74]
mov byte [esp + 0x78], cl
mov byte [esp + 0x100], 0xff
mov byte [esp + 0x101], 0x65
mov byte [esp + 0x102], 0xf3
mov byte [esp + 0x103], 0x63
mov byte [esp + 0x104], 0xf0
mov byte [esp + 0x105], 0x61
mov byte [esp + 0x106], 0xc8
mov byte [esp + 0x107], 0x6f
mov byte [esp + 0x108], 0xf2
mov byte [esp + 0x109], 0x6d
mov byte [esp + 0x10a], 0xf0
mov byte [esp + 0x10b], 0x6b
mov byte [esp + 0x10c], 0xfa
mov byte [esp + 0x10d], 0x69
mov byte [esp + 0x10e], 0x3a
mov byte [esp + 0x10f], 0x57
mov byte [esp + 0x110], 0xfa
mov byte [esp + 0x111], 0x55
mov byte [esp + 0x112], 0xc0
mov byte [esp + 0x113], 0x53
mov byte [esp + 0x114], 0xc6
mov byte [esp + 0x115], 0x51
mov byte [esp + 0x116], 0x50
mov byte [esp + 0x117], 0x5f
mov dword [esp + 0x118], 0
mov dword [esp + 0x18], 0
mov ecx, dword [esp + 0x18]
cmp ecx, 0x1c
jae 0x40a3db
jmp 0x40a37a
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x18]
movzx esi, byte [esp + edx + 0x100]
mov edx, 0x6925b72e
sub edx, ecx
add ecx, 0xd1
and ecx, esi
or edx, esi
not edx
add edx, esi
sub edx, ecx
mov dword [esp + 0x154], edx
mov ecx, dword [esp + 0x154]
mov edx, ecx
xor edx, 0x48
and ecx, 0x48
lea ecx, [edx + ecx*2]
inc cl
mov edx, dword [esp + 0x18]
mov byte [esp + edx + 0x100], cl
mov ecx, dword [esp + 0x18]
inc ecx
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x18]
cmp ecx, 0x1c
jb 0x40a37a
jmp 0x40a3db
lea ecx, [esp + 0x100]
xor edx, edx
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0x800
call eax
sub esp, 0xc
mov dword [esp + 0x150], eax
mov eax, dword [esp + 0x150]
lea ecx, [0x4475c8]
mov dword [esp], eax
call fcn.00439520
sub esp, 4
test al, 1
jne 0x40a435
mov byte [esp + 0xf], 0
mov dword [esp + 0x10], 1
jmp 0x40a42e
jmp 0x40a430
jmp 0x40afa4
mov eax, dword [0x4475c8]
mov dword [esp], eax
mov dword [esp + 4], 0xcd5bd590
call fcn.0043b710
mov dword [0x4475d0], eax
mov eax, dword [0x4475c8]
mov dword [esp], eax
mov dword [esp + 4], 0x3098095e
call fcn.0043b710
mov dword [0x4475d4], eax
mov eax, dword [0x4475c8]
mov dword [esp], eax
mov dword [esp + 4], 0x4133be71
call fcn.0043b710
mov dword [0x4475d8], eax
mov eax, dword [0x4475c8]
mov dword [esp], eax
mov dword [esp + 4], 0x1c8a781f
call fcn.0043b710
mov dword [0x4475dc], eax
mov eax, dword [0x4475c8]
mov dword [esp], eax
mov dword [esp + 4], 0x71c23cd8
call fcn.0043b710
mov dword [0x4475e0], eax
mov eax, dword [0x4475c8]
mov dword [esp], eax
mov dword [esp + 4], 0x1c121576
call fcn.0043b710
mov dword [0x4475e4], eax
mov eax, dword [0x4475c8]
mov dword [esp], eax
mov dword [esp + 4], 0x21bbc64b
call fcn.0043b710
mov dword [0x4475e8], eax
mov eax, dword [0x4475c8]
mov dword [esp], eax
mov dword [esp + 4], 0x8d2eb73e
call fcn.0043b710
mov dword [0x4475ec], eax
mov eax, dword [0x4475c8]
mov dword [esp], eax
mov dword [esp + 4], 0xde1934d7
call fcn.0043b710
mov dword [0x4475f0], eax
mov eax, dword [0x4475c8]
mov dword [esp], eax
mov dword [esp + 4], 0xa2add3c4
call fcn.0043b710
mov dword [0x4475f4], eax
mov eax, dword [0x4475c8]
mov dword [esp], eax
mov dword [esp + 4], 0x1f4c40ff
call fcn.0043b710
mov dword [0x4475f8], eax
mov eax, dword [0x4475c8]
mov dword [esp], eax
mov dword [esp + 4], 0xfe8974d2
call fcn.0043b710
mov dword [0x4475fc], eax
lea eax, [0x43f5f4]
mov dword [esp + 0x168], eax
lea eax, [0x43f5f4]
mov dword [esp + 0x2c], eax
lea eax, [0x43f5f4]
add eax, 0x24
mov dword [esp + 0x14c], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14c]
jmp 0x40a5a1
cmp eax, ecx
setne al
test al, 1
jne 0x40a5b9
jmp 0x40a5ac
mov dword [esp + 0x10], 2
jmp 0x40a6f4
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
mov dword [esp + 0x148], eax
lea eax, [esp + 0x22c]
mov ecx, dword [esp + 0x148]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00434af0
lea esi, [esp + 0x22c]
lea edi, [esp + 0x2ac]
jmp 0x40a5f0
mov eax, edi
add eax, 0x100
mov dword [esp + 0x5c], eax
mov ecx, esi
mov eax, ecx
mov dl, byte [eax]
add ecx, 1
cmp dl, 0
jne 0x40a5fd
sub eax, esi
mov ebx, esi
add ebx, eax
mov dword [esp + 0x13c], 0
mov eax, dword [esp + 0x5c]
add eax, 0xfffffffe
cmp ebx, esi
ja 0x40a627
jmp 0x40a67a
mov dword [esp + 0x5c], eax
jmp 0x40a62d
cmp byte [esi], 0
jne 0x40a636
mov eax, edi
jmp 0x40a678
lea eax, [esp + 0x13c]
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], esi
call fcn.0040ebb0
add esi, eax
mov cx, word [esp + 0x13c]
mov eax, edi
add eax, 2
mov word [edi], cx
mov ecx, eax
sub ecx, dword [esp + 0x5c]
setb cl
mov edx, esi
sub edx, ebx
setb dl
and cl, dl
test cl, 1
mov edi, eax
jne 0x40a62d
mov edi, eax
mov word [edi], 0
lea eax, [esp + 0x2ac]
mov dword [esp], eax
call fcn.0040afc0
test al, 1
jne 0x40a694
jmp 0x40a6bc
lea eax, [esp + 0x2ac]
lea ecx, [0x447604]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0040bad0
mov byte [esp + 0xf], 1
mov dword [esp + 0x10], 1
jmp 0x40a6c4
mov dword [esp + 0x10], 0
cmp dword [esp + 0x10], 0
jne 0x40a6d3
mov dword [esp + 0x10], 0
cmp dword [esp + 0x10], 0
jne 0x40a6f2
jmp 0x40a6dc
mov eax, dword [esp + 0x2c]
add eax, 4
mov dword [esp + 0x2c], eax
jmp 0x40a6e9
jmp 0x40a6eb
jmp 0x40a6ed
jmp 0x40a594
jmp 0x40a6f4
mov eax, dword [esp + 0x10]
cmp eax, 2
jne 0x40afa4
xor eax, eax
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_GetProcessVersion]
sub esp, 4
mov dword [esp + 0x164], eax
mov dword [esp + 0x70], 0
mov dword [esp + 0x144], 0
jmp 0x40a72f
mov al, byte [esp + 0x6c]
mov byte [esp + 0x7c], al
mov byte [esp + 0x88], 0x7e
mov byte [esp + 0x89], 0xd1
mov byte [esp + 0x8a], 0x4c
mov byte [esp + 0x8b], 0xd3
mov byte [esp + 0x8c], 0x4e
mov byte [esp + 0x8d], 0xdd
mov byte [esp + 0x8e], 0x4c
mov byte [esp + 0x8f], 0xdf
mov byte [esp + 0x90], 0x43
mov byte [esp + 0x91], 0xd9
mov byte [esp + 0x92], 2
mov byte [esp + 0x93], 0xdb
mov byte [esp + 0x94], 0xb
mov byte [esp + 0x95], 0xc5
mov byte [esp + 0x96], 0x15
mov byte [esp + 0x97], 0xc7
mov byte [esp + 0x98], 0x5b
mov byte [esp + 0x99], 0xc1
mov byte [esp + 0x9a], 0x5c
mov byte [esp + 0x9b], 0xc3
mov byte [esp + 0x9c], 0x6d
mov byte [esp + 0x9d], 0xcd
mov byte [esp + 0x9e], 0x6f
mov byte [esp + 0x9f], 0xcf
mov byte [esp + 0xa0], 0x59
mov byte [esp + 0xa1], 0xc9
mov byte [esp + 0xa2], 0x65
mov byte [esp + 0xa3], 0xcb
mov byte [esp + 0xa4], 0x5b
mov byte [esp + 0xa5], 0xb5
mov byte [esp + 0xa6], 0x23
mov byte [esp + 0xa7], 0xb7
mov byte [esp + 0xa8], 0x21
mov byte [esp + 0xa9], 0xb1
mov byte [esp + 0xaa], 0x2f
mov byte [esp + 0xab], 0xb3
mov byte [esp + 0xac], 0x24
mov byte [esp + 0xad], 0xbd
mov byte [esp + 0xae], 0x17
mov byte [esp + 0xaf], 0xbf
mov byte [esp + 0xb0], 0x22
mov byte [esp + 0xb1], 0xb9
mov byte [esp + 0xb2], 0x23
mov byte [esp + 0xb3], 0xbb
mov byte [esp + 0xb4], 0x6c
mov byte [esp + 0xb5], 0xa5
mov byte [esp + 0xb6], 9
mov byte [esp + 0xb7], 0xa7
mov byte [esp + 0xb8], 0x37
mov byte [esp + 0xb9], 0xa1
mov byte [esp + 0xba], 0x37
mov byte [esp + 0xbb], 0xa3
mov byte [esp + 0xbc], 0x73
mov byte [esp + 0xbd], 0xad
mov byte [esp + 0xbe], 0x3c
mov byte [esp + 0xbf], 0xaf
mov byte [esp + 0xc0], 0x3c
mov byte [esp + 0xc1], 0xa9
mov byte [esp + 0xc2], 0x39
mov byte [esp + 0xc3], 0xab
mov byte [esp + 0xc4], 4
mov byte [esp + 0xc5], 0x95
mov byte [esp + 0xc6], 0x3f
mov byte [esp + 0xc7], 0x97
mov byte [esp + 0xc8], 2
mov byte [esp + 0xc9], 0x91
mov byte [esp + 0xca], 0x3f
mov byte [esp + 0xcb], 0x93
mov byte [esp + 0xcc], 0xf
mov byte [esp + 0xcd], 0x9d
mov byte [esp + 0xce], 0x4d
mov byte [esp + 0xcf], 0x9f
mov byte [esp + 0xd0], 0x47
mov byte [esp + 0xd1], 0x99
mov byte [esp + 0xd2], 0x46
mov byte [esp + 0xd3], 0x9b
mov byte [esp + 0xd4], 0x45
mov byte [esp + 0xd5], 0x85
mov byte [esp + 0xd6], 0x5a
mov byte [esp + 0xd7], 0x87
mov byte [esp + 0xd8], 0x55
mov byte [esp + 0xd9], 0x81
mov byte [esp + 0xda], 0x53
mov byte [esp + 0xdb], 0x83
mov byte [esp + 0xdc], 0x59
mov byte [esp + 0xdd], 0x8d
mov byte [esp + 0xde], 0x57
mov byte [esp + 0xdf], 0x8f
mov byte [esp + 0xe0], 0x57
mov byte [esp + 0xe1], 0x89
mov byte [esp + 0xe2], 0x5a
mov byte [esp + 0xe3], 0x8b
mov byte [esp + 0xe4], 0x56
mov byte [esp + 0xe5], 0x75
mov byte [esp + 0xe6], 0xa9
mov byte [esp + 0xe7], 0x77
mov byte [esp + 0xe8], 0xab
mov byte [esp + 0xe9], 0x71
mov byte [esp + 0xea], 0xa3
mov byte [esp + 0xeb], 0x73
mov byte [esp + 0xec], 0xa9
mov byte [esp + 0xed], 0x7d
mov byte [esp + 0xee], 0xac
mov byte [esp + 0xef], 0x7f
mov byte [esp + 0xf0], 0xae
mov byte [esp + 0xf1], 0x79
mov byte [esp + 0xf2], pe_nt_image_headers32
mov byte [esp + 0xf3], 0x7b
mov dword [esp + 0xf8], 0
mov dword [esp + 0xf4], 0
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x1c]
cmp eax, 0x74
jae 0x40ab14
jmp 0x40aac0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
movzx ecx, byte [esp + ecx + 0x88]
mov edx, eax
add edx, 0x6b2507a3
and edx, ecx
lea eax, [eax + ecx + 0x6b2507a3]
add edx, edx
sub eax, edx
mov dword [esp + 0x158], eax
mov eax, dword [esp + 0x158]
add al, 0x8b
mov ecx, dword [esp + 0x1c]
mov byte [esp + ecx + 0x88], al
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
cmp eax, 0x74
jb 0x40aac0
jmp 0x40ab14
lea eax, [esp + 0x88]
lea ecx, [esp + 0x70]
lea edx, [esp + 0x144]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0040bb10
test al, 1
jne 0x40ab3f
jmp 0x40af91
mov byte [esp + 0x17], 0
mov al, byte [esp + 0x64]
mov byte [esp + 0x80], al
mov byte [esp + 0x30], 0x22
mov byte [esp + 0x31], 0xf8
mov byte [esp + 0x32], 0xf4
mov byte [esp + 0x33], 0xcc
mov byte [esp + 0x34], 0xf0
mov byte [esp + 0x35], 1
mov byte [esp + 0x36], 0xcd
mov byte [esp + 0x37], 0xfb
mov byte [esp + 0x38], 0xc1
mov byte [esp + 0x39], 0xf0
mov byte [esp + 0x3a], 0xf1
mov byte [esp + 0x3b], 0x28
mov byte [esp + 0x3c], 4
mov byte [esp + 0x3d], 0xc6
mov byte [esp + 0x3e], 0xc5
mov byte [esp + 0x3f], 0xcb
mov byte [esp + 0x40], 0xcd
mov byte [esp + 0x41], 0xfa
mov byte [esp + 0x42], 0xc0
mov byte [esp + 0x43], 0xf2
mov byte [esp + 0x44], 0xc2
mov byte [esp + 0x45], 0xfa
mov byte [esp + 0x46], 0xce
mov byte [esp + 0x47], 0xc2
mov byte [esp + 0x48], 0xcf
mov byte [esp + 0x49], 0xcf
mov byte [esp + 0x4a], 0xf3
mov byte [esp + 0x4b], 0xfa
mov byte [esp + 0x4c], 0xc8
mov byte [esp + 0x4d], 0xf6
mov byte [esp + 0x4e], 0xcb
mov byte [esp + 0x4f], 0xec
mov byte [esp + 0x50], 0x28
mov byte [esp + 0x51], 7
mov byte [esp + 0x52], 0x44
mov byte [esp + 0x57], 0
mov dword [esp + 0x53], 0
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0x20]
cmp eax, 0x28
jae 0x40ac77
jmp 0x40ac1e
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x20]
movzx ecx, byte [esp + ecx + 0x30]
mov edx, eax
add edx, 0x8084efd1
and edx, ecx
lea eax, [eax + ecx - 0x7f7b102f]
add edx, edx
sub eax, edx
mov dword [esp + 0x15c], eax
mov eax, dword [esp + 0x15c]
mov ecx, eax
xor ecx, 0x48
and eax, 0x48
lea eax, [ecx + eax*2]
inc al
mov ecx, dword [esp + 0x20]
mov byte [esp + ecx + 0x30], al
mov eax, dword [esp + 0x20]
inc eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
cmp eax, 0x28
jb 0x40ac1e
jmp 0x40ac77
mov eax, dword [esp + 0x70]
lea ecx, [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040c480
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x68]
jmp 0x40ac95
cmp eax, 0
je 0x40af55
mov al, byte [esp + 0x60]
mov byte [esp + 0x84], al
mov byte [esp + 0x120], 0x8a
mov byte [esp + 0x121], 0xa8
mov byte [esp + 0x122], 0x6d
mov byte [esp + 0x123], 0x6b
mov byte [esp + 0x124], 0x99
mov byte [esp + 0x125], 0x63
mov byte [esp + 0x126], 0xb2
mov byte [esp + 0x127], 0xff
mov word [esp + 0x12c], 0
mov dword [esp + 0x128], 0
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x24]
cmp eax, 0xe
jae 0x40ad71
jmp 0x40ad11
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x24]
movzx ecx, byte [esp + ecx + 0x120]
mov edx, eax
add edx, 0x4e60b3df
add eax, 0xdf
and eax, ecx
or edx, ecx
sub edx, eax
mov dword [esp + 0x160], edx
mov eax, dword [esp + 0x160]
mov ecx, eax
xor ecx, 0xe6
and eax, 0x66
lea eax, [ecx + eax*2]
inc al
mov ecx, dword [esp + 0x24]
mov byte [esp + ecx + 0x120], al
mov eax, dword [esp + 0x24]
inc eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
cmp eax, 0xe
jb 0x40ad11
jmp 0x40ad71
mov eax, dword [esp + 0x68]
lea ecx, [esp + 0x120]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040c480
mov dword [esp + 0x138], eax
cmp dword [esp + 0x138], 0
je 0x40af53
mov eax, dword [esp + 0x138]
mov byte [eax], 0
mov eax, dword [esp + 0x68]
add eax, 0x22
mov dword [esp + 0x134], eax
mov eax, dword [esp + 0x134]
mov dword [esp], eax
call fcn.00408ce0
mov dword [esp + 0x130], eax
mov dword [esp + 0x28], 0
jmp 0x40add5
jmp 0x40add7
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x130]
jmp 0x40ade4
cmp eax, ecx
jb 0x40adf4
mov dword [esp + 0x10], 4
jmp 0x40adf2
jmp 0x40ae70
mov eax, dword [esp + 0x134]
mov ecx, dword [esp + 0x28]
mov al, byte [eax + ecx]
mov byte [esp + 0xe], al
movsx eax, byte [esp + 0xe]
cmp eax, 0x61
setge al
jmp 0x40ae13
test al, 1
jne 0x40ae19
jmp 0x40ae48
movsx eax, byte [esp + 0xe]
cmp eax, 0x7a
jg 0x40ae48
movsx eax, byte [esp + 0xe]
mov ecx, eax
xor ecx, 0xffffffff
and ecx, 0x61
and eax, 0xffffff9e
sub eax, ecx
sub eax, 0xb
sub eax, 0xffffffe6
mov ecx, 0x1a
cdq
idiv ecx
add edx, 0x61
jmp 0x40ae4c
mov dl, byte [esp + 0xe]
mov eax, dword [esp + 0x28]
mov byte [esp + eax + 0x16c], dl
mov ecx, dword [esp + 0x28]
mov eax, ecx
and eax, 1
or ecx, 1
add eax, ecx
mov dword [esp + 0x28], eax
jmp 0x40ae6b
jmp 0x40add7
mov eax, dword [esp + 0x130]
mov byte [esp + eax + 0x16c], 0
lea esi, [esp + 0x16c]
lea ebx, [esp + 0x1ac]
mov eax, ebx
add eax, 0x80
mov dword [esp + 0x58], eax
mov ecx, esi
mov eax, ecx
mov dl, byte [eax]
add ecx, 1
cmp dl, 0
jne 0x40ae9a
sub eax, esi
mov edi, esi
add edi, eax
mov dword [esp + 0x140], 0
mov eax, dword [esp + 0x58]
add eax, 0xfffffffe
cmp edi, esi
ja 0x40aec4
jmp 0x40af17
mov dword [esp + 0x58], eax
jmp 0x40aeca
cmp byte [esi], 0
jne 0x40aed3
mov eax, ebx
jmp 0x40af15
lea eax, [esp + 0x140]
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.0040ebb0
add esi, eax
mov cx, word [esp + 0x140]
mov eax, ebx
add eax, 2
mov word [ebx], cx
mov ecx, eax
sub ecx, dword [esp + 0x58]
setb cl
mov edx, esi
sub edx, edi
setb dl
and cl, dl
test cl, 1
mov ebx, eax
jne 0x40aeca
mov ebx, eax
mov word [ebx], 0
lea eax, [esp + 0x1ac]
mov dword [esp], eax
call fcn.0040afc0
test al, 1
jne 0x40af31
jmp 0x40af4f
lea eax, [esp + 0x1ac]
lea ecx, [0x447604]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0040bad0
mov byte [esp + 0x17], 1
jmp 0x40af51
jmp 0x40af53
jmp 0x40af55
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.004380b0
mov al, byte [esp + 0x17]
jmp 0x40af67
test al, 1
jne 0x40af6d
jmp 0x40af7c
mov byte [esp + 0xf], 1
mov dword [esp + 0x10], 1
jmp 0x40af86
mov dword [esp + 0x10], 0
jmp 0x40af86
mov eax, dword [esp + 0x10]
cmp eax, 0
jne 0x40afa2
jmp 0x40af91
mov byte [esp + 0xf], 0
mov dword [esp + 0x10], 1
jmp 0x40afa0
jmp 0x40afa2
jmp 0x40afa4
mov al, byte [esp + 0xf]
and al, 1
movzx eax, al
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret