joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10011100
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x348
mov eax, dword [0x10061070]
xor eax, ebp
mov dword [ebp - 4], eax
push str.EndpointAgentUtil.exe
lea ecx, [ebp - 0xe0]
call fcn.10004bb0
push str.EndpointClientAgent.exe
lea ecx, [ebp - 0xc8]
call fcn.10004bb0
push str.EndpointWatchdog.exe
lea ecx, [ebp - 0xb0]
call fcn.10004bb0
push str.EndpointClientGUI.exe
lea ecx, [ebp - 0x98]
call fcn.10004bb0
push str.EndpointInjectionFramework.exe
lea ecx, [ebp - 0x80]
call fcn.10004bb0
push str.EndpointDataDiscovery.exe
lea ecx, [ebp - 0x68]
call fcn.10004bb0
push str.EndpointFilesystemMonitor.exe
lea ecx, [ebp - 0x50]
call fcn.10004bb0
push str.WaterMark.exe
lea ecx, [ebp - 0x38]
call fcn.10004bb0
push str.AddonUtil.exe
lea ecx, [ebp - 0x20]
call fcn.10004bb0
lea ecx, [ebp - 0x315]
call fcn.100045f0
push eax
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0xe0]
push ecx
lea ecx, [ebp - 0x348]
call fcn.10002500
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x340]
call fcn.10004740
push fcn.10004b60
push 9
push 0x18
lea ecx, [ebp - 0xe0]
push ecx
call fcn.1002bf8c
mov dword [ebp - 0x30c], 0x22c
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x320], eax
lea edx, [ebp - 0x30c]
push edx
mov eax, dword [ebp - 0x320]
push eax
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x10011331
mov byte [ebp - 0x30d], 0
lea ecx, [ebp - 0x340]
mov dword [ebp - 0x324], ecx
lea edx, [ebp - 0x31c]
push edx
mov ecx, dword [ebp - 0x324]
call fcn.10004510
lea eax, [ebp - 0x32c]
push eax
mov ecx, dword [ebp - 0x324]
call fcn.100044b0
jmp 0x10011257
lea ecx, [ebp - 0x31c]
call fcn.10004470
lea ecx, [ebp - 0x32c]
push ecx
lea ecx, [ebp - 0x31c]
call fcn.10004430
movzx edx, al
test edx, edx
je 0x100112ab
lea ecx, [ebp - 0x31c]
call fcn.10004490
mov dword [ebp - 0x330], eax
mov ecx, dword [ebp - 0x330]
call fcn.10004b20
push eax
lea eax, [ebp - 0x2e8]
push eax
call fcn.10031573
add esp, 8
test eax, eax
jne 0x100112a9
mov byte [ebp - 0x30d], 1
jmp 0x100112ab
jmp 0x1001124c
movzx ecx, byte [ebp - 0x30d]
test ecx, ecx
je 0x10011315
mov edx, dword [ebp - 0x304]
push edx
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x314], eax
cmp dword [ebp - 0x314], 0
je 0x10011315
mov dword [ebp - 0x328], 5
lea eax, [ebp - 0x328]
push eax
mov ecx, dword [ebp - 0x314]
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov edx, dword [ebp - 0x328]
push edx
mov eax, dword [ebp - 0x314]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 0x314]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [ebp - 0x30c]
push edx
mov eax, dword [ebp - 0x320]
push eax
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x10011213
mov ecx, dword [ebp - 0x320]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x334], 1
lea ecx, [ebp - 0x340]
call fcn.10004700
mov eax, dword [ebp - 0x334]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002bcee
mov esp, ebp
pop ebp
ret
Function at 0x100116a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x10061070]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
lea ecx, [ebp - 0x230]
call fcn.100049d0
xor eax, eax
mov word [ebp - 0x204], ax
push 0x1fe
push 0
lea ecx, [ebp - 0x202]
push ecx
call fcn.1002ef20
add esp, 0xc
push 0x100
lea edx, [ebp - 0x204]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov eax, 2
imul ecx, eax, 3
mov dword [ebp - 0x214], ecx
cmp dword [ebp - 0x214], 0x200
jae 0x1001170c
jmp 0x10011711
call fcn.1002c4fc
xor edx, edx
mov eax, dword [ebp - 0x214]
mov word [ebp + eax - 0x204], dx
lea ecx, [ebp - 0x204]
add ecx, 0xfffffffe
mov dword [ebp - 0x208], ecx
mov edx, dword [ebp - 0x208]
mov ax, word [edx + 2]
mov word [ebp - 0x20a], ax
add dword [ebp - 0x208], 2
cmp word [ebp - 0x20a], 0
jne 0x10011730
mov edi, dword [ebp - 0x208]
mov ecx, dword [str.Users]
mov dword [edi], ecx
mov edx, dword [0x1005a0cc]
mov dword [edi + 4], edx
mov eax, dword [0x1005a0d0]
mov dword [edi + 8], eax
lea ecx, [ebp - 0x230]
push ecx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x234], esp
lea edx, [ebp - 0x204]
push edx
call fcn.10004bb0
call fcn.10011370
add esp, 0x1c
lea eax, [ebp - 0x230]
mov dword [ebp - 0x218], eax
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebp - 0x218]
call fcn.10004510
lea edx, [ebp - 0x21c]
push edx
mov ecx, dword [ebp - 0x218]
call fcn.100044b0
jmp 0x100117d4
lea ecx, [ebp - 0x210]
call fcn.10004470
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x210]
call fcn.10004430
movzx ecx, al
test ecx, ecx
je 0x1001181f
lea ecx, [ebp - 0x210]
call fcn.10004490
mov dword [ebp - 0x220], eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x238], esp
mov edx, dword [ebp - 0x220]
push edx
call fcn.1000b3f0
call fcn.100109c0
add esp, 0x18
jmp 0x100117c9
mov dword [ebp - 0x224], 1
lea ecx, [ebp - 0x230]
call fcn.10004700
mov eax, dword [ebp - 0x224]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002bcee
mov esp, ebp
pop ebp
ret

Function at 0x100190b0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x810
mov eax, dword [0x10061070]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x810], ecx
mov dword [ebp - 0x80c], 0
xor eax, eax
mov word [ebp - 0x808], ax
push 0x800
push 0
lea ecx, [ebp - 0x806]
push ecx
call fcn.1002ef20
add esp, 0xc
push 0x400
lea edx, [ebp - 0x808]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.10004b20
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
jne 0x10019158
push 0x100076b0
mov ecx, dword [ebp + 0xc]
call fcn.10004b20
push eax
push str._error__expand_env_failed__name_:
mov ecx, 0x10062fb8
call fcn.10018570
mov ecx, eax
call fcn.10018570
mov ecx, eax
call fcn.10003130
mov ecx, dword [ebp + 8]
call fcn.10012170
mov eax, dword [ebp - 0x80c]
or eax, 1
mov dword [ebp - 0x80c], eax
mov eax, dword [ebp + 8]
jmp 0x10019179
lea ecx, [ebp - 0x808]
push ecx
mov ecx, dword [ebp + 8]
call fcn.10004bb0
mov edx, dword [ebp - 0x80c]
or edx, 1
mov dword [ebp - 0x80c], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002bcee
mov esp, ebp
pop ebp
ret 8
Function at 0x10019190
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
push 0
mov ecx, dword [ebp + 8]
call fcn.10004b20
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x100191d4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x50
je 0x100191cd
cmp dword [ebp - 8], 0xb7
jne 0x100191d4
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0
je 0x10019209
push 0x100076b0
mov ecx, dword [ebp + 8]
call fcn.10004b20
push eax
push str._error__failed_to_create_directory__name_:
mov ecx, 0x10062fb8
call fcn.10018570
mov ecx, eax
call fcn.10018570
mov ecx, eax
call fcn.10003130
xor al, al
jmp 0x1001920b
mov al, 1
mov esp, ebp
pop ebp
ret 4
Function at 0x10020180
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x100201ce
push 0x100076b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x1005a570
mov ecx, 0x10062fb8
call fcn.100076e0
mov ecx, eax
call fcn.10007740
mov ecx, eax
call fcn.10003130
xor al, al
jmp 0x100202dd
push 0x10000
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x1002023b
push 0x100076b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x1005a5b4
mov edx, dword [ebp + 8]
push edx
push 0x1005a594
mov ecx, 0x10062fb8
call fcn.100076e0
mov ecx, eax
call fcn.100076e0
mov ecx, eax
call fcn.100076e0
mov ecx, eax
call fcn.10007740
mov ecx, eax
call fcn.10003130
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor al, al
jmp 0x100202dd
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_DeleteService]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x10020290
push 0x100076b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x1005a5e4
mov edx, dword [ebp + 8]
push edx
push str.Failed_to_DeleteService__Name_:
mov ecx, 0x10062fb8
call fcn.100076e0
mov ecx, eax
call fcn.100076e0
mov ecx, eax
call fcn.100076e0
mov ecx, eax
call fcn.10007740
mov ecx, eax
call fcn.10003130
jmp 0x100202b6
push 0x100076b0
mov eax, dword [ebp + 8]
push eax
push str.Delete_Service
mov ecx, 0x10062fb8
call fcn.100076e0
mov ecx, eax
call fcn.100076e0
mov ecx, eax
call fcn.10003130
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp dword [ebp - 0x10], 0
je 0x100202d6
mov byte [ebp - 1], 1
jmp 0x100202da
mov byte [ebp - 1], 0
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret
Function at 0x100216e0
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004c018
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x10061070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1002171b
jmp 0x100217a4
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x1002172b
jmp 0x100217a4
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x28]
call fcn.10004bb0
mov dword [ebp - 4], 0
push str..old
lea ecx, [ebp - 0x28]
call fcn.10011f00
lea ecx, [ebp - 0x28]
call fcn.10004b20
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x1002177a
mov byte [ebp - 0x29], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10004b60
mov al, byte [ebp - 0x29]
jmp 0x100217a6
push 4
push 0
lea ecx, [ebp - 0x28]
call fcn.10004b20
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10004b60
xor ecx, ecx
jne 0x10021708
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002bcee
mov esp, ebp
pop ebp
ret
Function at 0x1002a306
Capabilities:
Write file on windows

