Function at 0x5a0dc0
Capabilities:
Authenticate hmac
Contain obfuscated stackstrings
Encode data using xor
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x218
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [0x5ae458], 0x166c
mov dword [0x5ae454], 0x1376
mov edx, ecx
mov esi, ecx
mov dword [ebp - 0x190], eax
mov dword [ebp - 0x194], esi
mov dword [ebp - 0x198], edx
mov dword [ebp - 0x19c], ecx
jmp 0x5a0f2a
mov eax, dword [ebp - 0x1a0]
mov ecx, dword [ebp - 0x1a4]
mov edx, 0x100
mov esi, eax
and esi, 0x1f
mov edi, eax
add edi, 1
mov bl, byte [ebp + eax - 0x18c]
mov dword [ebp - 0x1a8], eax
movzx eax, bl
add eax, ecx
movzx ecx, byte [esi + 0x5a3450]
add eax, ecx
mov dword [ebp - 0x1ac], eax
mov dword [ebp - 0x1b0], edx
cdq
mov ecx, dword [ebp - 0x1b0]
idiv ecx
mov bh, byte [ebp + edx - 0x18c]
mov esi, dword [ebp - 0x1a8]
mov byte [ebp + esi - 0x18c], bh
mov byte [ebp + edx - 0x18c], bl
cmp edi, 0x100
mov ecx, edx
mov esi, dword [ebp - 0x1ac]
mov dword [ebp - 0x1a0], edi
mov dword [ebp - 0x1b4], esi
mov dword [ebp - 0x1a4], ecx
mov byte [ebp - 0x1b5], bl
mov dword [ebp - 0x1bc], edx
je 0x5a18f9
jmp 0x5a0e06
xor eax, eax
lea ecx, [ebp - 0x8c]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [ebp - 0x1c0], eax
call fcn.005a0530
mov dword [esp], eax
mov eax, dword [ebp - 0x1c4]
mov dword [esp + 4], eax
call fcn.0059f7f0
mov ecx, eax
mov dword [0x5ae470], eax
mov eax, esp
mov edx, dword [ebp - 0x1c8]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 4
mov dword [eax + 8], 0x1000
mov dword [eax], 0
call ecx
sub esp, 0x10
xor ecx, ecx
mov dword [0x5ae454], 0x15ce
mov edx, ecx
mov dword [ebp - 0x1cc], eax
mov dword [ebp - 0x1d0], edx
mov dword [ebp - 0x1d4], ecx
jmp 0x5a1104
mov eax, dword [ebp - 0x19c]
mov ecx, dword [ebp - 0x194]
mov edx, dword [ebp - 0x198]
lea esi, section..data
imul edi, edx, 0x5c
mov ebx, esi
add ebx, edi
add ebx, 0x58
mov edi, edx
or edi, 1
mov dword [ebp - 0x1d8], eax
mov eax, edx
add eax, 2
imul edx, edx, 0x5c
mov dword [ebp - 0x1dc], eax
mov eax, esi
add eax, edx
add eax, 0x28
imul edx, edi, 0x5c
mov dword [ebp - 0x1e0], eax
mov eax, esi
add eax, edx
add eax, 0x58
mov edx, dword [ebx]
mov eax, dword [eax]
imul edi, edi, 0x5c
add esi, edi
add esi, 0x28
mov edi, dword [ebp - 0x1e0]
mov di, word [edi]
mov si, word [esi]
movzx ebx, di
movzx esi, si
xor ebx, edx
xor esi, eax
mov eax, dword [ebp - 0x1d8]
add ebx, eax
add esi, ecx
mov eax, dword [ebp - 0x1dc]
cmp eax, 0x170
mov ecx, esi
mov edx, ebx
mov dword [ebp - 0x19c], edx
mov dword [ebp - 0x1e4], ebx
mov dword [ebp - 0x198], eax
mov dword [ebp - 0x194], ecx
mov dword [ebp - 0x1e8], esi
jne 0x5a0f2a
mov eax, dword [ebp - 0x1e8]
mov ecx, dword [ebp - 0x1e4]
xor edx, edx
mov bl, 0x6b
lea esi, [ebp - 0x8c]
lea edi, [ebp - 0x4c]
mov dword [ebp - 0x1ec], eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x1f0], eax
mov eax, dword [ebp - 0x1ec]
add eax, ecx
mov byte [ebp - 0x4c], 0x56
mov byte [ebp - 0x4b], 0x69
mov byte [ebp - 0x4a], 0x72
mov byte [ebp - 0x49], 0x74
mov byte [ebp - 0x48], 0x75
mov byte [ebp - 0x47], 0x61
mov byte [ebp - 0x46], 0x6c
mov byte [ebp - 0x45], 0x41
mov byte [ebp - 0x44], 0x6c
mov byte [ebp - 0x43], 0x6c
mov byte [ebp - 0x42], 0x6f
mov byte [ebp - 0x41], 0x63
mov byte [ebp - 0x40], 0
mov byte [ebp - 0x3f], 0x6f
mov dword [0x5ae458], 0x256
mov byte [ebp - 0x2c], 0x6b
mov byte [ebp - 0x2b], 0x65
mov byte [ebp - 0x2a], 0x72
mov byte [ebp - 0x29], 0x6e
mov byte [ebp - 0x28], 0x65
mov byte [ebp - 0x27], 0x6c
mov byte [ebp - 0x26], 0x33
mov byte [ebp - 0x25], 0x32
mov byte [ebp - 0x24], 0x2e
mov byte [ebp - 0x23], 0x64
mov byte [ebp - 0x22], 0x6c
mov byte [ebp - 0x21], 0x6c
mov byte [ebp - 0x20], 0
mov byte [ebp - 0x1f], 0x6f
mov dword [0x5ae454], 0x2598
mov dword [ebp - 0x1c8], eax
mov dword [ebp - 0x1c4], edi
mov dword [ebp - 0x1f4], esi
mov dword [ebp - 0x1f8], edx
mov byte [ebp - 0x1f9], bl
mov al, byte [ebp - 0x1f9]
mov ecx, dword [ebp - 0x1f8]
movsx edx, al
mov si, dx
mov edx, ecx
add edx, 1
mov word [ebp + ecx*2 - 0x8c], si
mov al, byte [ebp + ecx - 0x2b]
cmp al, 0
mov dword [ebp - 0x1f8], edx
mov byte [ebp - 0x1f9], al
je 0x5a0eaa
jmp 0x5a10c8
mov eax, dword [ebp - 0x1d4]
mov ecx, dword [ebp - 0x1d0]
lea edx, section..data
imul esi, ecx, 0x5c
mov edi, edx
add edi, esi
add edi, 0x58
imul esi, ecx, 0x5c
mov ebx, edx
add ebx, esi
add ebx, 0x18
mov esi, dword [ebp - 0x1cc]
add esi, eax
mov dword [ebp - 0x200], eax
imul eax, ecx, 0x5c
add edx, eax
add edx, 0x28
add ecx, 1
mov eax, dword [edi]
mov edi, dword [ebx]
movzx edx, word [edx]
xor edx, eax
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x204], edx
mov dword [ebp - 0x208], ecx
call fcn.005a1d40
mov eax, dword [ebp - 0x204]
mov ecx, dword [ebp - 0x200]
add eax, ecx
mov edx, dword [ebp - 0x208]
cmp edx, 0x170
mov dword [ebp - 0x1d0], edx
mov dword [ebp - 0x1d4], eax
jne 0x5a1104
lea eax, [ebp - 0x18c]
mov dword [0x5ae460], 0
mov byte [0x5ae464], 0
mov dword [0x5ae45c], 0
mov dword [ebp - 0x20c], eax
xor eax, eax
mov byte [ebp - 0x17d], 0xf
mov byte [ebp - 0x17e], 0xe
mov byte [ebp - 0x17f], 0xd
mov byte [ebp - 0x180], 0xc
mov byte [ebp - 0x181], 0xb
mov byte [ebp - 0x182], 0xa
mov byte [ebp - 0x183], 9
mov byte [ebp - 0x184], 8
mov byte [ebp - 0x185], 7
mov byte [ebp - 0x186], 6
mov byte [ebp - 0x187], 5
mov byte [ebp - 0x188], 4
mov byte [ebp - 0x189], 3
mov byte [ebp - 0x18a], 2
mov byte [ebp - 0x18b], 1
mov byte [ebp - 0x18c], 0
mov byte [ebp - 0x16d], 0x1f
mov byte [ebp - 0x16e], 0x1e
mov byte [ebp - 0x16f], 0x1d
mov byte [ebp - 0x170], 0x1c
mov byte [ebp - 0x171], 0x1b
mov byte [ebp - 0x172], 0x1a
mov byte [ebp - 0x173], 0x19
mov byte [ebp - 0x174], 0x18
mov byte [ebp - 0x175], 0x17
mov byte [ebp - 0x176], 0x16
mov byte [ebp - 0x177], 0x15
mov byte [ebp - 0x178], 0x14
mov byte [ebp - 0x179], 0x13
mov byte [ebp - 0x17a], 0x12
mov byte [ebp - 0x17b], 0x11
mov byte [ebp - 0x17c], 0x10
mov byte [ebp - 0x15d], 0x2f
mov byte [ebp - 0x15e], 0x2e
mov byte [ebp - 0x15f], 0x2d
mov byte [ebp - 0x160], 0x2c
mov byte [ebp - 0x161], 0x2b
mov byte [ebp - 0x162], 0x2a
mov byte [ebp - 0x163], 0x29
mov byte [ebp - 0x164], 0x28
mov byte [ebp - 0x165], 0x27
mov byte [ebp - 0x166], 0x26
mov byte [ebp - 0x167], 0x25
mov byte [ebp - 0x168], 0x24
mov byte [ebp - 0x169], 0x23
mov byte [ebp - 0x16a], 0x22
mov byte [ebp - 0x16b], 0x21
mov byte [ebp - 0x16c], 0x20
mov byte [ebp - 0x14d], 0x3f
mov byte [ebp - 0x14e], 0x3e
mov byte [ebp - 0x14f], 0x3d
mov byte [ebp - 0x150], 0x3c
mov byte [ebp - 0x151], 0x3b
mov byte [ebp - 0x152], 0x3a
mov byte [ebp - 0x153], 0x39
mov byte [ebp - 0x154], 0x38
mov byte [ebp - 0x155], 0x37
mov byte [ebp - 0x156], 0x36
mov byte [ebp - 0x157], 0x35
mov byte [ebp - 0x158], 0x34
mov byte [ebp - 0x159], 0x33
mov byte [ebp - 0x15a], 0x32
mov byte [ebp - 0x15b], 0x31
mov byte [ebp - 0x15c], 0x30
mov byte [ebp - 0x13d], 0x4f
mov byte [ebp - 0x13e], 0x4e
mov byte [ebp - 0x13f], 0x4d
mov byte [ebp - 0x140], 0x4c
mov byte [ebp - 0x141], 0x4b
mov byte [ebp - 0x142], 0x4a
mov byte [ebp - 0x143], 0x49
mov byte [ebp - 0x144], 0x48
mov byte [ebp - 0x145], 0x47
mov byte [ebp - 0x146], 0x46
mov byte [ebp - 0x147], 0x45
mov byte [ebp - 0x148], 0x44
mov byte [ebp - 0x149], 0x43
mov byte [ebp - 0x14a], 0x42
mov byte [ebp - 0x14b], 0x41
mov byte [ebp - 0x14c], 0x40
mov byte [ebp - 0x12d], 0x5f
mov byte [ebp - 0x12e], 0x5e
mov byte [ebp - 0x12f], 0x5d
mov byte [ebp - 0x130], 0x5c
mov byte [ebp - 0x131], 0x5b
mov byte [ebp - 0x132], 0x5a
mov byte [ebp - 0x133], 0x59
mov byte [ebp - 0x134], 0x58
mov byte [ebp - 0x135], 0x57
mov byte [ebp - 0x136], 0x56
mov byte [ebp - 0x137], 0x55
mov byte [ebp - 0x138], 0x54
mov byte [ebp - 0x139], 0x53
mov byte [ebp - 0x13a], 0x52
mov byte [ebp - 0x13b], 0x51
mov byte [ebp - 0x13c], 0x50
mov byte [ebp - 0x11d], 0x6f
mov byte [ebp - 0x11e], 0x6e
mov byte [ebp - 0x11f], 0x6d
mov byte [ebp - 0x120], 0x6c
mov byte [ebp - 0x121], 0x6b
mov byte [ebp - 0x122], 0x6a
mov byte [ebp - 0x123], 0x69
mov byte [ebp - 0x124], 0x68
mov byte [ebp - 0x125], 0x67
mov byte [ebp - 0x126], 0x66
mov byte [ebp - 0x127], 0x65
mov byte [ebp - 0x128], 0x64
mov byte [ebp - 0x129], 0x63
mov byte [ebp - 0x12a], 0x62
mov byte [ebp - 0x12b], 0x61
mov byte [ebp - 0x12c], 0x60
mov byte [ebp - 0x10d], 0x7f
mov byte [ebp - 0x10e], 0x7e
mov byte [ebp - 0x10f], 0x7d
mov byte [ebp - 0x110], 0x7c
mov byte [ebp - 0x111], 0x7b
mov byte [ebp - 0x112], 0x7a
mov byte [ebp - 0x113], 0x79
mov byte [ebp - 0x114], 0x78
mov byte [ebp - 0x115], 0x77
mov byte [ebp - 0x116], 0x76
mov byte [ebp - 0x117], 0x75
mov byte [ebp - 0x118], 0x74
mov byte [ebp - 0x119], 0x73
mov byte [ebp - 0x11a], 0x72
mov byte [ebp - 0x11b], 0x71
mov byte [ebp - 0x11c], 0x70
mov byte [ebp - 0xfd], 0x8f
mov byte [ebp - 0xfe], 0x8e
mov byte [ebp - 0xff], 0x8d
mov byte [ebp - 0x100], 0x8c
mov byte [ebp - 0x101], 0x8b
mov byte [ebp - 0x102], 0x8a
mov byte [ebp - 0x103], 0x89
mov byte [ebp - 0x104], 0x88
mov byte [ebp - 0x105], 0x87
mov byte [ebp - 0x106], 0x86
mov byte [ebp - 0x107], 0x85
mov byte [ebp - 0x108], 0x84
mov byte [ebp - 0x109], 0x83
mov byte [ebp - 0x10a], 0x82
mov byte [ebp - 0x10b], 0x81
mov byte [ebp - 0x10c], 0x80
mov byte [ebp - 0xed], 0x9f
mov byte [ebp - 0xee], 0x9e
mov byte [ebp - 0xef], 0x9d
mov byte [ebp - 0xf0], 0x9c
mov byte [ebp - 0xf1], 0x9b
mov byte [ebp - 0xf2], 0x9a
mov byte [ebp - 0xf3], 0x99
mov byte [ebp - 0xf4], 0x98
mov byte [ebp - 0xf5], 0x97
mov byte [ebp - 0xf6], 0x96
mov byte [ebp - 0xf7], 0x95
mov byte [ebp - 0xf8], 0x94
mov byte [ebp - 0xf9], 0x93
mov byte [ebp - 0xfa], 0x92
mov byte [ebp - 0xfb], 0x91
mov byte [ebp - 0xfc], 0x90
mov byte [ebp - 0xdd], 0xaf
mov byte [ebp - 0xde], 0xae
mov byte [ebp - 0xdf], 0xad
mov byte [ebp - 0xe0], 0xac
mov byte [ebp - 0xe1], 0xab
mov byte [ebp - 0xe2], 0xaa
mov byte [ebp - 0xe3], 0xa9
mov byte [ebp - 0xe4], 0xa8
mov byte [ebp - 0xe5], 0xa7
mov byte [ebp - 0xe6], 0xa6
mov byte [ebp - 0xe7], 0xa5
mov byte [ebp - 0xe8], 0xa4
mov byte [ebp - 0xe9], 0xa3
mov byte [ebp - 0xea], 0xa2
mov byte [ebp - 0xeb], 0xa1
mov byte [ebp - 0xec], 0xa0
mov byte [ebp - 0xcd], 0xbf
mov byte [ebp - 0xce], 0xbe
mov byte [ebp - 0xcf], 0xbd
mov byte [ebp - 0xd0], 0xbc
mov byte [ebp - 0xd1], 0xbb
mov byte [ebp - 0xd2], 0xba
mov byte [ebp - 0xd3], 0xb9
mov byte [ebp - 0xd4], 0xb8
mov byte [ebp - 0xd5], 0xb7
mov byte [ebp - 0xd6], 0xb6
mov byte [ebp - 0xd7], 0xb5
mov byte [ebp - 0xd8], 0xb4
mov byte [ebp - 0xd9], 0xb3
mov byte [ebp - 0xda], 0xb2
mov byte [ebp - 0xdb], 0xb1
mov byte [ebp - 0xdc], 0xb0
mov byte [ebp - 0xbd], 0xcf
mov byte [ebp - 0xbe], 0xce
mov byte [ebp - 0xbf], 0xcd
mov byte [ebp - 0xc0], 0xcc
mov byte [ebp - 0xc1], 0xcb
mov byte [ebp - 0xc2], 0xca
mov byte [ebp - 0xc3], 0xc9
mov byte [ebp - 0xc4], 0xc8
mov byte [ebp - 0xc5], 0xc7
mov byte [ebp - 0xc6], 0xc6
mov byte [ebp - 0xc7], 0xc5
mov byte [ebp - 0xc8], 0xc4
mov byte [ebp - 0xc9], 0xc3
mov byte [ebp - 0xca], 0xc2
mov byte [ebp - 0xcb], 0xc1
mov byte [ebp - 0xcc], 0xc0
mov byte [ebp - 0xad], 0xdf
mov byte [ebp - 0xae], 0xde
mov byte [ebp - 0xaf], 0xdd
mov byte [ebp - 0xb0], 0xdc
mov byte [ebp - 0xb1], 0xdb
mov byte [ebp - 0xb2], 0xda
mov byte [ebp - 0xb3], 0xd9
mov byte [ebp - 0xb4], 0xd8
mov byte [ebp - 0xb5], 0xd7
mov byte [ebp - 0xb6], 0xd6
mov byte [ebp - 0xb7], 0xd5
mov byte [ebp - 0xb8], 0xd4
mov byte [ebp - 0xb9], 0xd3
mov byte [ebp - 0xba], 0xd2
mov byte [ebp - 0xbb], 0xd1
mov byte [ebp - 0xbc], 0xd0
mov byte [ebp - 0x9d], 0xef
mov byte [ebp - 0x9e], 0xee
mov byte [ebp - 0x9f], 0xed
mov byte [ebp - 0xa0], 0xec
mov byte [ebp - 0xa1], 0xeb
mov byte [ebp - 0xa2], 0xea
mov byte [ebp - 0xa3], 0xe9
mov byte [ebp - 0xa4], 0xe8
mov byte [ebp - 0xa5], 0xe7
mov byte [ebp - 0xa6], 0xe6
mov byte [ebp - 0xa7], 0xe5
mov byte [ebp - 0xa8], 0xe4
mov byte [ebp - 0xa9], 0xe3
mov byte [ebp - 0xaa], 0xe2
mov byte [ebp - 0xab], 0xe1
mov byte [ebp - 0xac], 0xe0
mov byte [ebp - 0x8d], 0xff
mov byte [ebp - 0x8e], 0xfe
mov byte [ebp - 0x8f], 0xfd
mov byte [ebp - 0x90], 0xfc
mov byte [ebp - 0x91], 0xfb
mov byte [ebp - 0x92], 0xfa
mov byte [ebp - 0x93], 0xf9
mov byte [ebp - 0x94], 0xf8
mov byte [ebp - 0x95], 0xf7
mov byte [ebp - 0x96], 0xf6
mov byte [ebp - 0x97], 0xf5
mov byte [ebp - 0x98], 0xf4
mov byte [ebp - 0x99], 0xf3
mov byte [ebp - 0x9a], 0xf2
mov byte [ebp - 0x9b], 0xf1
mov byte [ebp - 0x9c], 0xf0
mov dword [0x5ae454], 0x413
mov dword [0x5ae45c], 0
mov ecx, eax
mov dword [ebp - 0x1a4], ecx
mov dword [ebp - 0x1a0], eax
jmp 0x5a0e06
mov eax, dword [ebp - 0x1b4]
mov ecx, dword [ebp - 0x1bc]
mov dl, byte [ebp - 0x1b5]
mov esi, dword [ebp - 0x1cc]
add esi, 0x36752
mov dword [0x5ae468], eax
mov eax, dword [ebp - 0x1cc]
add eax, 0x2ef17
mov dword [0x5ae458], 0x1383
mov dword [0x5ae460], ecx
mov byte [0x5ae464], dl
mov dword [0x5ae45c], 0x100
mov dword [0x5ae454], 0x2f7
mov ecx, dword [ebp - 0x20c]
mov dword [esp], ecx
mov edi, dword [ebp - 0x1cc]
mov dword [esp + 4], edi
mov dword [esp + 8], edi
mov ebx, dword [ebp - 0x1c8]
mov dword [esp + 0xc], ebx
mov dword [ebp - 0x210], esi
mov dword [ebp - 0x214], eax
call fcn.005a1f20
xor eax, eax
mov ecx, dword [ebp - 0x190]
mov esi, dword [ebp - 0x210]
mov dword [ecx], esi
mov dword [ecx + 4], 0x14c000
mov esi, dword [ebp - 0x214]
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], 0x20a0
mov dword [0x5ae454], 0x7f9
add esp, 0x218
pop esi
pop edi
pop ebx
pop ebp
ret