joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100d9080
Capabilities:
Terminate thread

Disassembly:
push 0xffffffffffffffff
push 0x10178651
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x101b01e4]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], 0x10187964
mov eax, dword [esi + 8]
push eax
mov dword [esp + 0x1c], 2
call dword [sym.imp.KERNEL32.DLL_SetEvent]
mov ecx, dword [esi + 0x14]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
test eax, eax
je 0x100d90e0
mov edx, dword [esi + 0x1c]
push 0x3ff
push edx
call dword [sym.imp.KERNEL32.DLL_TerminateThread]
mov eax, dword [esi + 0x1c]
mov edi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
push eax
call edi
lea ecx, [esi + 0x4c]
call fcn.10020860
lea ecx, [esi + 0x28]
mov dword [esi + 0x20], 0x10186784
push ecx
mov dword [esi + 0x24], 0x1018458c
call dword [sym.imp.KERNEL32.DLL_DeleteCriticalSection]
mov dword [esi + 0x24], 0x10186684
mov edx, dword [esi + 0x14]
push edx
mov dword [esi + 0x10], 0x101850b4
call edi
mov dword [esi + 0x10], 0x10186684
mov eax, dword [esi + 8]
push eax
mov dword [esi + 4], 0x101850b4
call edi
mov dword [esi + 4], 0x10186684
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret

Function at 0x100d9190
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x101786a4
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
mov eax, dword [0x101b01e4]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor ebx, ebx
push ebx
push ebx
push ebx
lea ecx, [esi + 4]
mov dword [esi], 0x10187964
call fcn.1002b610
push ebx
push ebx
push ebx
lea ecx, [esi + 0x10]
mov dword [esp + 0x6c], ebx
call fcn.1002b610
lea eax, [esi + 0x28]
mov dword [esi + 0x20], 0x10186784
push eax
mov dword [esi + 0x24], 0x1018458c
call dword [sym.imp.KERNEL32.DLL_InitializeCriticalSection]
mov byte [esi + 0x40], bl
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
mov dword [esi + 0x44], ecx
lea ecx, [esi + 0x4c]
mov byte [esp + 0x60], 2
mov dword [esi + 0x48], edx
call fcn.100207d0
mov eax, dword [esp + 0x68]
lea ecx, [esp + 0x10]
push ecx
push ebx
push esi
push 0x100d9150
push ebx
push ebx
mov byte [esp + 0x78], 3
mov dword [esi + 0x80], eax
call fcn.1014a9cb
add esp, 0x18
cmp eax, ebx
mov dword [esi + 0x1c], eax
jne 0x100d9281
push 0x2a
push str.create_thread_fail_in_CTcpClientRecvMgr___
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.10001fe0
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x34]
mov byte [esp + 0x64], 4
call fcn.10002490
push 0x1018f208
lea eax, [esp + 0x34]
push eax
call fcn.10149808
mov eax, esi
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x58
ret 0xc

Function at 0x100db330
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
mov eax, dword [ecx]
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8
Function at 0x100db350
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
push edi
mov edi, ecx
jne 0x100db366
push 0x80004005
call fcn.100db090
push esi
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
mov ecx, dword [esp + 0xc]
mov edx, dword [edi]
add eax, 1
push eax
mov eax, dword [esp + 0x18]
push esi
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
ret 0xc

Function at 0x100db390
Capabilities:
Set registry value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
mov dword [esp + 4], ecx
jne 0x100db3a8
push 0x80004005
call fcn.100db090
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_lstrlenA]
push esi
push edi
xor edi, edi
mov esi, ebp
push esi
call ebx
add eax, 1
add esi, eax
add edi, eax
cmp eax, 1
jne 0x100db3b5
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
pop ebp
pop ecx
ret 8

