joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410d20
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x410d3f
mov ecx, dword [ebp - 4]
and ecx, 0x10
jne 0x410d43
xor al, al
jmp 0x410d45
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x411130
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x425850
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x43000c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x7c], ecx
mov eax, dword [ebp - 0x7c]
add eax, 0x20
push eax
lea ecx, [ebp - 0x14]
call fcn.004105a0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x7c]
sub eax, dword [ecx]
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0x4e20
jb 0x411199
mov ecx, dword [ebp - 0x7c]
call fcn.00411560
mov edx, dword [ebp - 0x7c]
cmp dword [edx + 4], 0
je 0x4112d4
lea eax, [ebp - 0x78]
push eax
call fcn.00410b80
add esp, 4
lea ecx, [ebp - 0x78]
push ecx
lea edx, [ebp - 0x68]
push edx
call fcn.00410b60
add esp, 8
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], 0
cmp dword [ebp - 0x84], 0
jne 0x411292
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
movzx ecx, word [ebp - 0x70]
push ecx
mov edx, dword [ebp - 0x68]
push edx
mov eax, dword [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x60]
push ecx
mov edx, dword [ebp - 0x5c]
push edx
mov eax, dword [ebp - 0x58]
add eax, 1
push eax
mov ecx, dword [ebp - 0x54]
add ecx, 0x76c
push ecx
push str.__04d__02d__02d__02d:_02d:_02d:_03d__PID__d__TID__d___s_r_n
lea edx, [ebp - 0x44]
push edx
call fcn.00410f70
add esp, 0x30
mov byte [ebp - 4], 1
push 0
push 0xfde9
lea ecx, [ebp - 0x44]
call fcn.00404280
push eax
lea ecx, [ebp - 0x44]
call fcn.00411fd0
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00410d50
add esp, 0x14
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ecx + 4]
push edx
lea ecx, [ebp - 0x2c]
call fcn.00404280
push eax
push 1
lea ecx, [ebp - 0x2c]
call fcn.00404500
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x7c]
mov byte [eax + 0x38], 1
lea ecx, [ebp - 0x2c]
call fcn.00404690
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.004121e0
jmp 0x4112b4
mov ecx, dword [ebp - 0x84]
push ecx
push str.log_failed_for_get_loacl_time_error_:_d
mov edx, dword [ebp - 0x7c]
mov eax, dword [edx + 4]
push eax
call fcn.00410640
add esp, 0xc
mov dword [ebp - 0x80], 0xffffffff
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004105d0
mov eax, dword [ebp - 0x8c]
jmp 0x4112f3
mov dword [ebp - 0x90], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004105d0
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00423430
mov esp, ebp
pop ebp
ret 4
Function at 0x411310
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x425890
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x43000c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x30]
add eax, 0x20
push eax
lea ecx, [ebp - 0x14]
call fcn.004105a0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x30]
cmp dword [ecx + 4], 0
je 0x411375
mov byte [ebp - 0x31], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004105d0
mov al, byte [ebp - 0x31]
jmp 0x41149b
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x2c]
push eax
call fcn.00410ba0
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00411fd0
push eax
call fcn.00410d20
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x4113dd
lea ecx, [ebp - 0x2c]
call fcn.00411fd0
push eax
call fcn.00410d00
add esp, 4
test eax, eax
je 0x4113dd
mov byte [ebp - 0x32], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004121e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004105d0
mov al, byte [ebp - 0x32]
jmp 0x41149b
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x30]
add ecx, 8
call fcn.004121c0
push 0x428948
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen]
add esp, 8
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x30]
cmp dword [edx + 4], 0
jne 0x411431
mov byte [ebp - 0x33], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004121e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004105d0
mov al, byte [ebp - 0x33]
jmp 0x41149b
push 2
push 0
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
mov ecx, dword [ebp - 0x30]
call fcn.00411560
mov byte [ebp - 0x34], al
push 0
push 0
mov edx, dword [ebp - 0x30]
push edx
push 0x411600
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov cl, byte [ebp - 0x34]
mov byte [ebp - 0x35], cl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004121e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004105d0
mov al, byte [ebp - 0x35]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00423430
mov esp, ebp
pop ebp
ret 4
Function at 0x4163f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x43000c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x430994
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x430930], 0
je 0x416423
push 0x430994
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x41649d
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x430928], eax
mov eax, dword [ebp + 8]
mov dword [0x43092c], eax
mov dword [0x430930], 1
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
cmp dword [edx], 0xc00000fd
jne 0x41647f
lea eax, [ebp - 8]
push eax
push 0
push 0
push fcn.004163d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0xc], eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x416486
push 0
call fcn.004163d0
mov dword [0x430930], 0
push 0x430994
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00423430
mov esp, ebp
pop ebp
ret 4
Function at 0x41a3d0
Capabilities:
Print debug messages
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x425de6
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x43000c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x104
lea edx, [ebp - 0x218]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x41a439
xor al, al
jmp 0x41a590
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x230]
call fcn.004123a0
mov dword [ebp - 4], 0
mov edx, dword [0x429e88]
push edx
push 0x428c34
lea ecx, [ebp - 0x230]
call fcn.00411f80
mov dword [ebp - 0x250], eax
mov eax, dword [ebp - 0x250]
cmp eax, dword [0x429e88]
jne 0x41a4ae
mov byte [ebp - 0x249], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.004121e0
mov al, byte [ebp - 0x249]
jmp 0x41a590
mov ecx, dword [ebp - 0x250]
push ecx
push 0
lea edx, [ebp - 0x270]
push edx
lea ecx, [ebp - 0x230]
call fcn.0041bd10
mov dword [ebp - 0x258], eax
mov eax, dword [ebp - 0x258]
push eax
lea ecx, [ebp - 0x230]
call fcn.00412230
lea ecx, [ebp - 0x270]
call fcn.004121e0
lea ecx, [ebp - 0x230]
call fcn.00411fd0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x230]
push ecx
lea ecx, [ebp - 0x248]
call fcn.0041bd60
mov byte [ebp - 4], 1
push 0x428c38
lea ecx, [ebp - 0x248]
call fcn.00412190
lea ecx, [ebp - 0x248]
call fcn.00411fd0
push eax
push 0
push 0x428c54
push 0x428c5c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, 1
jne 0x41a553
mov dword [ebp - 0x254], 1
jmp 0x41a55d
mov dword [ebp - 0x254], 0
mov dl, byte [ebp - 0x254]
mov byte [ebp - 0x24a], dl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.004121e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.004121e0
mov al, byte [ebp - 0x24a]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00423430
mov esp, ebp
pop ebp
ret

Function at 0x41a5f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x41a601
jmp 0x41a61b
mov ecx, dword [ebp - 4]
push ecx
push 0
push 0x41a8e0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthread]
add esp, 0xc
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
mov esp, ebp
pop ebp
ret
Function at 0x41a620
Capabilities:
Connect pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x425e31
mov eax, dword fs:[0]
push eax
sub esp, 0x2dc
mov eax, dword [0x43000c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
jne 0x41a65a
xor al, al
jmp 0x41a7ea
mov byte [ebp - 0xe], 0
mov ecx, 1
test ecx, ecx
je 0x41a7e7
push 0
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
je 0x41a683
mov byte [ebp - 0xd], 1
jmp 0x41a687
mov byte [ebp - 0xd], 0
mov cl, byte [ebp - 0xd]
mov byte [ebp - 0xf], cl
movzx edx, byte [ebp - 0xf]
test edx, edx
je 0x41a6ef
push 0x3e
push 0x428c64
push 0x428c80
push 0
lea ecx, [ebp - 0x118]
call fcn.00411ad0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
push edx
push str.ConnectNamedPipe_pipe_connected__handle:
mov ecx, dword [ebp - 0x20]
call fcn.00411f30
mov ecx, eax
call fcn.0041bef0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x118]
call fcn.00411bc0
jmp 0x41a7e7
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0xd]
test ecx, ecx
je 0x41a754
push 0x43
push 0x428ce4
push 0x428d00
push 0
lea ecx, [ebp - 0x200]
call fcn.00411ad0
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x28], edx
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ecx
push str.stopConnecting__handle:
mov ecx, dword [ebp - 0x28]
call fcn.00411f30
mov ecx, eax
call fcn.0041bef0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x200]
call fcn.00411bc0
jmp 0x41a7e7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x217
je 0x41a76f
cmp dword [ebp - 0x18], 0xe8
jne 0x41a7ca
push 0x4a
push str.PipeConnect::waitConnecting
push 0x428d5c
push 0
lea ecx, [ebp - 0x2e8]
call fcn.00411ad0
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], edx
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ecx
push str.pipe_connect_suc_or_closing__will_go_to_read_pipe_data__handle:
mov ecx, dword [ebp - 0x30]
call fcn.00411f30
mov ecx, eax
call fcn.0041bef0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2e8]
call fcn.00411bc0
mov byte [ebp - 0xe], 1
jmp 0x41a7e7
cmp dword [ebp - 0x18], 0x218
jne 0x41a7e0
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x41a65e
jmp 0x41a7e7
mov al, byte [ebp - 0xe]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x41c7d0
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42615b
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x43000c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x40], 0
push 1
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
lea ecx, [ebp - 0x2c]
push ecx
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
push 0x1000
push 0x1000
lea edx, [ebp - 0x2c]
push edx
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorControl]
mov dword [ebp - 0x3c], 0xc
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x3c]
push ecx
push 0
push 0x19000
push 0
push 0xff
push 1
push 1
mov edx, dword [str..pipeyyldrsvr_4dba87eeac28]
push edx
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffff
jne 0x41c8e9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x48], eax
push 0x69
push str.PipeSvr::createNewConnect
push str.pipesvr.cpp
push 0
lea ecx, [ebp - 0x13c]
call fcn.00411ad0
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x48]
push ecx
push str.CreateNamedPipe_failed__errorCode:
mov ecx, dword [ebp - 0x4c]
call fcn.00411f30
mov ecx, eax
call fcn.0041bf10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x13c]
call fcn.00411bc0
push 0
mov ecx, dword [ebp + 8]
call fcn.0041d3a0
mov edx, dword [ebp - 0x40]
or edx, 1
mov dword [ebp - 0x40], edx
mov eax, dword [ebp + 8]
jmp 0x41c92d
push 8
lea ecx, [ebp - 0x18]
call fcn.004020d0
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x18]
push eax
call fcn.0041d850
add esp, 0xc
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0041d300
mov edx, dword [ebp - 0x40]
or edx, 1
mov dword [ebp - 0x40], edx
lea ecx, [ebp - 0x18]
call fcn.0041d280
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00423430
mov esp, ebp
pop ebp
ret 4
Function at 0x41f270
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push str.dbghelp.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
mov ecx, dword [ebp - 4]
add ecx, 8
call fcn.0041fd70
mov ecx, dword [ebp - 4]
add ecx, 8
call fcn.0041fde0
movzx eax, al
test eax, eax
jne 0x41f2a7
xor al, al
jmp 0x41f3df
push str.SymInitialize
mov ecx, dword [ebp - 4]
add ecx, 8
call fcn.0041fe10
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], eax
push str.SymCleanup
mov ecx, dword [ebp - 4]
add ecx, 8
call fcn.0041fe10
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], eax
push str.SymSetOptions
mov ecx, dword [ebp - 4]
add ecx, 8
call fcn.0041fe10
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x18], eax
push str.StackWalk64
mov ecx, dword [ebp - 4]
add ecx, 8
call fcn.0041fe10
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x1c], eax
push str.SymGetModuleBase64
mov ecx, dword [ebp - 4]
add ecx, 8
call fcn.0041fe10
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x20], eax
push str.SymGetModuleInfo64
mov ecx, dword [ebp - 4]
add ecx, 8
call fcn.0041fe10
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x24], eax
push str.SymFunctionTableAccess64
mov ecx, dword [ebp - 4]
add ecx, 8
call fcn.0041fe10
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x28], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0x10], 0
je 0x41f3b1
mov eax, dword [ebp - 4]
cmp dword [eax + 0x14], 0
je 0x41f3b1
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x18], 0
je 0x41f3b1
mov edx, dword [ebp - 4]
cmp dword [edx + 0x1c], 0
je 0x41f3b1
mov eax, dword [ebp - 4]
cmp dword [eax + 0x20], 0
je 0x41f3b1
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x24], 0
je 0x41f3b1
mov edx, dword [ebp - 4]
cmp dword [edx + 0x28], 0
jne 0x41f3b5
xor al, al
jmp 0x41f3df
push 1
push 0x429b14
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
call ecx
test eax, eax
jne 0x41f3d3
xor al, al
jmp 0x41f3df
push 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x18]
call eax
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x422900
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x426586
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x43000c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x238], 0
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x234], 0
push 0x429b68
lea ecx, [ebp - 0x230]
call fcn.004123a0
mov dword [ebp - 4], 0
call fcn.004227f0
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x234], 0
je 0x422a1c
lea edx, [ebp - 0x218]
push edx
push 0
mov eax, dword [ebp - 0x234]
push eax
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x274]
call fcn.004123a0
mov dword [ebp - 0x23c], eax
mov edx, dword [ebp - 0x23c]
mov dword [ebp - 0x240], edx
mov byte [ebp - 4], 1
push str.duowanyylogyy_load_svr_
mov eax, dword [ebp - 0x240]
push eax
lea ecx, [ebp - 0x25c]
push ecx
call fcn.00414220
add esp, 0xc
mov dword [ebp - 0x244], eax
mov edx, dword [ebp - 0x244]
push edx
lea ecx, [ebp - 0x230]
call fcn.00412230
lea ecx, [ebp - 0x25c]
call fcn.004121e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x274]
call fcn.004121e0
push 0
lea ecx, [ebp - 0x230]
call fcn.00411fd0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea eax, [ebp - 0x230]
push eax
mov ecx, dword [ebp + 8]
call fcn.00412320
mov ecx, dword [ebp - 0x238]
or ecx, 1
mov dword [ebp - 0x238], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.004121e0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00423430
mov esp, ebp
pop ebp
ret

Function at 0x423180
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb0
mov eax, dword [0x43000c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0
xor eax, eax
mov dword [ebp - 0xa8], eax
xor ecx, ecx
mov word [ebp - 0xa4], cx
push 0x9e
push 0
lea edx, [ebp - 0xa2]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [0x430028]
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0
je 0x423268
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str._s_failed_with__d
push 0x50
lea edx, [ebp - 0xa4]
push edx
call fcn.00422620
add esp, 0x14
mov eax, 4
imul ecx, eax, 0
mov edx, dword [0x430028]
mov dword [ebp + ecx - 0xac], edx
mov eax, 4
shl eax, 0
lea ecx, [ebp - 0xa4]
mov dword [ebp + eax - 0xac], ecx
push 0
lea edx, [ebp - 0xac]
push edx
push 0
push 2
push 0
push 0xc0020001
push 0
push 1
mov eax, dword [ebp - 0xb0]
push eax
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
mov ecx, dword [ebp - 0xb0]
push ecx
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00423430
mov esp, ebp
pop ebp
ret
Function at 0x977370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x97738e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0x9a0074
push ecx
mov edi, eax
call fcn.0098b198
mov esi, eax
add esp, 8
test esi, esi
jne 0x9773cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.0098b02e
push esi
call fcn.0098afb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x97a850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0x97a8ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0x9a5720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x97a8ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.0098b1e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0x97a8ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x9a5720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x97a92a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.0098c082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x97a957
mov word [eax], si
add eax, 2
push eax
call fcn.0098c030
add esp, 4
jmp 0x97a959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0x97a8ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x97a8b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0x97aff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret