joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100057b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10014cb8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x1001a2b8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x1c], 0
je 0x100057f0
mov ecx, dword [ebp - 0x1c]
call fcn.10005c70
lea ecx, [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x1c]
call fcn.10005cf0
mov dword [ebp - 0x14], 0
lea edx, [ebp - 0x14]
push edx
push 0
mov eax, dword [ebp - 0x1c]
push eax
push 0x10005680
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x58], eax
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 0x58], 0
jne 0x10005843
mov byte [ebp - 0x15], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10003000
mov al, byte [ebp - 0x15]
jmp 0x10005863
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x1c], 1
mov byte [ebp - 0x16], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10003000
mov al, byte [ebp - 0x16]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x10005900
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 8], 0
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp + 0x10]
jge 0x1000595d
push 0
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x10005940
xor al, al
jmp 0x1000596a
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp - 0x10]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 0x10]
mov dword [ebp + 0xc], edx
jmp 0x10005913
mov eax, dword [ebp - 8]
xor ecx, ecx
cmp eax, dword [ebp + 0x10]
sete cl
mov al, cl
mov esp, ebp
pop ebp
ret

Function at 0x10008dfd
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1001a2b8]
jne 0x10008e07
repz ret
jmp fcn.1000dd2c
Function at 0x1001353f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.1000c461
and dword [ebp - 4], 0
cmp dword [0x1001bd8c], 0
mov ebx, eax
jne 0x100135f0
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x100136a1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x100136a1
push eax
call fcn.1000c3ef
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1001bd8c], eax
call esi
push eax
call fcn.1000c3ef
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1001bd90], eax
call esi
push eax
call fcn.1000c3ef
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1001bd94], eax
call esi
push eax
call fcn.1000c3ef
pop ecx
mov dword [0x1001bd9c], eax
test eax, eax
je 0x100135f0
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1000c3ef
pop ecx
mov dword [0x1001bd98], eax
mov eax, dword [0x1001bd98]
cmp eax, ebx
je 0x10013648
cmp dword [0x1001bd9c], ebx
je 0x10013648
push eax
call fcn.1000c46a
push dword [0x1001bd9c]
mov esi, eax
call fcn.1000c46a
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10013648
test edi, edi
je 0x10013648
call esi
test eax, eax
je 0x1001363f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1001363f
test byte [ebp - 0xc], 1
jne 0x10013648
or dword [ebp + 0x10], 0x200000
jmp 0x10013681
mov eax, dword [0x1001bd90]
cmp eax, ebx
je 0x10013681
push eax
call fcn.1000c46a
pop ecx
test eax, eax
je 0x10013681
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10013681
mov eax, dword [0x1001bd94]
cmp eax, ebx
je 0x10013681
push eax
call fcn.1000c46a
pop ecx
test eax, eax
je 0x10013681
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1001bd8c]
call fcn.1000c46a
pop ecx
test eax, eax
je 0x100136a1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x100136a3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401c57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x401c66
pop dword [ebp - 0x28]
mov eax, 0x438e37dc
add eax, 0xbcb1e48a
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0xf98766df
sub dword [ebp - 0x38], 0xab352194
mov dword [ebp - 0x34], 0xbd24d78b
sub dword [ebp - 0x34], 0x8af18b46
mov dword [ebp - 0x30], 0x4bd5c7cd
add dword [ebp - 0x30], 0x767c61
mov dword [ebp - 0x2c], 0xe537df69
add dword [ebp - 0x2c], 0x1ac82097
lea eax, [ebp - 0x38]
push eax
mov eax, 0xbdc0f613
add eax, 0x427f3a41
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0xc68f9b64
sub dword [ebp - 0x38], 0x521d320e
mov dword [ebp - 0x34], 0xce3b493b
sub dword [ebp - 0x34], 0x8ccee7c6
mov dword [ebp - 0x30], 0xe54e0d7f
sub dword [ebp - 0x30], 0x81dea113
mov dword [ebp - 0x2c], 0x876c81a8
sub dword [ebp - 0x2c], 0x876c81a8
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, 0xf7b54a93
add eax, 0x88ae599
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x3c092
push 0
call eax
mov ecx, 0x5260638c
add ecx, 0xad9ffaac
xor esi, esi
add esi, eax
mov edi, 0x904d387d
add edi, 0x6ff33783
add edi, dword [ebp - 0x28]
mov ebx, 0x8c3e00a5
add ebx, 0xa0e5c34e
add dword [ebp - 8], edi
mov edx, dword [edi]
xor dword [ebp - 0x1c], 0xccaa295e
sub edx, ebx
mov dword [ebp - 0x1c], 0xda03e3fa
mov dword [esi], edx
xor dword [ebp - 8], 0x7dce93ca
add esi, 0x5c87fa85
add esi, 0xa378057f
add edi, 4
loop 0x401d8a
add eax, 0x16bb3
mov ebx, eax
add eax, 0xad810da1
add eax, 0x527ef264
mov ecx, 0xae472ee
add ecx, 0xf55b8d12
add ecx, dword [ebp - 0x28]
call ebx
leave
ret

Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret
Function at 0x40a5af
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x40a5be
pop dword [ebp - 0x10]
mov eax, 0x801f12af
add eax, 0x8021930f
sub dword [ebp - 0x10], eax
push 0x40
push 0x1000
push 0x3e7f3
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x10]
call dword [eax]
mov ecx, 0x6b5cd65d
sub ecx, 0x6b5c8252
mov edx, eax
mov edi, 0xe821f816
sub edi, 0xe7df8216
add edi, dword [ebp - 0x10]
mov esi, 0xcc5f0bec
mov ebx, dword [edi]
xor ebx, esi
xor dword [ebp - 4], edx
mov dword [edx], ebx
add dword [ebp - 8], eax
add edx, 4
add edi, 0xf83578d3
add edi, 0x7ca8731
loop 0x40a612
add eax, 0x142ff
mov ebx, eax
add eax, 0x85a57242
add eax, 0x7a5a8dc3
mov ecx, 0x1ea52082
add ecx, 0xe19adf7e
add ecx, dword [ebp - 0x10]
call ebx
leave
ret

Function at 0x410f5c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42104c]
jne 0x413fe3
repz ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x422720], eax
mov dword [0x42271c], ecx
mov dword [0x422718], edx
mov dword [0x422714], ebx
mov dword [0x422710], esi
mov dword [0x42270c], edi
mov word [0x422738], ss
mov word [0x42272c], cs
mov word [0x422708], ds
mov word [0x422704], es
mov word [0x422700], fs
mov word [0x4226fc], gs
pushfd
pop dword [0x422730]
mov eax, dword [ebp]
mov dword [0x422724], eax
mov eax, dword [ebp + 4]
mov dword [0x422728], eax
lea eax, [ebp + 8]
mov dword [0x422734], eax
mov eax, dword [ebp - 0x320]
mov dword [0x422670], 0x10001
mov eax, dword [0x422728]
mov dword [0x422624], eax
mov dword [0x422618], 0xc0000409
mov dword [0x42261c], 1
mov eax, dword [0x42104c]
mov dword [ebp - 0x328], eax
mov eax, dword [0x421050]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x422668], eax
push 1
call fcn.00415efd
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x402cf0
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x422668], 0
jne 0x4140cf
push 1
call fcn.00415efd
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret
Function at 0x1000dcc4
Capabilities:
Query environment variable

Disassembly:
push esi
push edi
mov edi, 0x100834d0
push edi
call sym.glib_lite.dll_Ordinal_240
xor esi, esi
inc esi
pop ecx
test eax, eax
je 0x1000dcff
push str.G_MAIN_POLL_DEBUG
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov ecx, dword [0x100834b0]
test eax, eax
push esi
cmovne ecx, esi
push edi
mov dword [0x100834b0], ecx
call sym.glib_lite.dll_Ordinal_241
add esp, 0xc
push ebx
push 0x70
push esi
call sym.glib_lite.dll_Ordinal_200
mov edi, eax
push edi
call sym.glib_lite.dll_Ordinal_211
lea ecx, [edi + 8]
push ecx
call sym.glib_lite.dll_Ordinal_52
xor ebx, ebx
push ebx
push ebx
call sym.glib_lite.dll_Ordinal_128
mov dword [edi + 0x24], eax
mov dword [edi + 0x14], ebx
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x20], esi
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], ebx
mov dword [edi + 0x5c], 0x1001baf7
mov dword [edi + 0x44], ebx
mov dword [edi + 0x48], ebx
call fcn.100016bb
mov dword [edi + 0x28], eax
mov dword [edi + 0x68], ebx
call fcn.1001c0f2
lea esi, [edi + 0x50]
mov dword [edi + 0x4c], eax
push esi
push eax
call fcn.1001c0de
push esi
push ebx
push edi
call fcn.1000d835
mov esi, 0x100834c4
push esi
call sym.glib_lite.dll_Ordinal_212
push edi
push dword [0x100834cc]
call sym.glib_lite.dll_Ordinal_328
add esp, 0x38
mov dword [0x100834cc], eax
cmp dword [0x100834b0], 0
pop ebx
je 0x1000dd9c
push edi
push str.created_context_p_n
call fcn.10032fc7
pop ecx
pop ecx
push esi
call sym.glib_lite.dll_Ordinal_213
pop ecx
mov eax, edi
pop edi
pop esi
ret

Function at 0x1000f4ca
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x10083304]
xor eax, ebp
mov dword [ebp + 0x190], eax
push esi
lea eax, [ebp - 0x80]
xor esi, esi
push eax
push dword [ebp + 0x19c]
mov dword [ebp - 0x80], esi
push esi
call sub.SHELL32.dll_SHGetSpecialFolderLocation
test eax, eax
jne 0x1000f52c
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 0x80]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x1000f523
push esi
push esi
push esi
lea eax, [ebp - 0x7c]
push 0xffffffffffffffff
push eax
call sym.glib_lite.dll_Ordinal_446
add esp, 0x14
mov esi, eax
push dword [ebp - 0x80]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, dword [ebp + 0x190]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.100319bd
add ebp, 0x194
leave
ret
Function at 0x10010d21
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x1040
call fcn.10031b90
mov eax, dword [0x10083304]
xor eax, esp
mov dword [esp + 0x103c], eax
and dword [esp], 0
lea eax, [esp + 4]
push esi
mov esi, dword [esp + 0x1048]
push edi
mov edi, dword [esp + 0x1058]
push eax
push dword [esp + 0x1054]
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__fstat64]
pop ecx
pop ecx
test eax, eax
jns 0x10010d93
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov esi, dword [eax]
push esi
call sym.glib_lite.dll_Ordinal_364
pop ecx
push eax
push esi
call fcn.100030dd
pop ecx
push eax
call fcn.100031d3
push eax
push edi
call fcn.10032fc7
add esp, 0x10
xor eax, eax
jmp 0x10010e72
test dword [esp + 0x12], 0x8000
jne 0x10010dab
push str.Not_a_regular_file
push 1
call fcn.10010763
jmp 0x10010d82
push ebx
mov bl, byte [esi + 0x14]
push esi
call fcn.100106e7
push esi
call fcn.10010bbf
mov eax, dword [esp + 0x1060]
pop ecx
pop ecx
mov byte [esi + 0x14], bl
mov dword [esi + 0x18], eax
push ebp
push 0x1000
lea eax, [esp + 0x50]
push eax
push dword [esp + 0x1060]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
add esp, 0xc
mov ebp, eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ebx, dword [eax]
test ebp, ebp
je 0x10010e3e
jns 0x10010e20
cmp ebx, 4
je 0x10010e34
cmp ebx, 0xb
je 0x10010e34
push ebx
call sym.glib_lite.dll_Ordinal_364
pop ecx
push eax
push ebx
call fcn.100030dd
pop ecx
push eax
call fcn.100031d3
push eax
push edi
call fcn.10032fc7
add esp, 0x10
jmp 0x10010e69
lea eax, [esp + 0x10]
push eax
push ebp
lea eax, [esp + 0x54]
push eax
push esi
call fcn.100110da
add esp, 0x10
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10010dcb
jmp 0x10010e46
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10010e49
push eax
jmp 0x10010e61
lea eax, [esp + 0x10]
push eax
push esi
call fcn.10032fc7
cmp dword [esp + 0x18], 0
pop ecx
pop ecx
je 0x10010e6d
push dword [esp + 0x10]
push edi
call fcn.10032fc7
pop ecx
pop ecx
xor eax, eax
jmp 0x10010e70
xor eax, eax
inc eax
pop ebp
pop ebx
mov ecx, dword [esp + 0x1044]
pop edi
pop esi
xor ecx, esp
call fcn.100319bd
add esp, 0x1040
ret
Function at 0x10014c64
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0xa0
mov eax, dword [0x10083304]
xor eax, esp
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xa8]
push ebx
mov ebx, dword [esp + 0xa8]
push ebp
push esi
mov esi, dword [esp + 0xb8]
push edi
xor edi, edi
mov dword [esp + 0x18], ebx
push ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x10014cc9
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
push esi
jmp 0x10014df3
mov edx, 0x80
test esi, esi
je 0x10014ce0
test ebp, 0x400
mov eax, 0x200080
cmovne edx, eax
mov ecx, edx
mov eax, ebp
push edi
or ecx, 0x2000000
and al, 0x10
cmove ecx, edx
push ecx
push 3
push edi
push 7
push 0x88
push ebx
call dword [sym.imp.kernel32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x10014cb5
lea eax, [esp + 0x78]
push eax
push ebx
call dword [sym.imp.kernel32.dll_GetFileInformationByHandle]
mov esi, eax
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [esp + 0x1c], eax
test esi, esi
je 0x10014de2
push 0x18
lea eax, [esp + 0x64]
push eax
push 1
push ebx
call dword [sym.imp.kernel32.dll_GetFileInformationByHandleEx]
mov esi, eax
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [esp + 0x1c], eax
test esi, esi
je 0x10014de2
mov esi, dword [esp + 0x18]
test ebp, 0x400
je 0x10014d9b
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x10]
xor edx, edx
test ecx, ecx
push 1
cmovne eax, edx
push eax
push edi
push edi
lea eax, [esp + 0x24]
push eax
xor eax, eax
test ecx, ecx
cmovne eax, ebx
test ecx, ecx
push eax
mov eax, esi
cmovne eax, edx
push eax
call fcn.10032fc7
add esp, 0x1c
test eax, eax
jns 0x10014d97
push ebx
call dword [sym.imp.kernel32.dll_CloseHandle]
jmp 0x10014dff
mov edi, dword [esp + 0x14]
push ebx
call dword [sym.imp.kernel32.dll_CloseHandle]
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x7c]
push eax
push dword [esp + 0x18]
push esi
call fcn.10032fc7
push dword [esp + 0x20]
call sym.glib_lite.dll_Ordinal_109
push dword [esp + 0x38]
lea eax, [esp + 0x78]
push edi
push eax
lea eax, [esp + 0x98]
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.10032fc7
add esp, 0x28
xor eax, eax
jmp 0x10014e02
push ebx
call dword [sym.imp.kernel32.dll_CloseHandle]
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
push dword [esp + 0x1c]
mov ecx, eax
call fcn.100152e4
add esp, 4
mov dword [ecx], eax
or eax, 0xffffffff
mov ecx, dword [esp + 0xac]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100319bd
add esp, 0xa0
ret
Function at 0x100199e1
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push ecx
push esi
lea eax, [esp + 8]
xor esi, esi
push eax
push 1
push esi
push 0x10038770
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10019a70
push ebp
lea eax, [esp + 8]
mov dword [esp + 8], esi
push eax
push esi
push esi
push esi
mov ebp, str.TimeZoneKeyName
push ebp
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10019a65
push edi
push dword [esp + 0xc]
call sym.glib_lite.dll_Ordinal_198
mov edi, eax
pop ecx
test edi, edi
je 0x10019a5d
lea eax, [esp + 0xc]
push eax
push edi
push esi
push esi
push ebp
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10019a5d
push esi
push esi
push esi
push 0xffffffffffffffff
push edi
call sym.glib_lite.dll_Ordinal_446
add esp, 0x14
mov esi, eax
jmp 0x10019a64
push edi
call sym.glib_lite.dll_Ordinal_109
pop ecx
pop edi
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebp
mov eax, esi
pop esi
pop ecx
pop ecx
ret

Function at 0x1001b19d
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x10083304]
xor eax, ebp
mov dword [ebp - 4], eax
push str.G_DEBUG
mov dword [ebp - 0x1c], str.gc_friendly
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], str.fatal_warnings
mov dword [ebp - 0x10], 0x18
mov dword [ebp - 0xc], str.fatal_criticals
mov dword [ebp - 8], 8
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
pop ecx
test eax, eax
je 0x1001b1f6
push 3
lea ecx, [ebp - 0x1c]
push ecx
push eax
call fcn.1001b2b4
add esp, 0xc
mov ecx, eax
and eax, 1
and ecx, 0xfffffffc
mov dword [0x10083768], eax
or dword [0x10083210], ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100319bd
leave
ret

Function at 0x1001f1fc
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 0x1001f243
push dword [eax]
call sym.glib_lite.dll_Ordinal_364
push eax
push str.Error_creating_thread:__s.
push 0x10
push str.Glib
call sym.glib_lite.dll_Ordinal_186
add esp, 0x14
jmp 0x1001f277
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
test eax, eax
jne 0x1001f277
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
call fcn.10032fc7
mov esi, eax
push esi
push str.Error_closing_thread_handle:__s.
push 0x10
push str.Glib
call sym.glib_lite.dll_Ordinal_186
push esi
call sym.glib_lite.dll_Ordinal_109
add esp, 0x18
push 0xffffffffffffffff
push dword [edi + 0x8c]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
pop edi
pop esi
ret
Function at 0x10032fc7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x10032fd6
pop dword [ebp - 0x40]
mov eax, 0x31d28011
add eax, 0xde30afc5
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0x38e84d8a
add dword [ebp - 0x50], 0x1569f7c1
mov dword [ebp - 0x4c], 0x76663848
add dword [ebp - 0x4c], 0xbbcd13fd
mov dword [ebp - 0x48], 0x6623130d
sub dword [ebp - 0x48], 0x19d6cedf
mov dword [ebp - 0x44], 0xf1344faa
add dword [ebp - 0x44], 0xecbb056
lea eax, [ebp - 0x50]
push eax
mov eax, 0x9985c20a
sub eax, 0x898270f2
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0x657cd08f
add dword [ebp - 0x50], 0xef598c7
mov dword [ebp - 0x4c], 0x5c8d0d60
add dword [ebp - 0x4c], 0xe4df5415
mov dword [ebp - 0x48], 0x7ac4807b
add dword [ebp - 0x48], 0xe8aaebf1
mov dword [ebp - 0x44], 0xc5ef50ac
sub dword [ebp - 0x44], 0xc5ef50ac
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x3f426
push 0
call eax
mov ecx, 0x58b4
mov ebx, eax
mov esi, 0x10088400
add esi, dword [ebp - 0x40]
mov edi, 0xfb293cf5
sub edi, 0x787a4567
mov dword [ebp - 0x30], 0xaf59bf34
mov edx, dword [esi]
xor dword [ebp - 0x10], eax
add edx, edi
add dword [ebp - 0x24], 0x84d275f0
mov dword [ebx], edx
sub dword [ebp - 0x30], edx
add ebx, 0x99c9b987
sub ebx, 0x99c9b983
add esi, 0x11e70b7
add esi, 0xfee18f4d
loop 0x100330e7
add eax, 0x898fa85e
sub eax, 0x898e52bb
xor ebx, ebx
add ebx, eax
add eax, 0xc147e114
sub eax, 0xc147e10f
mov ecx, 0x10000000
add ecx, dword [ebp - 0x40]
call ebx
leave
ret

Function at 0x1003384b
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 0x10033862
mov bl, byte [eax]
inc eax
mov dword [esi + 0x50], eax
jmp 0x100338ce
cmp dword [esi + 0x4c], 0
jl 0x100338cc
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 0x1003389a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [eax], 4
je 0x1003386b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [eax], 0xb
je 0x1003386b
cmp ebx, 1
jge 0x100338a7
or dword [esi + 0x4c], 0xffffffff
xor bl, bl
jmp 0x100338ec
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 0x100338ce
push esi
call fcn.100348ff
mov eax, dword [esi + 0x50]
or dword [esi + 0x4c], 0xffffffff
pop ecx
mov dword [esi + 0x54], eax
jmp 0x100338ce
xor bl, bl
cmp bl, 0xa
jne 0x100338e2
mov eax, dword [esp + 0x18]
and dword [eax], 0
mov eax, dword [esp + 0x14]
inc dword [eax]
jmp 0x100338ec
test bl, bl
je 0x100338ec
mov ecx, dword [esp + 0x18]
inc dword [ecx]
pop edi
pop esi
mov al, bl
pop ebx
ret
Function at 0x7612f1
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x759410]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
xor ebx, ebx
push edi
test eax, eax
jne 0x761314
push ebx
call dword [0x77201c]
mov esi, dword [eax + 0x3c]
add esi, eax
mov dword [ebp - 0xc], 0x646f632e
mov dword [ebp - 8], 0x65
movzx edi, word [esi + 0x14]
push dword [esi + 0x88]
add edi, 0x18
push esi
add edi, esi
call fcn.0075a824
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x7613bd
movzx edx, word [esi + 6]
xor ecx, ecx
test edx, edx
jle 0x76136a
lea eax, [ebp - 0xc]
mov eax, dword [eax]
cmp eax, dword [edi]
jne 0x761362
lea eax, [ebp - 0xc]
mov eax, dword [eax + 4]
cmp eax, dword [edi + 4]
je 0x76136a
add edi, 0x28
inc ecx
cmp ecx, edx
jl 0x76134e
cmp ecx, edx
je 0x7613bd
mov ecx, dword [esi + 0x34]
add ecx, dword [edi + 0xc]
mov edi, 0x75ae30
xor edx, edx
mov eax, dword [ecx + edx*4]
cmp eax, dword [edi + edx*4]
jne 0x7613bd
inc edx
cmp edx, 4
jne 0x76137b
xor edx, edx
mov eax, dword [ecx + edx*4 + 0x140]
cmp eax, dword [edi + edx*4]
jne 0x7613bd
inc edx
cmp edx, 4
jne 0x76138b
cmp dword [ecx + 0x124], 0
je 0x7613ad
push 0x76167c
jmp 0x7613b2
push 0x761661
push esi
push ebx
push ecx
call fcn.007613ce
add esp, 0x10
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00762d46
mov esp, ebp
pop ebp
ret