Function at 0x100dcc70
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x11c
mov eax, dword [0x101b01e4]
xor eax, esp
mov dword [esp + 0x118], eax
push ebp
push esi
push edi
mov edi, dword [esp + 0x12c]
mov ebp, ecx
mov eax, dword [ebp]
lea ecx, [esp + 0x14]
push ecx
push 0x2001f
push 0
push edi
push eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ecx, dword [esp + 0xc]
mov esi, eax
test esi, esi
jne 0x100dccde
test ecx, ecx
je 0x100dccd0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
mov ecx, dword [esp + 0x14]
mov esi, eax
mov dword [esp + 0xc], ecx
je 0x100dccec
test ecx, ecx
je 0x100dcd91
push ecx
jmp 0x100dcd8b
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea edx, [esp + 0x1c]
push edx
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
lea edx, [esp + 0x38]
push edx
push 0
push ecx
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
jne 0x100dcd5e
jmp 0x100dcd20
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x10]
call fcn.100dcc70
mov edi, eax
test edi, edi
jne 0x100dcdad
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x10]
push eax
push eax
push eax
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x38]
push eax
push edi
push ecx
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
je 0x100dcd20
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x100dcd75
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], 0
mov edx, dword [ebp]
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x100dcd91
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x124]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.10149c5e
add esp, 0x11c
ret 4
mov eax, dword [esp + 0xc]
test eax, eax
je 0x100dcdbc
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x100dcd93
Function at 0x100e3935
Capabilities:
Create thread

Disassembly:
push 0x4c
mov eax, 0x10179789
call fcn.1014d21b
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.100e24bb
xor edi, edi
lea ecx, [esi + 0xc]
mov dword [ebp - 4], edi
call fcn.10006240
push edi
push edi
push edi
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 1
call fcn.1002b610
push edi
push edi
push edi
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 2
call fcn.1002b610
lea eax, [ebp - 0x14]
push eax
push edi
push esi
push 0x100e37bb
push edi
push edi
mov byte [ebp - 4], 3
call fcn.1014a9cb
add esp, 0x18
cmp eax, edi
mov dword [esi + 0x40], eax
jne 0x100e39bd
push str.create_thread_failed
lea ecx, [ebp - 0x30]
call fcn.100025a0
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 4
call fcn.10002490
push eax
mov byte [ebp - 4], 5
call fcn.10070b40
mov eax, esi
call fcn.1014d2f3
ret

Function at 0x100e39c5
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
push dword [esi + 0x2c]
call dword [sym.imp.KERNEL32.DLL_SetEvent]
push 0xffffffffffffffff
push dword [esi + 0x40]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
test eax, eax
je 0x100e39ee
push 0xf0
push dword [esi + 0x40]
call dword [sym.imp.KERNEL32.DLL_TerminateThread]
push dword [esi + 0x40]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea ecx, [esi + 0x34]
call fcn.1002b6a0
lea ecx, [esi + 0x28]
call fcn.1002b6a0
lea ecx, [esi + 0xc]
call fcn.10006260
mov ecx, esi
pop esi
jmp fcn.100e3363

Function at 0x100e4015
Capabilities:
Create thread

Disassembly:
push 0x48
mov eax, 0x101798ad
call fcn.1014d21b
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
mov dword [esi + 4], eax
mov eax, dword [ebp + 0xc]
lea ecx, [esi + 0xc]
mov dword [esi], 0x10187f74
mov dword [esi + 8], eax
call fcn.10006240
xor edi, edi
mov dword [ebp - 4], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
push 0x10184472
push edi
push dword [ebp + 0x10]
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 1
call fcn.10070b70
push edi
push edi
push edi
lea ecx, [esi + 0x44]
mov byte [ebp - 4], 2
call fcn.1002b610
push edi
push edi
push edi
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 3
call fcn.1002b610
lea eax, [ebp + 0xc]
push eax
push edi
push esi
push 0x100e3b65
push edi
push edi
mov byte [ebp - 4], 4
call fcn.1014a9cb
add esp, 0x18
cmp eax, edi
mov dword [esi + 0x5c], eax
jne 0x100e40cb
push str.create_thread_failed
lea ecx, [ebp - 0x2c]
call fcn.100025a0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 5
call fcn.10002490
push eax
mov byte [ebp - 4], 6
call fcn.10070b40
mov eax, esi
call fcn.1014d2f3
ret 0xc
Function at 0x100e40d5
Capabilities:
Terminate thread

Disassembly:
push 4
mov eax, 0x101798d3
call fcn.1014d21b
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x10187f74
push dword [esi + 0x48]
and dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.DLL_SetEvent]
push 0xffffffffffffffff
push dword [esi + 0x5c]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
test eax, eax
je 0x100e4116
push 0xff
push dword [esi + 0x5c]
call dword [sym.imp.KERNEL32.DLL_TerminateThread]
push dword [esi + 0x5c]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea ecx, [esi + 0x50]
call fcn.1002b6a0
lea ecx, [esi + 0x44]
call fcn.1002b6a0
lea ecx, [esi + 0x3c]
call fcn.1002b6a0
lea ecx, [esi + 0x28]
call fcn.100e26c3
lea ecx, [esi + 0xc]
call fcn.10006260
call fcn.1014d2f3
ret
Function at 0x100e4e8c
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0xc00
lea ebp, [esp - 4]
mov eax, dword [0x101b01e4]
xor eax, ebp
mov dword [ebp + 0xc00], eax
push 0x40
mov eax, 0x10179a70
call fcn.1014d21b
xor esi, esi
cmp dword [0x101b1790], esi
je 0x100e4ec4
mov eax, 0x101b177c
jmp 0x100e502b
mov ebx, 0x3ff
push ebx
lea eax, [ebp + 0x801]
push esi
push eax
mov byte [ebp + 0x800], 0
call fcn.10149460
add esp, 0xc
lea eax, [ebp + 0x800]
push eax
lea edi, [ebx + 1]
push edi
call dword [sym.imp.KERNEL32.DLL_GetTempPathA]
push ebx
mov dword [ebp - 0x10], eax
lea eax, [ebp + 1]
push esi
push eax
mov byte [ebp], 0
call fcn.10149460
add esp, 0xc
lea eax, [ebp]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryA]
cmp dword [ebp - 0x10], 0
mov dword [ebp - 0x14], eax
mov esi, 0x101b177c
je 0x100e4f64
lea eax, [ebp + 0x800]
push 0
push eax
call fcn.10149cf4
test eax, eax
pop ecx
pop ecx
jne 0x100e4f64
cmp dword [ebp - 0x14], eax
je 0x100e4f56
lea eax, [ebp]
push eax
lea eax, [ebp + 0x800]
push eax
call fcn.1014e9b0
test eax, eax
pop ecx
pop ecx
jne 0x100e4f56
push 0x10184472
jmp 0x100e4f5d
lea eax, [ebp + 0x800]
push eax
mov ecx, esi
call fcn.10002200
push 0x10184472
mov ecx, esi
call fcn.10043ed0
test eax, eax
jne 0x100e4fb0
push ebx
mov byte [ebp + 0x400], al
xor ebx, ebx
lea eax, [ebp + 0x401]
push ebx
push eax
call fcn.10149460
add esp, 0xc
push edi
lea eax, [ebp + 0x400]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
cmp eax, ebx
je 0x100e4fb2
lea eax, [ebp + 0x400]
push eax
mov ecx, esi
call fcn.10002200
jmp 0x100e4fb2
xor ebx, ebx
push 0x10184472
mov ecx, esi
call fcn.10043ed0
test eax, eax
je 0x100e5029
push 0xffffffffffffffff
mov edi, 0x10184474
push edi
mov ecx, esi
call fcn.1003a810
cmp eax, 0xffffffff
je 0x100e5015
push eax
mov ecx, esi
call fcn.100014b0
push eax
push ebx
mov ecx, esi
call fcn.100014b0
push eax
lea ecx, [ebp - 0x4c]
call fcn.100e4c9e
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.10001ec0
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x4c]
call fcn.10001800
push edi
mov ecx, esi
call fcn.100021a0
push esi
lea ecx, [ebp - 0x30]
call fcn.100021d0
push ebx
push 1
lea ecx, [ebp - 0x30]
call fcn.10001800
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xc00]
xor ecx, ebp
call fcn.10149c5e
add ebp, 0xc04
leave
ret
Function at 0x100ea0e8
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x20c
lea ebp, [esp - 4]
mov eax, dword [0x101b01e4]
xor eax, ebp
mov dword [ebp + 0x20c], eax
push 0x40
mov eax, 0x1017a286
call fcn.1014d21b
mov edi, dword [ebp + 0x218]
xor ebx, ebx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], ebx
xor esi, esi
inc esi
mov ecx, edi
mov dword [ebp - 4], esi
call fcn.10001b40
push 0x104
lea eax, [ebp]
push ebx
push eax
mov dword [ebp - 0x10], esi
call fcn.10149460
mov al, byte [ebp + 0x23c]
add esp, 0xc
neg al
push esi
sbb eax, eax
and eax, 0xfffffff7
add eax, 0x23
push eax
lea eax, [ebp]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x100ea1c2
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x30]
call fcn.100025a0
lea ecx, [ebp + 0x220]
push ecx
push eax
lea eax, [ebp - 0x4c]
push eax
mov byte [ebp - 4], 2
call fcn.10002230
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.10001c20
push ebx
push esi
lea ecx, [ebp - 0x4c]
call fcn.10001800
push ebx
push esi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.10001800
push edi
call fcn.100e9d9c
test al, al
pop ecx
jne 0x100ea1bc
push edi
call fcn.100e9e63
pop ecx
jmp 0x100ea1be
mov al, 1
cmp al, bl
jne 0x100ea22e
push 0x104
lea eax, [ebp + 0x105]
push ebx
push eax
mov byte [ebp + 0x104], bl
call fcn.10149460
add esp, 0xc
push 0x105
lea eax, [ebp + 0x104]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
lea eax, [ebp + 0x104]
push 0x5c
push eax
call fcn.1014ac60
cmp eax, ebx
pop ecx
pop ecx
je 0x100ea206
mov byte [eax], bl
lea eax, [ebp + 0x104]
push eax
lea ecx, [ebp - 0x30]
call fcn.100025a0
push 0xffffffffffffffff
push ebx
push eax
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.10001ec0
push ebx
push esi
lea ecx, [ebp - 0x30]
call fcn.10001800
push ebx
push esi
lea ecx, [ebp + 0x220]
call fcn.10001800
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x20c]
xor ecx, ebp
call fcn.10149c5e
add ebp, 0x210
leave
ret
Function at 0x100ec22e
Capabilities:
Delete file

Disassembly:
mov eax, dword [esp + 4]
cmp dword [eax + 0x18], 0x10
jb 0x100ec23d
mov eax, dword [eax + 4]
jmp 0x100ec240
add eax, 4
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
mov ebx, eax
dec ebx
neg ebx
sbb bl, bl
inc bl
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov al, bl
pop ebx
ret

Function at 0x100ec29a
Capabilities:
Copy file

Disassembly:
mov eax, dword [esp + 8]
cmp dword [eax + 0x18], 0x10
jb 0x100ec2a9
mov ecx, dword [eax + 4]
jmp 0x100ec2ac
lea ecx, [eax + 4]
mov eax, dword [esp + 4]
cmp dword [eax + 0x18], 0x10
jb 0x100ec2bb
mov eax, dword [eax + 4]
jmp 0x100ec2be
add eax, 4
xor edx, edx
cmp byte [esp + 0xc], dl
sete dl
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_CopyFileA]
dec eax
neg eax
sbb eax, eax
inc eax
ret

Function at 0x100ec6a8
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push edi
xor eax, eax
xor edi, edi
cmp dword [ebp + 0xc], eax
jbe 0x100ec776
push ebx
push esi
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x100ec774
mov byte [ebp - 4], 0
mov byte [ebp - 3], 0
mov byte [ebp - 2], 0
xor esi, esi
cmp edi, dword [ebp + 0xc]
jae 0x100ec6e9
mov dl, byte [edi + ecx]
inc edi
mov byte [ebp + esi - 4], dl
inc esi
cmp esi, 3
jb 0x100ec6d6
movzx ecx, byte [ebp - 4]
movzx edx, cl
shr edx, 2
mov dl, byte [edx + 0x101882b8]
mov byte [ebp - 8], dl
mov dl, byte [ebp - 3]
movzx ebx, dl
and ecx, 3
shl ecx, 4
shr ebx, 4
or ebx, ecx
mov cl, byte [ebx + 0x101882b8]
mov byte [ebp - 7], cl
movzx ecx, byte [ebp - 2]
movzx ebx, cl
and edx, 0xf
shl edx, 2
shr ebx, 6
or ebx, edx
mov dl, byte [ebx + 0x101882b8]
and ecx, 0x3f
cmp esi, 3
mov cl, byte [ecx + 0x101882b8]
mov byte [ebp - 6], dl
mov byte [ebp - 5], cl
jae 0x100ec74f
cmp esi, 2
mov byte [ebp - 5], 0x3d
jae 0x100ec74f
mov byte [ebp - 6], 0x3d
mov esi, dword [ebp + 0x10]
xor ecx, ecx
test esi, esi
je 0x100ec764
cmp dword [ebp + 0x14], eax
jbe 0x100ec764
mov dl, byte [ebp + ecx - 8]
mov byte [eax + esi], dl
inc eax
inc ecx
cmp ecx, 4
jb 0x100ec754
cmp edi, dword [ebp + 0xc]
jb 0x100ec6bd
pop esi
pop ebx
pop edi
leave
ret

Function at 0x100f6806
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x100f6819
push 1
push eax
call dword [sym.imp.KERNEL32.DLL_TerminateThread]
and dword [esi + 4], 0
pop esi
ret

Function at 0x100f6a88
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
mov dword [esi + 0xc], ecx
xor ebx, ebx
lea ecx, [ebp - 4]
push ecx
push ebx
lea eax, [esi + 8]
push eax
push 0x10104c78
push ebx
push ebx
mov byte [esi + 0x18], bl
mov dword [eax], esi
call fcn.1014a9cb
add esp, 0x18
cmp eax, 0xffffffff
mov dword [esi + 4], eax
jne 0x100f6ac0
mov dword [esi + 4], ebx
cmp dword [esi + 4], ebx
jne 0x100f6acd
mov byte [esi + 0x18], 1
xor al, al
jmp 0x100f6acf
mov al, 1
pop esi
pop ebx
leave
ret 4
Function at 0x100f8771
Capabilities:
Check mutex on windows

Disassembly:
push ebp
lea ebp, [esp - 0x90]
sub esp, 0x110
mov eax, dword [0x101b01e4]
xor eax, ebp
mov dword [ebp + 0x8c], eax
mov eax, dword [ebp + 0xa8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xa4]
xor ebx, ebx
push 0x103
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x77]
push ebx
push eax
mov esi, ecx
mov dword [ebp - 0x80], edi
mov byte [ebp - 0x78], bl
call fcn.10149460
push edi
call fcn.1014d190
mov edi, eax
mov eax, 0x102
add esp, 0x10
cmp edi, eax
jb 0x100f87cd
mov edi, eax
push 0x104
lea eax, [ebp - 0x78]
push ebx
push eax
call fcn.10149460
push edi
push dword [ebp - 0x80]
lea eax, [ebp - 0x78]
push eax
call fcn.1014ab30
mov edx, dword [ebp + 0xa0]
mov eax, dword [ebp + 0x98]
mov ecx, dword [ebp + 0x9c]
add esp, 0x18
dec edx
dec edx
lea edi, [ebp + edi - 0x78]
mov byte [edi], 0x31
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ecx
je 0x100f882a
dec edx
dec edx
je 0x100f8821
sub edx, 4
jne 0x100f887d
mov dword [esi + 0x10], 2
jmp 0x100f8831
mov dword [esi + 0x10], 0xf001f
jmp 0x100f8831
mov dword [esi + 0x10], 4
lea edx, [ebp - 0x78]
push edx
push eax
push ecx
push dword [ebp + 0xa0]
push ebx
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.DLL_CreateFileMappingA]
cmp eax, ebx
mov dword [esi + 8], eax
je 0x100f887d
cmp eax, 0xffffffff
je 0x100f887d
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push ebx
push ebx
push ebx
push ebx
push dword [esi + 0x10]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.DLL_MapViewOfFileEx]
cmp eax, ebx
mov dword [esi + 0xc], eax
jne 0x100f8899
push dword [esi + 8]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
or dword [esi + 8], 0xffffffff
xor al, al
mov ecx, dword [ebp + 0x8c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10149c5e
add ebp, 0x90
leave
ret 0x14
lea eax, [ebp - 0x78]
push eax
push ebx
push ebx
mov byte [edi], 0x32
call dword [sym.imp.KERNEL32.DLL_CreateMutexA]
cmp eax, ebx
mov dword [esi + 0x20], eax
jne 0x100f88ca
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 5
jne 0x100f88ca
lea eax, [ebp - 0x78]
push eax
push ebx
push 1
call dword [sym.imp.KERNEL32.DLL_OpenMutexA]
mov dword [esi + 0x20], eax
mov al, 1
jmp 0x100f887f
Function at 0x100f9d02
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
ret
Function at 0x100faa88
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x5c], ecx
ret

Function at 0x100fab5e
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 0x18]
mov ebx, dword [esi + 0x14]
mov dword [ebp + 0xc], eax
mov eax, ebx
shr eax, 3
and eax, 0x3f
mov byte [eax + esi + 0x1c], 0x80
inc eax
cmp eax, 0x38
jle 0x100fabad
push 0x40
pop ecx
sub ecx, eax
push ecx
lea eax, [eax + esi + 0x1c]
push 0
push eax
call fcn.10149460
mov eax, esi
call fcn.100f9e94
push 0x38
lea eax, [esi + 0x1c]
push 0
push eax
call fcn.10149460
add esp, 0x18
jmp 0x100fabc2
push 0x38
pop ecx
sub ecx, eax
push ecx
lea eax, [eax + esi + 0x1c]
push 0
push eax
call fcn.10149460
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov ecx, eax
shr ecx, 0x18
mov byte [esi + 0x54], cl
mov ecx, eax
mov byte [esi + 0x57], al
shr ecx, 0x10
mov byte [esi + 0x55], cl
mov ecx, eax
mov eax, ebx
shr eax, 0x18
mov byte [esi + 0x58], al
mov eax, ebx
shr eax, 0x10
mov byte [esi + 0x59], al
mov eax, ebx
shr eax, 8
shr ecx, 8
mov byte [esi + 0x5a], al
mov eax, esi
mov byte [esi + 0x56], cl
mov byte [esi + 0x5b], bl
call fcn.100f9e94
mov cl, byte [esi + 3]
mov eax, dword [ebp + 8]
mov byte [eax], cl
mov cl, byte [esi + 2]
mov byte [eax + 1], cl
mov cl, byte [esi + 1]
mov byte [eax + 2], cl
mov cl, byte [esi]
mov byte [eax + 3], cl
mov cl, byte [esi + 7]
mov byte [eax + 4], cl
mov cl, byte [esi + 6]
mov byte [eax + 5], cl
mov cl, byte [esi + 5]
mov byte [eax + 6], cl
mov cl, byte [esi + 4]
mov byte [eax + 7], cl
mov cl, byte [esi + 0xb]
mov byte [eax + 8], cl
mov cl, byte [esi + 0xa]
mov byte [eax + 9], cl
mov cl, byte [esi + 9]
mov byte [eax + 0xa], cl
mov cl, byte [esi + 8]
mov byte [eax + 0xb], cl
mov cl, byte [esi + 0xf]
mov byte [eax + 0xc], cl
mov cl, byte [esi + 0xe]
mov byte [eax + 0xd], cl
mov cl, byte [esi + 0xd]
mov byte [eax + 0xe], cl
mov cl, byte [esi + 0xc]
mov byte [eax + 0xf], cl
mov cl, byte [esi + 0x13]
mov byte [eax + 0x10], cl
mov cl, byte [esi + 0x12]
mov byte [eax + 0x11], cl
mov cl, byte [esi + 0x11]
mov byte [eax + 0x12], cl
mov cl, byte [esi + 0x10]
pop esi
mov byte [eax + 0x13], cl
pop ebx
pop ebp
ret