Function at 0x10001260
Capabilities:
Authenticate hmac
Check mutex on windows
Contain obfuscated stackstrings
Encode data using xor
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100117fb
mov eax, dword fs:[0]
push eax
sub esp, 0x30c
mov eax, dword [0x10019008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov byte [ebp - 0x1a4], 0x7f
xor ecx, ecx
mov byte [ebp - 0x1a3], 0x35
mov byte [ebp - 0x1a2], 0x39
mov byte [ebp - 0x1a1], 0x3b
mov byte [ebp - 0x1a0], 0x3c
mov byte [ebp - 0x19f], 0x38
mov byte [ebp - 0x19e], 0x34
mov byte [ebp - 0x19d], 0x3d
mov byte [ebp - 0x19c], 0x34
mov byte [ebp - 0x19b], 0x31
mov byte [ebp - 0x19a], 0x3d
mov byte [ebp - 0x199], 0x4a
mov byte [ebp - 0x198], 0x34
mov byte [ebp - 0x197], 0x35
mov byte [ebp - 0x196], 0x31
mov byte [ebp - 0x195], 0x37
mov byte [ebp - 0x194], 0x45
mov byte [ebp - 0x193], 0x36
mov byte [ebp - 0x192], 0x4a
mov byte [ebp - 0x191], 0x31
mov byte [ebp - 0x190], 0x46
mov byte [ebp - 0x18f], 0x35
mov byte [ebp - 0x18e], 0x45
mov byte [ebp - 0x18d], 0x39
mov byte [ebp - 0x18c], 0x31
mov byte [ebp - 0x18b], 0x45
mov byte [ebp - 0x18a], 0x45
mov byte [ebp - 0x189], 0x49
mov byte [ebp - 0x188], 0x46
mov byte [ebp - 0x187], 0x35
mov byte [ebp - 0x186], 0x48
mov byte [ebp - 0x185], 0x3b
mov byte [ebp - 0x184], 0x3a
mov byte [ebp - 0x183], 0x35
mov byte [ebp - 0x182], 0x3b
mov byte [ebp - 0x181], 0x3c
mov byte [ebp - 0x180], 0x4a
mov byte [ebp - 0x17f], 0x81
mov byte [ebp - 0x17e], 0
mov al, byte [ebp - 0x1a4]
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x1a4]
sub al, 4
mov byte [ebp + ecx - 0x1a4], al
inc ecx
cmp ecx, 0x26
jb 0x100013b0
lea eax, [ebp - 0x1a4]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
sete al
test esi, esi
je 0x10001c2b
test al, al
je 0x10001400
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
jmp 0x10001c25
mov dword [ebp - 0x304], 0xcb586f7c
mov dword [ebp - 0x300], 0xc092a0cf
mov dword [ebp - 0x2fc], 0x5e878922
mov dword [ebp - 0x2f8], 0x54a9a916
mov dword [ebp - 0x2f4], 0x8fcc3787
mov dword [ebp - 0x2f0], 0xc7fe063
mov dword [ebp - 0x2ec], 0x6860a504
mov dword [ebp - 0x2e8], 0x458793a1
mov dword [ebp - 0x2e4], 0x37c32ae2
mov dword [ebp - 0x2e0], 0x7915f242
mov dword [ebp - 0x2dc], 0xeefe618d
mov dword [ebp - 0x2d8], 0x7696750d
mov dword [ebp - 0x2d4], 0xd9d7d359
mov dword [ebp - 0x2d0], 0x2104530e
mov dword [ebp - 0x2cc], 0x7e947c6c
mov dword [ebp - 0x2c8], 0x22e140df
mov dword [ebp - 0x2c4], 0xa4f42311
mov dword [ebp - 0x2c0], 0x5a576f2
mov dword [ebp - 0x2bc], 0xb7be227d
mov dword [ebp - 0x2b8], 0xc0c34353
mov dword [ebp - 0x2b4], 0xefd38365
mov dword [ebp - 0x2b0], 0x24aff959
mov dword [ebp - 0x2ac], 0xacfbf345
mov dword [ebp - 0x2a8], 0xfe80c145
mov dword [ebp - 0x2a4], 0x54e3f84c
mov dword [ebp - 0x2a0], 0xd01131f2
mov dword [ebp - 0x29c], 0x804e6cfe
mov dword [ebp - 0x298], 0x9051f08f
mov dword [ebp - 0x294], 0x850bfdb2
mov dword [ebp - 0x290], 0x8505bff
mov dword [ebp - 0x28c], 0x17370412
mov dword [ebp - 0x288], 0xaa01d46a
mov dword [ebp - 0x284], 0xde4b3f77
mov dword [ebp - 0x280], 0x77e000d3
mov dword [ebp - 0x27c], 0xbd037404
mov dword [ebp - 0x278], 0xb750f99d
mov dword [ebp - 0x274], 0x8f0bb73a
mov dword [ebp - 0x270], 0xf5fd4811
mov dword [ebp - 0x26c], 0x6263cc3e
mov dword [ebp - 0x268], 0x5dddffa3
mov dword [ebp - 0x264], 0xea3f42ca
mov dword [ebp - 0x260], 0xd3054c92
mov dword [ebp - 0x25c], 0x72ac4379
mov dword [ebp - 0x258], 0xad2b1c80
mov dword [ebp - 0x254], 0x63e0fe3f
mov dword [ebp - 0x250], 0x2170d27b
mov dword [ebp - 0x24c], 0x3a7db520
mov dword [ebp - 0x248], 0x6f429ecc
mov dword [ebp - 0x244], 0xba7f29
mov dword [ebp - 0x240], 0xcad8e7af
mov dword [ebp - 0x23c], 0x81066de0
mov dword [ebp - 0x238], 0x9455c308
mov dword [ebp - 0x234], 0x736d982c
mov dword [ebp - 0x230], 0xef6b93f7
mov dword [ebp - 0x22c], 0x4f263d11
mov dword [ebp - 0x228], 0x5c434ca9
mov dword [ebp - 0x224], 0xe9111b88
mov dword [ebp - 0x220], 0x48668727
mov dword [ebp - 0x21c], 0x8d5a07b
mov dword [ebp - 0x218], 0xe6a02346
mov dword [ebp - 0x214], 0x27858c8d
mov dword [ebp - 0x210], 0x398c90dd
mov dword [ebp - 0x20c], 0x83f30a97
mov dword [ebp - 0x208], 0xb378e901
mov dword [ebp - 0x204], 0x5d10fb04
mov dword [ebp - 0x200], 0xfbf36149
mov dword [ebp - 0x1fc], 0x1125737e
mov dword [ebp - 0x1f8], 0x2e99f690
mov dword [ebp - 0x1f4], 0x25b0673
mov dword [ebp - 0x1f0], 0x6e51e3b8
mov dword [ebp - 0x1ec], 0xbab41633
mov dword [ebp - 0x1e8], 0x2c544f09
mov dword [ebp - 0x1e4], 0x205b0977
mov dword [ebp - 0x1e0], 0x50a46048
mov dword [ebp - 0x1dc], 0x71c7a8ee
mov dword [ebp - 0x1d8], 0x894d1046
mov dword [ebp - 0x1d4], 0x936f68d9
mov dword [ebp - 0x1d0], 0x7e14280e
mov dword [ebp - 0x1cc], 0x235f5ae6
mov dword [ebp - 0x1c8], 0xcffd1ed9
mov dword [ebp - 0x1c4], 0x7bb23e
push 0x160
mov dword [ebp - 0x1c0], 0xf16fb30f
mov dword [ebp - 0x1bc], 0xecfb2382
mov dword [ebp - 0x1b8], 0x42a2db9
mov dword [ebp - 0x1b4], 0x54c9fa6e
mov dword [ebp - 0x1b0], 0x8b8acebc
mov dword [ebp - 0x1ac], 0x47e580ad
mov dword [ebp - 0x1a8], 0x5d6f24f7
call fcn.10008f40
mov edi, eax
mov dword [ebp - 0x16c], eax
push 0x104
lea eax, [ebp - 0x118]
mov ecx, 0x58
lea esi, [ebp - 0x304]
push 0
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.10006c40
xor eax, eax
mov esi, 0x10001230
push 8
add esi, 0x176
mov word [ebp - 0x154], ax
mov byte [ebp - 0x152], al
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x13c], eax
call fcn.1000567f
lea ecx, [ebp - 0x14c]
xorps xmm0, xmm0
push 0xffffffffffffffff
mov dword [ebp - 0x310], ecx
mov dword [eax + 4], 0
mov dword [ebp - 0x14c], eax
mov dword [eax], ecx
lea eax, [ebp - 0x150]
movlpd qword [ebp - 0x122], xmm0
movlpd qword [ebp - 0x12a], xmm0
push eax
mov word [ebp - 0x130], 0
movups xmmword [ebp - 0x12d], xmm0
mov word [ebp - 0x11d], 0
call fcn.10002060
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x134], eax
push 0x176
push esi
lea edx, [ebp - 0x118]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x154]
call fcn.10001e80
add esp, 0x24
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14c]
call fcn.10001d60
mov dword [ebp - 0x168], 0xf
mov eax, dword [ebp - 0x168]
xor al, 0x5c
mov byte [ebp - 0x164], al
mov eax, dword [ebp - 0x168]
inc al
xor al, 0x6d
mov byte [ebp - 0x163], al
mov eax, dword [ebp - 0x168]
add al, 2
xor al, 0x73
mov byte [ebp - 0x162], al
mov eax, dword [ebp - 0x168]
add al, 3
xor al, 0x65
mov byte [ebp - 0x161], al
mov eax, dword [ebp - 0x168]
add al, 4
xor al, 0x64
mov byte [ebp - 0x160], al
mov eax, dword [ebp - 0x168]
add al, 5
xor al, 0x67
mov byte [ebp - 0x15f], al
mov eax, dword [ebp - 0x168]
add al, 6
xor al, 0x65
mov byte [ebp - 0x15e], al
mov eax, dword [ebp - 0x168]
add al, 7
xor al, 0x2e
mov byte [ebp - 0x15d], al
mov eax, dword [ebp - 0x168]
add al, 8
xor al, 0x64
mov byte [ebp - 0x15c], al
mov eax, dword [ebp - 0x168]
add al, 9
xor al, 0x61
mov byte [ebp - 0x15b], al
mov eax, dword [ebp - 0x168]
add al, 0xa
mov byte [ebp - 0x159], 0
xor al, 0x74
xor edx, edx
mov byte [ebp - 0x15a], al
mov al, byte [ebp - 0x164]
nop dword [eax]
mov al, byte [ebp + edx - 0x164]
mov ecx, dword [ebp - 0x168]
add cl, dl
xor cl, al
mov byte [ebp + edx - 0x164], cl
inc edx
cmp edx, 0xb
jb 0x10001940
lea edx, [ebp - 0x164]
mov byte [ebp - 0x159], 0
mov esi, edx
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x10001970
lea edi, [ebp - 0x118]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10001980
mov ecx, edx
lea eax, [ebp - 0x118]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push 0
push 0x80
push 3
push 0
push 1
mov ecx, edx
and ecx, 3
push 0x80000000
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x30c], eax
cmp eax, 0xffffffff
je 0x10001c2b
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
push esi
mov dword [ebp - 0x17c], esi
call fcn.10008f40
mov edi, eax
add esp, 4
mov dword [ebp - 0x308], edi
test edi, edi
je 0x10001c1f
push 0
lea eax, [ebp - 0x158]
mov dword [ebp - 0x158], 0
push eax
push esi
push edi
push dword [ebp - 0x30c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10001c16
mov esi, dword [ebp - 0x158]
cmp dword [ebp - 0x17c], esi
jne 0x10001c16
xor ecx, ecx
test esi, esi
je 0x10001a51
nop
mov eax, ecx
mov edi, 0x160
cdq
idiv edi
mov edi, dword [ebp - 0x16c]
mov al, byte [edx + edi]
mov edi, dword [ebp - 0x308]
xor byte [ecx + edi], al
inc ecx
cmp ecx, esi
jb 0x10001a30
mov edx, esi
mov ecx, edi
call fcn.10005180
mov esi, eax
mov dword [ebp - 0x314], esi
test esi, esi
je 0x10001c16
mov dword [ebp - 0x178], 0x33
mov ecx, dword [ebp - 0x178]
xor cl, 0x6d
mov byte [ebp - 0x174], cl
mov ecx, dword [ebp - 0x178]
inc cl
xor cl, 0x61
mov byte [ebp - 0x173], cl
mov eax, dword [ebp - 0x178]
add al, 2
xor al, 0x69
mov byte [ebp - 0x172], al
mov eax, dword [ebp - 0x178]
add al, 3
mov byte [ebp - 0x170], 0
xor al, 0x6e
xor edx, edx
mov byte [ebp - 0x171], al
mov al, byte [ebp - 0x174]
nop dword [eax]
nop word [eax + eax]
mov al, byte [ebp + edx - 0x174]
mov ecx, dword [ebp - 0x178]
add cl, dl
xor cl, al
mov byte [ebp + edx - 0x174], cl
inc edx
cmp edx, 4
jb 0x10001ad0
mov eax, dword [esi]
mov byte [ebp - 0x170], 0
cmp dword [eax + 0x7c], 0
je 0x10001bc6
mov edx, dword [esi + 4]
mov edi, dword [eax + 0x78]
add edi, edx
mov dword [ebp - 0x17c], edx
mov dword [ebp - 0x310], edi
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x318], ecx
test ecx, ecx
je 0x10001bc6
cmp dword [edi + 0x14], 0
je 0x10001bc6
lea eax, [ebp - 0x174]
shr eax, 0x10
test eax, eax
jne 0x10001b54
lea eax, [ebp - 0x174]
movzx ecx, ax
mov eax, dword [edi + 0x10]
cmp ecx, eax
jb 0x10001bc6
sub ecx, eax
jmp 0x10001c56
mov esi, dword [edi + 0x20]
mov eax, dword [edi + 0x24]
add esi, edx
add eax, edx
xor edi, edi
mov dword [ebp - 0x16c], eax
test ecx, ecx
je 0x10001bc6
nop word [eax + eax]
mov eax, dword [esi]
lea ecx, [ebp - 0x174]
add eax, edx
nop word [eax + eax]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x10001ba0
test dl, dl
je 0x10001b9c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x10001ba0
add ecx, 2
add eax, 2
test dl, dl
jne 0x10001b80
xor eax, eax
jmp 0x10001ba5
sbb eax, eax
or eax, 1
mov edx, dword [ebp - 0x17c]
test eax, eax
je 0x10001c47
add dword [ebp - 0x16c], 2
inc edi
add esi, 4
cmp edi, dword [ebp - 0x318]
jb 0x10001b70
push 0x7f
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, dword [ebp - 0x314]
cmp dword [esi + 0x10], 0
je 0x10001beb
mov eax, dword [esi]
mov ecx, dword [esi + 4]
push 0
push 0
mov eax, dword [eax + 0x28]
push ecx
add eax, ecx
call eax
mov eax, dword [esi + 4]
test eax, eax
je 0x10001c00
push 0x8000
push 0
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edi, dword [ebp - 0x308]
push edi
call fcn.10008d14
add esp, 4
push dword [ebp - 0x30c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10005660
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x16c]
mov edi, dword [ebp - 0x310]
movzx ecx, word [eax]
cmp ecx, dword [edi + 0x14]
ja 0x10001bc6
mov eax, dword [edi + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
je 0x10001bce
mov dword [ebp - 4], 1
call eax
mov dword [ebp - 4], 0xffffffff
jmp 0x10001bce