Disassembly:
push 0x20
mov eax, 0x1004c567
call fcn.1002c9d5
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x1002a423
cmp byte [ebx + 0x3e], 0
je 0x1002a423
mov eax, dword [ebx]
mov edi, 0xffff
push edi
mov esi, dword [eax + 0xc]
mov ecx, esi
call fcn.1002c975
mov ecx, ebx
call esi
movzx eax, ax
cmp di, ax
sete al
test al, al
je 0x1002a352
xor al, al
jmp 0x1002a425
xor eax, eax
mov dword [ebp - 0x14], 0xf
push eax
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
call fcn.100058f0
and dword [ebp - 4], 0
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
mov edx, ecx
cmp eax, 0x10
jae 0x1002a382
lea edx, [ebp - 0x28]
mov ecx, edx
mov edi, dword [ebx + 0x38]
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x18]
add eax, edx
mov esi, dword [edi]
push eax
push ecx
lea eax, [ebx + 0x40]
mov ecx, dword [esi + 0x20]
push eax
call fcn.1002c975
mov ecx, edi
call dword [esi + 0x20]
sub eax, 0
je 0x1002a3b7
sub eax, 1
je 0x1002a3bb
dec eax
sub eax, 1
je 0x1002a411
xor bl, bl
jmp 0x1002a413
mov byte [ebx + 0x3e], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
mov edx, ecx
cmp eax, 0x10
jae 0x1002a3cb
lea edx, [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
sub esi, edx
je 0x1002a3f3
cmp eax, 0x10
jae 0x1002a3da
lea ecx, [ebp - 0x28]
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.10035e48
add esp, 0x10
cmp esi, eax
jne 0x1002a3b3
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
cmp byte [ebx + 0x3e], 0
je 0x1002a411
test esi, esi
jne 0x1002a376
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.10005aa0
jmp 0x1002a370
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.10005730
mov al, bl
jmp 0x1002a425
mov al, 1
call fcn.1002c990
ret
Function at 0x1002a931
Capabilities:
Write file on windows

Disassembly:
push 0x30
mov eax, 0x1004c5bc
call fcn.1002c9d5
mov esi, ecx
mov dword [ebp - 0x30], esi
mov edi, dword [ebp + 8]
mov ebx, 0xffff
cmp bx, di
jne 0x1002a956
xor eax, eax
jmp 0x1002aacf
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x1002a982
mov edx, dword [esi + 0x30]
mov eax, dword [edx]
lea eax, [ecx + eax*2]
cmp ecx, eax
jae 0x1002a982
dec dword [edx]
mov ax, di
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 2]
mov dword [edx], ecx
mov word [esi], di
jmp 0x1002aacf
cmp dword [esi + 0x4c], 0
je 0x1002aacc
mov ecx, esi
call fcn.1002a553
xor eax, eax
cmp dword [esi + 0x38], eax
jne 0x1002a9b5
push dword [esi + 0x4c]
push edi
call fcn.10029edc
pop ecx
pop ecx
test al, al
je 0x1002aacc
movzx ebx, di
jmp 0x1002aacc
push eax
push 8
lea ecx, [ebp - 0x28]
mov word [ebp - 0x2c], di
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
call fcn.100058f0
and dword [ebp - 4], 0
lea eax, [esi + 0x40]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
mov edx, ecx
cmp eax, 0x10
jae 0x1002a9ed
lea edx, [ebp - 0x28]
mov ecx, edx
mov edi, dword [esi + 0x38]
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x18]
add eax, edx
mov esi, dword [edi]
push eax
push ecx
lea eax, [ebp - 0x3c]
mov ecx, dword [esi + 0x1c]
push eax
lea eax, [ebp - 0x2a]
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x34]
call fcn.1002c975
mov ecx, edi
call dword [esi + 0x1c]
test eax, eax
js 0x1002aac0
cmp eax, 1
jg 0x1002aa9b
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
mov edx, ecx
cmp eax, 0x10
jae 0x1002aa36
lea edx, [ebp - 0x28]
mov edi, dword [ebp - 0x38]
sub edi, edx
je 0x1002aa63
cmp eax, 0x10
jae 0x1002aa45
lea ecx, [ebp - 0x28]
mov esi, dword [ebp - 0x30]
push dword [esi + 0x4c]
push edi
push 1
push ecx
call fcn.10035e48
add esp, 0x10
cmp edi, eax
jne 0x1002aa96
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
jmp 0x1002aa66
mov esi, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
mov byte [esi + 0x3e], 1
cmp dword [ebp - 0x3c], edx
jne 0x1002aa90
test edi, edi
jne 0x1002a9e1
cmp dword [ebp - 0x18], 0x20
jae 0x1002aaba
push edi
push 8
lea ecx, [ebp - 0x28]
call fcn.10005aa0
jmp 0x1002a9db
mov eax, dword [ebp + 8]
movzx ebx, ax
movzx ebx, bx
jmp 0x1002aaba
cmp eax, 3
jne 0x1002aac0
mov eax, dword [ebp - 0x30]
push dword [eax + 0x4c]
push dword [ebp - 0x2c]
call fcn.10029edc
pop ecx
pop ecx
test al, al
je 0x1002aaba
mov eax, dword [ebp + 8]
movzx ebx, ax
movzx eax, bx
movzx ebx, ax
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.10005730
mov ax, bx
call fcn.1002c990
ret 4

