joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5ce008
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
cmp dword [ebx + 0x8c], 0
jne 0x5ce082
mov eax, dword [ebx + 8]
call fcn.005292ac
mov ecx, eax
mov dl, 1
mov eax, dword [0x535828]
call fcn.0052359c
mov esi, eax
mov dword [ebx + 0x8c], esi
xor edx, edx
mov eax, esi
call fcn.00539fd8
mov dword [esi + 0x2bc], ebx
mov dword [esi + 0x2b8], 0x5cd900
push 8
push 3
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x8c]
call fcn.005292ac
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x8c]
call fcn.005292ac
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x9c], 0
jne 0x5ce0f8
mov eax, dword [ebx + 8]
call fcn.005292ac
mov ecx, eax
mov dl, 1
mov eax, dword [0x535828]
call fcn.0052359c
mov esi, eax
mov dword [ebx + 0x9c], esi
mov dl, 1
mov eax, esi
call fcn.00539fd8
mov dword [esi + 0x2bc], ebx
mov dword [esi + 0x2b8], 0x5cd94c
push 8
push 0
push 2
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x9c]
call fcn.005292ac
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x9c]
call fcn.005292ac
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x94], 0
jne 0x5ce164
mov eax, dword [ebx + 8]
call fcn.005292ac
mov ecx, eax
mov dl, 1
mov eax, dword [0x5362a8]
call fcn.0052359c
mov esi, eax
mov dword [ebx + 0x94], esi
mov eax, esi
mov byte [eax + 0x290], 1
push 8
push 3
call sub.user32.dll_GetSystemMetrics
push eax
push 2
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x94]
call fcn.005292ac
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x94]
call fcn.005292ac
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x5d32c8
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5d3522
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
mov edx, 0x24
call fcn.005d7140
lea eax, [ebp - 0x28]
push eax
call sub.kernel32.dll_GetSystemInfo_1
mov eax, dword [ebp - 0x14]
mov dword [0x690f20], eax
mov eax, dword [ebp - 0xc]
mov dword [0x690f24], eax
mov eax, dword [ebp - 0x24]
mov dword [0x690f28], eax
mov eax, dword [0x6950d8]
cmp dword [eax], 2
sete byte [0x6906fd]
push 0x5d3530
call sub.kernel32.dll_GetModuleHandleW_2
lea edx, [ebp - 4]
call fcn.005d8814
xor eax, eax
mov dword [ebp - 0x2c], eax
cmp byte [0x6906fd], 0
jne 0x5d3357
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.005d8844
test al, al
je 0x5d3357
mov eax, dword [ebp - 0x4c]
mov dword [0x69bd54], eax
jmp 0x5d335e
xor eax, eax
mov dword [0x69bd54], eax
call fcn.005d2888
and eax, 0x7f
cmp eax, 0x1a
ja case.0x5d336f.0
jmp dword [eax*4 + 0x5d3376]
mov byte [0x6906f8], 1
jmp case.0x5d336f.0
mov byte [0x6906f9], 1
jmp case.0x5d336f.0
mov byte [0x6906fa], 1
jmp case.0x5d336f.0
mov byte [0x6906fb], 1
jmp case.0x5d336f.0
mov byte [0x6906fc], 1
jmp case.0x5d336f.0
mov byte [0x6906fe], 1
mov byte [0x6906ff], 1
jmp case.0x5d336f.0
mov byte [0x6906fe], 1
mov byte [0x690700], 1
jmp case.0x5d336f.0
mov byte [0x6906fe], 1
mov byte [0x690700], 1
mov byte [0x690701], 1
jmp case.0x5d336f.0
mov byte [0x690702], 1
jmp case.0x5d336f.0
mov byte [0x690703], 1
jmp case.0x5d336f.0
mov byte [0x690704], 1
jmp case.0x5d336f.0
mov byte [0x690705], 1
jmp case.0x5d336f.0
mov byte [0x690706], 1
jmp case.0x5d336f.0
mov byte [0x690707], 1
jmp case.0x5d336f.0
mov byte [0x690708], 1
jmp case.0x5d336f.0
mov byte [0x690709], 1
jmp case.0x5d336f.0
mov byte [0x69070a], 1
jmp case.0x5d336f.0
mov byte [0x69070b], 1
jmp case.0x5d336f.0
mov byte [0x69070c], 1
jmp case.0x5d336f.0
mov byte [0x69070d], 1
jmp case.0x5d336f.0
mov byte [0x69070e], 1
jmp case.0x5d336f.0
mov byte [0x69070f], 1
jmp case.0x5d336f.0
mov byte [0x690710], 1
jmp case.0x5d336f.0
mov byte [0x690711], 1
jmp case.0x5d336f.0
mov byte [0x690712], 1
jmp case.0x5d336f.0
mov byte [0x690713], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d3529
lea eax, [ebp - 4]
call fcn.00409878
ret

Function at 0x5d450c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor edx, edx
mov dword [ebp - 0x14], edx
xor edx, edx
push ebp
push 0x5d4570
push dword fs:[edx]
mov dword fs:[edx], esp
push 6
lea edx, [ebp - 0xe]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xe]
mov ecx, 7
call fcn.0040a744
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_GetACP_1
mov edx, eax
pop eax
call fcn.00424784
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d4577
lea eax, [ebp - 0x14]
call fcn.00409878
ret
Function at 0x5d56f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5d5786
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x6950d8]
cmp dword [eax], 2
jne 0x5d5730
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x10]
push eax
push edi
push esi
push ebx
call sub.advapi32.dll_RegQueryValueExW_1
mov ebx, eax
jmp 0x5d5768
lea eax, [ebp - 8]
mov edx, esi
call fcn.0040a420
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
mov ecx, 0
call fcn.0040a050
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x10]
push eax
push edi
mov eax, dword [ebp - 4]
call fcn.0040a2b0
push eax
push ebx
call sub.advapi32.dll_RegQueryValueExA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d578d
lea eax, [ebp - 8]
call fcn.004098c0
lea eax, [ebp - 4]
call fcn.0040989c
ret

Function at 0x5d5bb8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [esi], eax
xor eax, eax
mov dword [ebp - 8], eax
push 0x20019
lea eax, [ebp - 8]
push eax
mov eax, edi
call fcn.0040a688
mov edx, eax
mov eax, ebx
call fcn.005d5560
mov edx, eax
xor ecx, ecx
mov eax, ebx
call fcn.005d5638
test eax, eax
sete al
mov ebx, eax
test bl, bl
je 0x5d5c2a
push 0
push 0
push esi
push 0
mov eax, dword [ebp - 4]
call fcn.0040a688
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
sete bl
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4
Function at 0x5d6e3c
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
test dl, dl
je 0x5d6e54
add esp, 0xfffffff0
call fcn.00408024
mov esi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
xor eax, eax
push ebp
push 0x5d6f39
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebx + 8], 0
lea eax, [ebx + 0x10]
mov edx, esi
call fcn.00409c58
test esi, esi
jne 0x5d6ea6
xor eax, eax
mov dword [ebx + 0xc], eax
push 0
push 0
push 0
xor ecx, ecx
mov dl, 1
mov eax, dword [0x5d64f0]
call fcn.005d6cd4
mov dword [ebx + 4], eax
mov eax, 0x10
call fcn.00406a34
mov dword [ebx + 0x14], eax
jmp 0x5d6f14
push 0
push 0
lea eax, [ebp - 8]
mov ecx, esi
mov edx, 0x5d6f70
call fcn.0040a8f4
mov eax, dword [ebp - 8]
push eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x5d64f0]
call fcn.005d6cd4
mov edi, eax
mov dword [ebx + 4], edi
movzx eax, byte [edi + 4]
mov byte [ebx + 8], al
lea eax, [ebp - 0xc]
mov ecx, esi
mov edx, 0x5d6f98
call fcn.0040a8f4
mov eax, dword [ebp - 0xc]
call fcn.0040a688
push eax
push 0x10
push 0
push 4
push 0
push 0xffffffffffffffff
call sub.kernel32.dll_CreateFileMappingW
mov edi, eax
mov dword [ebx + 0xc], edi
push 0
push 0
push 0
push 2
push edi
call sub.kernel32.dll_MapViewOfFile
mov dword [ebx + 0x14], eax
mov edx, dword [ebp + 8]
mov eax, ebx
call fcn.005d70bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d6f40
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004098d8
ret
Function at 0x5d80e8
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
test dl, dl
je 0x5d80fd
add esp, 0xfffffff0
call fcn.00408024
mov edi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov esi, dword [ebp + 0x10]
xor edx, edx
mov eax, ebx
call fcn.00407988
test edi, edi
jne 0x5d812b
mov ecx, dword [0x69475c]
mov dl, 1
mov eax, dword [0x5d8028]
call fcn.005d1f2c
call fcn.00408ef8
mov eax, edi
mov dword [ebx + 0x10], eax
cmp byte [eax + 0x10], 1
sete dl
lea eax, [ebp + 8]
call fcn.005d31dc
push dword [ebp + 0xc]
push dword [ebp + 8]
lea edx, [ebp - 0x10]
lea eax, [ebp - 0xc]
call fcn.005d18b0
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x14], eax
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x18], eax
push esi
push eax
mov eax, dword [ebx + 0x14]
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 8]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x5d8192
mov ecx, dword [0x694f0c]
mov dl, 1
mov eax, dword [0x5d8028]
call fcn.005d1f2c
call fcn.00408ef8
test esi, esi
jne 0x5d81d9
mov eax, edi
mov edx, dword [0x689c14]
call fcn.00407c88
test al, al
je 0x5d81d9
push 0
mov eax, dword [edi + 0x18]
push eax
call sub.kernel32.dll_GetFileSize
mov esi, eax
cmp esi, 0xffffffff
jne 0x5d81d9
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_UnmapViewOfFile
mov ecx, dword [0x694d64]
mov dl, 1
mov eax, dword [0x5d8028]
call fcn.005d1f2c
call fcn.00408ef8
mov ecx, esi
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.004b2b2c
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 0x14]
mov edx, ebx
call fcn.004ab760
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5d8209
call fcn.0040807c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x5d8214
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
test dl, dl
je 0x5d8229
add esp, 0xfffffff0
call fcn.00408024
mov edi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov esi, dword [ebp + 0x14]
xor edx, edx
mov eax, ebx
call fcn.00407988
test edi, edi
jne 0x5d8257
mov ecx, dword [0x69475c]
mov dl, 1
mov eax, dword [0x5d8028]
call fcn.005d1f2c
call fcn.00408ef8
mov eax, edi
mov dword [ebx + 0x10], eax
cmp byte [eax + 0x10], 1
sete dl
lea eax, [ebp + 0xc]
call fcn.005d31dc
mov eax, dword [ebx + 0x10]
cmp byte [eax + 0x10], 1
sete dl
lea eax, [ebp + 8]
call fcn.005d325c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
lea edx, [ebp - 0x10]
lea eax, [ebp - 0xc]
call fcn.005d18b0
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x14], eax
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x18], eax
mov edx, dword [ebp + 8]
push edx
push esi
push eax
mov eax, dword [ebx + 0x14]
push eax
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 8]
push eax
call sub.kernel32.dll_MapViewOfFileEx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x5d82d4
mov ecx, dword [0x694f0c]
mov dl, 1
mov eax, dword [0x5d8028]
call fcn.005d1f2c
call fcn.00408ef8
test esi, esi
jne 0x5d831b
mov eax, edi
mov edx, dword [0x689c14]
call fcn.00407c88
test al, al
je 0x5d831b
push 0
mov eax, dword [edi + 0x18]
push eax
call sub.kernel32.dll_GetFileSize
mov esi, eax
cmp esi, 0xffffffff
jne 0x5d831b
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_UnmapViewOfFile
mov ecx, dword [0x694d64]
mov dl, 1
mov eax, dword [0x5d8028]
call fcn.005d1f2c
call fcn.00408ef8
mov ecx, esi
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.004b2b2c
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 0x14]
mov edx, ebx
call fcn.004ab760
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5d834b
call fcn.0040807c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x5d8844
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x5d88fa
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
mov eax, esi
call fcn.0040a688
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
jbe 0x5d88e4
lea eax, [ebp - 4]
mov edx, edi
call fcn.0040a81c
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
push eax
push edi
mov eax, dword [ebp - 0x10]
push eax
mov eax, esi
call fcn.0040a688
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x5d88e4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x5d890c
mov eax, dword [ebp - 4]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x5d88e4
cmp dword [ebp - 0xc], 0x34
jne 0x5d88e4
mov bl, 1
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
mov esi, eax
mov edi, edx
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d8901
lea eax, [ebp - 4]
call fcn.00409878
ret

Function at 0x5d9814
Capabilities:
Enumerate gui resources

Disassembly:
add esp, 0xfffffff8
mov dword [esp], edx
xor eax, eax
mov dword [esp + 4], eax
mov eax, esp
push eax
push 0x5d9758
call sub.user32.dll_EnumWindows
mov eax, dword [esp + 4]
pop ecx
pop edx
ret

Function at 0x5da6fc
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, esi
call fcn.0040a688
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x18]
push eax
push 0x5da618
call sub.user32.dll_EnumWindows
cmp eax, 1
sbb eax, eax
inc eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x5decb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor ebx, ebx
mov dword [ebp - 4], ebx
test dl, dl
je 0x5decc8
add esp, 0xfffffff0
call fcn.00408024
mov byte [ebp - 9], dl
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x5dede2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 8]
mov dword [eax + 8], ebx
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
call fcn.00406a34
mov edx, dword [ebp - 8]
mov dword [edx + 0xc], eax
dec ebx
test ebx, ebx
jl 0x5dedcc
inc ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
call fcn.00510224
xor eax, eax
push ebp
push 0x5dedb9
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
call fcn.00510224
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x10]
lea ebx, [eax + edx*8]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov dword [ebx], eax
lea eax, [ebx + 4]
mov edx, dword [ebp - 4]
call fcn.0040a780
jmp 0x5ded8a
lea eax, [ebx + 4]
mov ecx, 1
mov edx, 1
call fcn.0040aaac
mov eax, dword [ebx + 4]
call fcn.00409d78
dec eax
jle 0x5ded9e
mov eax, dword [ebx + 4]
cmp word [eax], 0x5f
je 0x5ded78
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5dedc0
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x54]
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5dede9
lea eax, [ebp - 4]
call fcn.004098c0
ret
Function at 0x5ecfac
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x5ecfda
mov eax, ebx
call fcn.005eda68
cmp dword [ebx + 0x40], 0
je 0x5ecfd3
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x5ed04b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x5ed03d
cmp dword [ebx + 8], 0
je 0x5ecffc
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x5ed00e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x5ed03d
cmp dword [ebx + 8], 0
je 0x5ecfef
cmp eax, 3
je 0x5ed021
dec eax
jne 0x5ecfef
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x5ecfef
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x5ecfef
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x5ed069
cmp dword [ebx + 0x14], 0xcc
je 0x5ed069
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.005ed074
pop ebx
ret

Function at 0x5ff3c8
Capabilities:
Enumerate gui resources

Disassembly:
add esp, 0xfffffff8
mov dword [esp], eax
mov byte [esp + 4], dl
mov byte [esp + 5], 0
mov eax, esp
push eax
push 0x5ff368
call sub.user32.dll_EnumWindows
movzx eax, byte [esp + 5]
pop ecx
pop edx
ret

Function at 0x5ff3ec
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
mov esi, eax
test esi, esi
setne al
call fcn.005e960c
push 0
push esi
call sub.kernel32.dll_TerminateProcess
cmp eax, 1
sbb ebx, ebx
inc ebx
push esi
call sub.kernel32.dll_CloseHandle_1
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x5ff548
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x5ff5d6
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
lea ecx, [ebp - 4]
mov dl, 1
mov eax, esi
call fcn.005ff45c
mov eax, dword [ebp - 4]
call fcn.0040b95c
mov edi, eax
dec edi
cmp edi, 0
jl 0x5ff5ba
test bl, bl
je 0x5ff5b4
mov eax, dword [ebp - 4]
mov eax, dword [eax + edi*4]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
mov esi, eax
test esi, esi
je 0x5ff5ae
push 0
push esi
call sub.kernel32.dll_TerminateProcess
test eax, eax
je 0x5ff5ae
push esi
call sub.kernel32.dll_CloseHandle_1
test eax, eax
jne 0x5ff5b2
xor ebx, ebx
jmp 0x5ff5b4
mov bl, 1
dec edi
cmp edi, 0xffffffff
jne 0x5ff57e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ff5dd
lea eax, [ebp - 4]
mov edx, dword [0x5ff420]
call fcn.0040bc98
ret
Function at 0x5ff870
Capabilities:
Create pipe

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffd8
mov ebx, ecx
mov edi, edx
mov esi, eax
lea eax, [esp + 8]
xor ecx, ecx
mov edx, 0xc
call fcn.0040740c
mov dword [esp + 8], 0xc
mov eax, dword [0x6950d8]
cmp dword [eax], 2
jne 0x5ff8c4
push 1
lea eax, [esp + 0x18]
push eax
call sub.advapi32.dll_InitializeSecurityDescriptor
push 0
push 0
push 0xffffffffffffffff
lea eax, [esp + 0x20]
push eax
call sub.advapi32.dll_SetSecurityDescriptorDacl
lea eax, [esp + 0x14]
mov dword [esp + 0xc], eax
jmp 0x5ff8ca
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0xffffffff
mov edx, 1
mov eax, edi
call fcn.00601094
test eax, eax
jne 0x5ff928
push 0
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_CreatePipe
cmp eax, 1
sbb eax, eax
inc eax
call fcn.005e960c
mov ecx, dword [esp + 4]
mov edx, 1
mov eax, edi
call fcn.0060109c
mov dl, 1
mov eax, dword [esp]
call fcn.005ff824
mov ecx, eax
xor edx, edx
mov eax, esi
call fcn.0060109c
mov edx, 2
mov eax, edi
call fcn.00601094
test eax, eax
jne 0x5ff9a8
test bl, bl
je 0x5ff987
push 0
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_CreatePipe
cmp eax, 1
sbb eax, eax
inc eax
call fcn.005e960c
mov ecx, dword [esp + 4]
mov edx, 2
mov eax, edi
call fcn.0060109c
mov dl, 1
mov eax, dword [esp]
call fcn.005ff824
mov ecx, eax
mov edx, 2
mov eax, esi
call fcn.0060109c
jmp 0x5ff9a8
mov edx, 1
mov eax, edi
call fcn.00601094
xor edx, edx
call fcn.005ff824
mov ecx, eax
mov edx, 2
mov eax, edi
call fcn.0060109c
xor edx, edx
mov eax, edi
call fcn.00601094
test eax, eax
jne 0x5ff9fb
push 0
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_CreatePipe
cmp eax, 1
sbb eax, eax
inc eax
call fcn.005e960c
mov ecx, dword [esp]
xor edx, edx
mov eax, edi
call fcn.0060109c
mov dl, 1
mov eax, dword [esp + 4]
call fcn.005ff824
mov ecx, eax
mov edx, 1
mov eax, esi
call fcn.0060109c
add esp, 0x28
pop edi
pop esi
pop ebx
ret
Function at 0x6001a4
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov dword [ebp - 4], eax
mov byte [ebp - 5], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x60]
mov edx, dword [eax]
call dword [edx]
xor edx, edx
push ebp
push 0x6002e9
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x6002c9
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x58]
test esi, esi
jne 0x6001f2
call fcn.00408fec
call fcn.00408fec
jmp 0x6002f0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x464]
test eax, eax
ja 0x60020e
call fcn.00408fec
call fcn.00408fec
jmp 0x6002f0
mov ebx, eax
push 0
lea eax, [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 4]
add eax, 0x64
push eax
push esi
call sub.kernel32.dll_WriteFile_1
test eax, eax
jne 0x600258
call sub.kernel32.dll_GetLastError_2
cmp eax, 0xe8
je 0x60023e
call sub.kernel32.dll_GetLastError_2
cmp eax, 0x6d
jne 0x600249
mov eax, dword [ebp - 4]
add eax, 0x58
call fcn.005ff5e8
call fcn.00408fec
call fcn.00408fec
jmp 0x6002f0
cmp dword [ebp - 0xc], 0
ja 0x60026d
call fcn.00408fec
call fcn.00408fec
jmp 0x6002f0
cmp ebx, dword [ebp - 0xc]
jbe 0x60028c
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
lea eax, [eax + edx + 0x64]
mov ecx, ebx
sub ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
add edx, 0x64
call fcn.00406c10
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
sub dword [eax + 0x464], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6002d0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x58], 0
setne byte [ebp - 5]
mov eax, dword [ebp - 4]
cmp dword [eax + 0x464], 0
jne 0x6002c8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
push eax
call sub.kernel32.dll_ResetEvent
ret
movzx eax, byte [ebp - 5]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret