joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f1a9e
Capabilities:
Print debug messages

Disassembly:
jmp 0x5d6bdb
push esi
mov esi, ecx
call fcn.004f22aa
mov eax, 0x400000
mov dword [esi], 0x38
lea ecx, [esi + 0x14]
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov dword [esi + 0xc], 0xe00
mov dword [esi + 0x10], 0x6e6050
call fcn.004ed421
test eax, eax
jns 0x5d6c2a
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x5d6c23
push str.ERROR_:_Unable_to_initialize_critical_section_in_CAtlBaseModule_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [0x72b9a8], 1
mov eax, esi
pop esi
ret

Function at 0x567090
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6cffbb
mov eax, dword fs:[0]
push eax
sub esp, 0x1a8
push ebx
push esi
push edi
lea edi, [ebp - 0xf4]
mov ecx, 0x3a
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x726080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, esp
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
cmp esi, esp
call fcn.004ef947
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x567152
push str.hMutex::Create__
lea ecx, [ebp - 0x144]
call fcn.004eb810
mov dword [ebp - 4], 0
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.004ef947
push eax
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x120]
call fcn.004f1b07
push 0x71a074
lea ecx, [ebp - 0x120]
push ecx
call fcn.004f3362
nop
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x144]
call fcn.004ee7d1
nop
cmp dword [ebp + 0x10], 0
je 0x5671cc
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.004ef947
cmp eax, 0xb7
jne 0x5671cc
push str.hMutex::Create__
lea ecx, [ebp - 0x1b0]
call fcn.004eb810
mov dword [ebp - 4], 1
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.004ef947
push eax
lea eax, [ebp - 0x1b0]
push eax
lea ecx, [ebp - 0x18c]
call fcn.004f1b07
push 0x71a074
lea ecx, [ebp - 0x18c]
push ecx
call fcn.004f3362
nop
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1b0]
call fcn.004ee7d1
nop
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ed688
add esp, 0x1b4
cmp ebp, esp
call fcn.004ef947
mov esp, ebp
pop ebp
ret
Function at 0x6a2ad0
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1434
call fcn.004eb748
mov eax, dword [0x726080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
sar eax, 6
mov ecx, dword [ebp + 0xc]
and ecx, 0x3f
imul edx, ecx, 0x38
mov eax, dword [eax*4 + 0x72d700]
mov ecx, dword [eax + edx + 0x18]
mov dword [ebp - 0x1434], ecx
mov edx, dword [ebp + 0x10]
add edx, dword [ebp + 0x14]
mov dword [ebp - 0x1424], edx
xor eax, eax
mov dword [ebp - 0x1410], eax
mov dword [ebp - 0x140c], eax
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x1420], ecx
mov edx, dword [ebp - 0x1420]
cmp edx, dword [ebp - 0x1424]
jae 0x6a2ca8
lea eax, [ebp - 5]
mov dword [ebp - 0x1430], eax
lea ecx, [ebp - 0x1404]
mov dword [ebp - 0x1418], ecx
mov edx, dword [ebp - 0x1418]
cmp edx, dword [ebp - 0x1430]
jae 0x6a2bf7
mov eax, dword [ebp - 0x1420]
cmp eax, dword [ebp - 0x1424]
jae 0x6a2bf7
mov ecx, dword [ebp - 0x1420]
mov dl, byte [ecx]
mov byte [ebp - 0x1419], dl
mov eax, dword [ebp - 0x1420]
add eax, 1
mov dword [ebp - 0x1420], eax
mov cl, byte [ebp - 0x1419]
mov byte [ebp - 0x1411], cl
movsx edx, byte [ebp - 0x1411]
cmp edx, 0xa
jne 0x6a2bd5
mov eax, dword [ebp - 0x1408]
add eax, 1
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp - 0x1418]
mov byte [ecx], 0xd
mov edx, dword [ebp - 0x1418]
add edx, 1
mov dword [ebp - 0x1418], edx
mov eax, dword [ebp - 0x1418]
mov cl, byte [ebp - 0x1411]
mov byte [eax], cl
mov edx, dword [ebp - 0x1418]
add edx, 1
mov dword [ebp - 0x1418], edx
jmp 0x6a2b59
mov eax, dword [ebp - 0x1418]
lea ecx, [ebp - 0x1404]
sub eax, ecx
mov dword [ebp - 0x142c], eax
push 0
lea edx, [ebp - 0x1428]
push edx
mov eax, dword [ebp - 0x142c]
push eax
lea ecx, [ebp - 0x1404]
push ecx
mov edx, dword [ebp - 0x1434]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x6a2c61
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1410], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1410]
mov dword [eax], ecx
mov edx, dword [ebp - 0x140c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x1408]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 8]
jmp 0x6a2cc8
mov edx, dword [ebp - 0x140c]
add edx, dword [ebp - 0x1428]
mov dword [ebp - 0x140c], edx
mov eax, dword [ebp - 0x1428]
cmp eax, dword [ebp - 0x142c]
jae 0x6a2ca3
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
jmp 0x6a2cc8
jmp 0x6a2b32
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1410]
mov dword [eax], ecx
mov edx, dword [ebp - 0x140c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x1408]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ed688
mov esp, ebp
pop ebp
ret
Function at 0x6a2d60
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1434
call fcn.004eb748
mov eax, dword [0x726080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
sar eax, 6
mov ecx, dword [ebp + 0xc]
and ecx, 0x3f
imul edx, ecx, 0x38
mov eax, dword [eax*4 + 0x72d700]
mov ecx, dword [eax + edx + 0x18]
mov dword [ebp - 0x1434], ecx
mov edx, dword [ebp + 0x10]
add edx, dword [ebp + 0x14]
mov dword [ebp - 0x1424], edx
xor eax, eax
mov dword [ebp - 0x1410], eax
mov dword [ebp - 0x140c], eax
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x141c], ecx
mov edx, dword [ebp - 0x141c]
cmp edx, dword [ebp - 0x1424]
jae 0x6a2f4b
lea eax, [ebp - 6]
mov dword [ebp - 0x1430], eax
lea ecx, [ebp - 0x1404]
mov dword [ebp - 0x1414], ecx
mov edx, dword [ebp - 0x1414]
cmp edx, dword [ebp - 0x1430]
jae 0x6a2e96
mov eax, dword [ebp - 0x141c]
cmp eax, dword [ebp - 0x1424]
jae 0x6a2e96
mov ecx, dword [ebp - 0x141c]
mov dx, word [ecx]
mov word [ebp - 0x141e], dx
mov eax, dword [ebp - 0x141c]
add eax, 2
mov dword [ebp - 0x141c], eax
mov cx, word [ebp - 0x141e]
mov word [ebp - 0x1418], cx
movzx edx, word [ebp - 0x1418]
cmp edx, 0xa
jne 0x6a2e72
mov eax, dword [ebp - 0x1408]
add eax, 2
mov dword [ebp - 0x1408], eax
mov ecx, 0xd
mov edx, dword [ebp - 0x1414]
mov word [edx], cx
mov eax, dword [ebp - 0x1414]
add eax, 2
mov dword [ebp - 0x1414], eax
mov ecx, dword [ebp - 0x1414]
mov dx, word [ebp - 0x1418]
mov word [ecx], dx
mov eax, dword [ebp - 0x1414]
add eax, 2
mov dword [ebp - 0x1414], eax
jmp 0x6a2de9
mov ecx, dword [ebp - 0x1414]
lea edx, [ebp - 0x1404]
sub ecx, edx
sar ecx, 1
shl ecx, 1
mov dword [ebp - 0x142c], ecx
push 0
lea eax, [ebp - 0x1428]
push eax
mov ecx, dword [ebp - 0x142c]
push ecx
lea edx, [ebp - 0x1404]
push edx
mov eax, dword [ebp - 0x1434]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x6a2f04
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1410], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
jmp 0x6a2f6b
mov eax, dword [ebp - 0x140c]
add eax, dword [ebp - 0x1428]
mov dword [ebp - 0x140c], eax
mov ecx, dword [ebp - 0x1428]
cmp ecx, dword [ebp - 0x142c]
jae 0x6a2f46
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x1410]
mov dword [edx], eax
mov ecx, dword [ebp - 0x140c]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x1408]
mov dword [edx + 8], eax
mov eax, dword [ebp + 8]
jmp 0x6a2f6b
jmp 0x6a2dc2
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ed688
mov esp, ebp
pop ebp
ret
Function at 0x10011f3e
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10011f57
push 0x211c
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x10011f6b
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x10011f6b
push 0
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov esp, ebp
pop ebp
ret

Function at 0x10011ff8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10012054
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x10012034
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jg 0x10012052
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x10]
call fcn.1001743f
cmp dword [eax], 0
je 0x10012050
jmp 0x10012052
jmp 0x10012029
jmp 0x10012061
push 0xac5
push 0
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esp, ebp
pop ebp
ret

Function at 0x100170e2
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10017111
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1001710f
push 0x2497
push 0x1931
push 0xea0
call dword [sym.imp.KERNEL32.dll_HeapCreate]
jmp 0x10017119
push 0
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov esp, ebp
pop ebp
ret
Function at 0x1001d24a
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1001d277
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1001d275
push 0
push 0
push 0x11b0
push 0
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
jmp 0x1001d295
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x1001d295
push 0
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov esp, ebp
pop ebp
ret

Function at 0x1001d872
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1001d931
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov esi, dword [eax]
push 1
mov ecx, dword [ebp - 0x28]
call fcn.1001743f
mov dword [eax], esi
mov eax, dword [ebp - 8]
imul eax, dword [eax], 0x1249
test eax, eax
je 0x1001d8e4
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x1001d8e4
mov dword [ebp - 0x10], 1
jmp 0x1001d8e8
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x1001d8fe
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x1001d8fe
and dword [ebp - 0xc], 0
jmp 0x1001d905
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax]
imul eax, dword [ebp - 0xc]
cmp dword [ebp - 0x10], eax
jle 0x1001d91c
mov dword [ebp - 0x14], 1
jmp 0x1001d920
and dword [ebp - 0x14], 0
push 0
mov ecx, dword [ebp - 0x2c]
call fcn.1001743f
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
jmp 0x1001d939
push 0
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1002ac54
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1002ac96
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x1002ac94
push 0
push 0x145f
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
jmp 0x1002ac9e
push 0
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov esp, ebp
pop ebp
ret

Function at 0x1002bf13
Capabilities:
Create process on windows
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1002bf2a
push 0
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
jmp 0x1002bf37
push 0xac5
push 0
call dword [sym.imp.KERNEL32.dll_WinExec]
pop ebp
ret
Function at 0x1002e26a
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1002e361
mov dword [ebp - 4], 0xd41e5596
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 8], 0
jmp 0x1002e29a
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 3
jge 0x1002e2ad
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x30], 0xffffffff
jmp 0x1002e293
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 4]
mov dword [ebp + eax - 0x30], ecx
mov dword [ebp - 4], 0
jmp 0x1002e2ca
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 2
jg 0x1002e35f
mov dword [ebp - 0x1c], 0xfffc
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x30]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x30]
cmp dword [ebp - 4], eax
jle 0x1002e303
mov dword [ebp - 0xc], 1
jmp 0x1002e307
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x1002e326
mov eax, dword [ebp - 4]
cmp dword [ebp + eax*4 - 0x30], 0
je 0x1002e326
mov dword [ebp - 0x14], 1
jmp 0x1002e32a
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
push 4
pop ecx
shl ecx, 0
mov ecx, dword [ebp + ecx - 0x30]
add ecx, dword [ebp - 0x14]
cmp dword [ebp + eax*4 - 0x30], ecx
jl 0x1002e349
mov dword [ebp - 0x18], 1
jmp 0x1002e34d
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
mov dword [ebp + ecx*4 - 0x30], eax
jmp 0x1002e2c3
jmp 0x1002e369
push 0
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov esp, ebp
pop ebp
ret
Function at 0x10030791
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
push 1
lea eax, [ebp + 8]
push eax
push 0x3b19
lea eax, [ebp - 0x10]
push eax
call fcn.1003051b
add esp, 0x10
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x100307c6
xor eax, eax
jmp 0x100308fc
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x100307e4
xor eax, eax
jmp 0x100308fc
push 0x7b9b
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 8]
push eax
call fcn.10030587
add esp, 0x10
cmp dword [ebp - 0xc], 0
jne 0x10030808
xor eax, eax
jmp 0x100308fc
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 8]
push eax
push 1
lea eax, [ebp - 0x10]
push eax
push 0xffc
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.100305f2
add esp, 0x1c
push 0x7136
push dword [ebp - 4]
push dword [ebp - 8]
push 0
push dword [ebp + 8]
push 0x63c9
call fcn.1002d09d
add esp, 0x18
lea eax, [ebp - 8]
push eax
push 0x201d
push 0x21f9
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0xc]
push eax
push 1
call fcn.100306a3
add esp, 0x18
push 1
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10030738
add esp, 0xc
push dword [ebp - 4]
call fcn.1002ff53
pop ecx
test eax, eax
jne 0x1003088b
xor eax, eax
jmp 0x100308fc
push dword [ebp - 4]
push 0x7481
push 0x1c57
push 1
call fcn.10027dcb
add esp, 0x10
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x100308e4
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x14], ecx
jne 0x100308c1
xor eax, eax
jmp 0x100308fc
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x100308da
xor eax, eax
jmp 0x100308fc
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 1
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x100308f5
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
jmp 0x100308f9
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret
Function at 0x10044d26
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10044d7b
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x10044d56
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 3
jg 0x10044d79
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x10044d77
push 0xac5
push 0
call dword [sym.imp.KERNEL32.dll_WinExec]
jmp 0x10044d4b
jmp 0x10044d8c
push 0
push 0
push 0xc3a
push 0
call dword [sym.imp.USER32.dll_GetMenuItemInfoW]
mov esp, ebp
pop ebp
ret
Function at 0x10047ad7
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10047b0c
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
sub eax, 7
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
jmp 0x10047b14
push 0
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov esp, ebp
pop ebp
ret

Function at 0x10047fe4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push esi
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10048002
push 0
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
jmp 0x100480f9
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
sub eax, 0x262f770
jne 0x100480ea
push 0
mov ecx, dword [ebp - 4]
call fcn.1001743f
mov eax, dword [ebp - 8]
mov esi, dword [eax]
push 0
mov ecx, dword [ebp - 4]
call fcn.1001743f
sub esi, dword [eax]
mov eax, dword [ebp - 0xc]
mov dword [eax], esi
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
je 0x10048084
xor eax, eax
inc eax
je 0x10048084
mov dword [ebp - 0x34], 1
jmp 0x10048088
and dword [ebp - 0x34], 0
push 0
mov ecx, dword [ebp - 4]
call fcn.1001743f
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jl 0x100480a7
mov dword [ebp - 0x10], 1
jmp 0x100480ab
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x14]
mov esi, dword [eax]
add esi, dword [ebp - 0x10]
push 0
mov ecx, dword [ebp - 4]
call fcn.1001743f
cmp esi, dword [eax]
jg 0x100480ca
mov dword [ebp - 0x18], 1
jmp 0x100480ce
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x14]
mov ecx, 0x917a
sub ecx, dword [eax]
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
sub edx, dword [eax]
cmp ecx, edx
jle 0x100480ea
and dword [ebp - 0x1c], 0
jmp 0x100480f1
mov dword [ebp - 0x1c], 1
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100480fe
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10048115
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
jmp 0x1004811d
push 0
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop ebp
ret
Function at 0x10048353
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x100483ab
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x1004838f
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 1
jge 0x100483a9
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0x14]
call fcn.1001743f
or dword [eax], 0xffffffff
jmp 0x10048384
jmp 0x100483c1
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x100483c1
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_EqualSid]
mov esp, ebp
pop ebp
ret

Function at 0x1004949f
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 8]
test eax, eax
je 0x100494d4
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx]
mov dword [eax + 0xc], ecx
jmp 0x100494dc
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov esp, ebp
pop ebp
ret