Function at 0x1003f4e8
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1003f1ab

Function at 0x1003f4f3
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1003f32c

Function at 0x10046afb
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100467bb
Function at 0x40e0fc
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x24
lea eax, [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov dword [esp], 2
call fcn.00414500
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x1b
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov ebx, dword [ebp - 0xc]
mov dword [esp], 2
call fcn.00414500
mov dword [esp + 8], ebx
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort

Function at 0x40ecd0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, word [eax]
cmp ax, 0x5a4d
je 0x40ecef
mov eax, 0
jmp 0x40ed33
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp - 4]
add eax, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, 0x4550
je 0x40ed12
mov eax, 0
jmp 0x40ed33
mov eax, dword [ebp - 8]
add eax, 0x18
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
cmp ax, 0x10b
je 0x40ed2e
mov eax, 0
jmp 0x40ed33
mov eax, 1
leave
ret

Function at 0x40ed35
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp + 8]
add eax, edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 0x14]
movzx edx, ax
mov eax, dword [ebp - 0xc]
add eax, edx
add eax, 0x18
mov dword [ebp - 4], eax
jmp 0x40ed94
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
cmp dword [ebp + 0xc], eax
jb 0x40ed8c
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
add eax, edx
cmp dword [ebp + 0xc], eax
jae 0x40ed8c
mov eax, dword [ebp - 4]
jmp 0x40eda8
add dword [ebp - 8], 1
add dword [ebp - 4], 0x28
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 6]
movzx eax, ax
cmp dword [ebp - 8], eax
jb 0x40ed69
mov eax, 0
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408e84
nop
mov ecx, 0x6fa10cd5
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x54b10577
nop
nop
nop
nop
test eax, eax
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x100296d3
Capabilities:
Create thread

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
lea eax, [edi + 0x74]
push eax
xor eax, eax
push eax
push edi
push dword [esp + 0x20]
push eax
push eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov esi, eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
test esi, esi
jne 0x1002971a
push dword [eax]
call sym.glib_lite.dll_Ordinal_353
push eax
push str.Error_creating_thread:__s.
push 0x10
push str.Glib
call sym.glib_lite.dll_Ordinal_182
add esp, 0x14
jmp 0x1002974e
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
test eax, eax
jne 0x1002974e
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
call fcn.1002b259
mov esi, eax
push esi
push str.Error_closing_thread_handle:__s.
push 0x10
push str.Glib
call sym.glib_lite.dll_Ordinal_182
push esi
call sym.glib_lite.dll_Ordinal_105
add esp, 0x18
push 0xffffffffffffffff
push dword [edi + 0x8c]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
pop edi
pop esi
ret

Function at 0x1002b259
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x1002b268
pop dword [ebp - 0x38]
mov eax, 0x1002b268
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0x907c0689
sub dword [ebp - 0x48], 0x4229c13e
mov dword [ebp - 0x44], 0x71442d68
add dword [ebp - 0x44], 0xc0ef1edd
mov dword [ebp - 0x40], 0xf2df8e89
add dword [ebp - 0x40], 0x596cb5a5
mov dword [ebp - 0x3c], 0xcab406c5
add dword [ebp - 0x3c], 0x354bf93b
lea eax, [ebp - 0x48]
push eax
mov eax, 0x74ad0a7f
add eax, 0x9b56f695
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0x2e402839
sub dword [ebp - 0x48], 0xb9cdbee3
mov dword [ebp - 0x44], 0xa971bb73
add dword [ebp - 0x44], 0x97faa602
mov dword [ebp - 0x40], 0xbabaf6f
add dword [ebp - 0x40], 0x57c3bcfd
mov dword [ebp - 0x3c], 0xe1d88441
sub dword [ebp - 0x3c], 0xe1d88441
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x3b15d
push 0
call eax
mov ecx, 0x4785
mov ebx, eax
mov edi, 0x32a2bf6
add edi, 0xcdf1e0a
add edi, dword [ebp - 0x38]
mov edx, 0x4bbde1c
sub edx, 0xe5a63c53
sub dword [ebp - 0xc], 0x3f25d41a
mov esi, dword [edi]
xor dword [ebp - 0x30], 0x3c0ce8a4
add esi, edx
add dword [ebp - 0x20], 0x5fd81609
mov dword [ebx], esi
mov dword [ebp - 0x30], 0x1abf96df
add ebx, 0x7a627f89
add ebx, 0x859d807b
add edi, 4
loop 0x1002b37a
add eax, 0x9670353d
add eax, 0x6990dbaa
mov ebx, eax
add eax, 5
mov ecx, 0x9a129784
sub ecx, 0x8a129784
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x1003dfd1
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
mov eax, dword [esi + 0x50]
cmp eax, dword [esi + 0x54]
jae 0x1003dfe8
mov bl, byte [eax]
inc eax
mov dword [esi + 0x50], eax
jmp 0x1003e054
cmp dword [esi + 0x4c], 0
jl 0x1003e052
mov edi, dword [esi + 0x58]
push 0xfa0
push edi
push dword [esi + 0x4c]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
mov ebx, eax
add esp, 0xc
cmp ebx, 0xffffffff
jne 0x1003e020
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [eax], 4
je 0x1003dff1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [eax], 0xb
je 0x1003dff1
cmp ebx, 1
jge 0x1003e02d
or dword [esi + 0x4c], 0xffffffff
xor bl, bl
jmp 0x1003e072
lea eax, [edi + 1]
mov dword [esi + 0x50], eax
lea eax, [ebx + edi]
mov dword [esi + 0x54], eax
mov bl, byte [edi]
test bl, bl
jne 0x1003e054
push esi
call fcn.1003f085
mov eax, dword [esi + 0x50]
or dword [esi + 0x4c], 0xffffffff
pop ecx
mov dword [esi + 0x54], eax
jmp 0x1003e054
xor bl, bl
cmp bl, 0xa
jne 0x1003e068
mov eax, dword [esp + 0x18]
and dword [eax], 0
mov eax, dword [esp + 0x14]
inc dword [eax]
jmp 0x1003e072
test bl, bl
je 0x1003e072
mov ecx, dword [esp + 0x18]
inc dword [ecx]
pop edi
pop esi
mov al, bl
pop ebx
ret

Function at 0x1003ef85
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
mov eax, dword [esi + 0x50]
cmp eax, dword [esi + 0x54]
jae 0x1003ef98
mov al, byte [eax]
jmp 0x1003efdb
cmp dword [esi + 0x4c], 0
jl 0x1003efd9
mov edi, dword [esi + 0x58]
push 0xfa0
push edi
push dword [esi + 0x4c]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
mov ebx, eax
add esp, 0xc
cmp ebx, 0xffffffff
jne 0x1003efd0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [eax], 4
je 0x1003efa1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [eax], 0xb
je 0x1003efa1
cmp ebx, 1
jge 0x1003efdf
or dword [esi + 0x4c], 0xffffffff
xor al, al
pop edi
pop esi
pop ebx
ret
lea ecx, [ebx + edi]
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], ecx
mov al, byte [edi]
jmp 0x1003efdb

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx