joyce8/EMBER2024-capa huggingface dataset:
Function at 0x651324
Capabilities:
Encode data using xor

Disassembly:
sti
adc dword [eax], ecx
mov ch, 0x91
call [ebx - 0x504f6d79]
cmpsb byte [esi], byte es:[edi]
pop ebp
std
ja 0x651375
cmp byte [ebx - 0x80], 0x86
sub edx, dword [0xb44650b]
cmp dword [0xb2b1a6f1], esp
mul dword [edi + 0x2bb9762c]
inc ebp
mov bl, 0xb8
xchg esp, eax
nop
cmc
mov ebx, 0x736bbb2e
jg 0x6513bb
imul esi, dword [ebx + 0x7f], 0x63
adc dword [ebx + 1], esp
or al, 0x4f
sub dword [ecx + 0x25], esp
mov al, 0x38
rol ebp, 0x51
invalid
daa
mov byte [edi + ebx*2 + 0x30654e2a], al
or cl, dl
fcmovnbe st(0), st(0)
loop 0x651354
cmc
lahf
xchg byte [ecx + esi*4 - 0x1c486f8a], dh
mov al, 0x87
out 0xb3, eax
jecxz 0x651402
mov ch, 0x71
ret
inc edx
inc eax
inc ebp
mov cl, 0x33
ljmp 0x3292
xlatb
mov dl, 0xee
mov eax, 0x851784c4
mov bl, 0xba
inc edx
mov ah, 0xc3
inc ecx
mov byte [0xe0314fca], al
jp 0x65142a
mov word [esi], ss
sub eax, dword [esi + 0x7cdde405]
call 0xd7bb3f88
int 0xff
xchg ebp, eax
inc ecx
test byte [edx + 0xbfee4cb], cl
stosd dword es:[edi], eax
adc bl, 0xe
xchg byte [ecx + 0x5f], dl
mov cl, bl
in al, 0xfe
or ebp, dword [ebx - 0x79f12c80]
push ecx
pop edi
cmpsb byte [esi], byte es:[edi]
invalid
Function at 0x417c10
Capabilities:
Get disk information

Disassembly:
push ecx
push esi
push 0x4c2074
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov dword [0x4c5adc], eax
call dword [sym.imp.KERNEL32.dll_GetOEMCP]
mov dword [0x4c5adc], eax
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0
mov dword [0x4c64a0], eax
mov dword [esp + 8], 0
call dword [sym.imp.ole32.dll_CoInitialize]
test esi, esi
je 0x417c66
lea eax, [esp + 4]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push str.MSWHEEL_ROLLMSG
call dword [sym.imp.USER32.dll_RegisterWindowMessageA]
pop esi
mov ecx, dword [esp]
add ecx, eax
mov eax, ecx
pop ecx
ret

Function at 0x4aa2cd
Capabilities:
Encode data using xor

Disassembly:
adc bl, byte [ebx + 0x27]
int 0x9a
add dh, byte [ebx + 0x29119aca]
sub dword [ebx], esi
push ds
sub dword [ebx], esi
push ds
wait
mov esi, 0x777e56d0
mov dword [0x2535222], eax
pop ss
div byte [edi + 0x2ce6faff]
push ebp
fdivrp st(1)
mov ecx, 0xe62a1d0f
rcr dword [ecx + 0x43], cl
bound esi, qword [0x820a2fd6]
mov dl, 0x60
clc
jb 0x4aa2be
outsd dx, dword [esi]
je 0x4aa276
stosb byte es:[edi], al
cmp bl, byte [edx - 0x386c5f8c]
jge 0x4aa296
mov ebp, dword [edx + ebp*2]
aas
pop ecx
out 0xb5, al
aas
mov ch, 0x3f
push esp
add eax, 0x48c92488
mov al, byte [0x6202aa82]
cmp al, byte [eax + 0x44]
inc esp

Function at 0x4ba351
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c2398
cmp edx, dword [eax]
je 0x4ba373
add eax, 8
inc ecx
cmp eax, 0x4c2428
jl 0x4ba364
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c2398]
jne 0x4ba4a1
mov eax, dword [0x4c6d1c]
cmp eax, 1
je 0x4ba47b
test eax, eax
jne 0x4ba3a4
cmp dword [0x4c22c0], 1
je 0x4ba47b
cmp edx, 0xfc
je 0x4ba4a1
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4ba3db
lea eax, [ebp - 0x1a4]
push 0x4bf858
push eax
call fcn.004bad30
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bb1c0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4ba41e
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bb1c0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4bf854
push edi
call fcn.004bd090
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4bf838
push eax
call fcn.004bad30
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004bad40
lea eax, [ebp - 0xa0]
push 0x4bf834
push eax
call fcn.004bad40
push dword [esi + 0x4c239c]
lea eax, [ebp - 0xa0]
push eax
call fcn.004bad40
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4bf80c
push eax
call fcn.004bd004
add esp, 0x2c
pop edi
jmp 0x4ba4a1
lea eax, [ebp + 8]
lea esi, [esi + 0x4c239c]
push 0
push eax
push dword [esi]
call fcn.004bb1c0
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 0x4056ce
Capabilities:
Encode data using xor

Disassembly:
dec ebp
fstp xword [0x51edc704]
or al, byte [esi - 0x23]
call fcn.004055d1
xor ecx, ecx
sub ecx, 0xffffff8e
call 0x4056ce
rcr byte [esi - 0x7f], 0x76
push cs
sbb dword [edi + edi*4 - 0x3117c06], esp
xor dword [esi + 0xe], 0xfabfa419
sub esi, 0xfffffffc
loop 0x4056d1
xor ch, byte [ebp + 0x3c]
adc ecx, dword [ebp - 0x19fabfb4]
pop ebx
jg 0x40568d
cwde
sal byte [ecx + 0x793fd2ef], cl
jns 0x4056e9
pop eax
pop ebp
push cs
or word [ebp - 0x1b], di
loop 0x4056b1
push eax
sbb al, bh
xor al, 0xa5
dec edi
pop ds
or al, 0xf3
lds ebp, [esp + ebp*8]
iretd
Function at 0x10002100
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10054378
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x10067060]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
and dword [esp + 0x14], 0xfffffe00
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0xc]
push eax
push ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x38], 1
call fcn.10001e20
add esp, 8
test al, al
je 0x100021c9
cmp byte [esp + 0x14], 7
jne 0x100021c9
push str.value_bool
lea edx, [esp + 0x10]
push edx
mov ecx, 0x10058b1a
call fcn.10026715
mov ecx, eax
call fcn.10026b70
test al, al
je 0x100021c9
push str.value_bool
lea eax, [esp + 0x10]
push eax
mov ecx, 0x10058b1a
call fcn.10026715
mov esi, eax
call fcn.10025d34
mov edx, dword [esp + 0x3c]
cmp eax, 1
sete cl
lea esi, [esp + 0xc]
mov byte [edx], cl
mov dword [esp + 0x30], 0xffffffff
call fcn.10025a4f
mov al, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret
lea esi, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.10025a4f
xor al, al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret

Function at 0x10002230
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10054378
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x10067060]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
and dword [esp + 0x14], 0xfffffe00
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0xc]
push eax
push ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x38], 1
call fcn.10001e20
add esp, 8
test al, al
je 0x100022f3
cmp byte [esp + 0x14], 7
jne 0x100022f3
push str.value_number
lea edx, [esp + 0x10]
push edx
mov ecx, 0x10058b28
call fcn.10026715
mov ecx, eax
call fcn.10026b70
test al, al
je 0x100022f3
push str.value_number
lea eax, [esp + 0x10]
push eax
mov ecx, 0x10058b28
call fcn.10026715
mov esi, eax
call fcn.10025d34
mov ecx, dword [esp + 0x3c]
lea esi, [esp + 0xc]
mov dword [ecx], eax
mov dword [esp + 0x30], 0xffffffff
call fcn.10025a4f
mov al, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret
lea esi, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.10025a4f
xor al, al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret
Function at 0x10002440
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100549e0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x10067060]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
mov eax, dword [0x10067060]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [esp + 0x40]
xor ebx, ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
lea edx, [esp + 0x10]
push edx
push eax
mov byte [esp + 0x40], 1
call fcn.10002320
add esp, 8
test al, al
lea eax, [esp + 0x10]
jne 0x100024ac
lea eax, [esp + 0x44]
push 0xffffffffffffffff
push ebx
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
push eax
mov ecx, esi
mov byte [esi + 4], bl
call fcn.10009090
cmp dword [esp + 0x28], 0x10
jb 0x100024d8
mov eax, dword [esp + 0x14]
push eax
call fcn.10038093
add esp, 4
cmp dword [esp + 0x5c], 0x10
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
jb 0x100024fc
mov ecx, dword [esp + 0x48]
push ecx
call fcn.10038093
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.10037693
add esp, 0x34
ret

Function at 0x10002940
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
lea eax, [esp]
push eax
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0xc]
push edx
push 0x10059330
push str.Softwareprojonepodlp_smprule_
push 0x80000002
mov dword [esp + 0x18], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x1000298a
cmp dword [esp + 4], 4
jne 0x1000298a
mov eax, dword [esp + 8]
xor ecx, ecx
test eax, eax
setne cl
mov al, cl
add esp, 0xc
ret
xor eax, eax
xor ecx, ecx
test eax, eax
setne cl
mov al, cl
add esp, 0xc
ret
Function at 0x100037e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10050656
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x10067060]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x14], 1
mov ecx, dword [esi]
xor ebx, ebx
cmp ecx, ebx
je 0x1000381e
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
cmp dword [esi + 0x84], 8
jb 0x10003833
mov eax, dword [esi + 0x70]
push eax
call fcn.10038093
add esp, 4
xor ecx, ecx
mov dword [esi + 0x84], 7
mov dword [esi + 0x80], ebx
mov word [esi + 0x70], cx
cmp dword [esi + 0x58], 8
jb 0x1000385b
mov edx, dword [esi + 0x44]
push edx
call fcn.10038093
add esp, 4
xor eax, eax
mov dword [esi + 0x58], 7
mov dword [esi + 0x54], ebx
mov word [esi + 0x44], ax
cmp dword [esi + 0x30], 0x10
jb 0x1000387d
mov ecx, dword [esi + 0x1c]
push ecx
call fcn.10038093
add esp, 4
mov dword [esi + 0x30], 0xf
mov dword [esi + 0x2c], ebx
mov byte [esi + 0x1c], bl
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 4

Function at 0x100038f0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x100509fb
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x10067060]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov esi, dword [esp + 0x18]
mov eax, dword [edi]
mov dword [esi], eax
mov ecx, dword [edi + 4]
mov dword [esi + 4], ecx
mov edx, dword [edi + 8]
mov dword [esi + 8], edx
lea ecx, [esi + 0xc]
xor edx, edx
push 0xffffffffffffffff
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], 0
lea eax, [edi + 0xc]
push edx
mov word [ecx + 4], dx
call fcn.100091f0
mov dword [esp + 0x10], 0
movzx eax, byte [edi + 0x28]
mov byte [esi + 0x28], al
movzx ecx, byte [edi + 0x29]
mov byte [esi + 0x29], cl
mov dx, word [edi + 0x2a]
mov word [esi + 0x2a], dx
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x2c], eax
mov ecx, dword [edi + 0x30]
mov dword [esi + 0x30], ecx
movzx edx, byte [edi + 0x34]
mov byte [esi + 0x34], dl
lea ecx, [esi + 0x38]
xor edx, edx
push 0xffffffffffffffff
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], 0
lea eax, [edi + 0x38]
push edx
mov word [ecx + 4], dx
call fcn.100091f0
movzx eax, byte [edi + 0x54]
mov byte [esi + 0x54], al
movzx ecx, byte [edi + 0x55]
mov byte [esi + 0x55], cl
movzx edx, byte [edi + 0x56]
mov byte [esi + 0x56], dl
mov eax, esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 4
Function at 0x1000fcb0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x10052168
mov eax, dword fs:[0]
push eax
mov eax, dword [0x10067060]
xor eax, esp
push eax
lea eax, [esp + 4]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 0xc], eax
mov cx, word [esp + 0x14]
mov word [esi], cx
lea ecx, [esi + 4]
push 0xffffffffffffffff
mov dword [ecx + 0x14], eax
xor edx, edx
push eax
mov dword [ecx + 0x18], 7
lea eax, [esp + 0x20]
mov word [ecx + 4], dx
call fcn.100091f0
cmp dword [esp + 0x30], 8
jb 0x1000fd11
mov eax, dword [esp + 0x1c]
push eax
call fcn.10038093
add esp, 4
mov eax, esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret 0x20

Function at 0x100103a0
Capabilities:
Set registry value

Disassembly:
sub esp, 8
lea eax, [esp + 3]
push eax
push ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xc], 0
mov byte [esp + 0xb], 0
call fcn.10002100
add esp, 8
xor edx, edx
cmp byte [esp + 3], dl
push 4
lea eax, [esp + 8]
push eax
push 4
setne dl
push 0x10059330
push str.Softwareprojonepodlp_smprule_
push 0x80000002
mov dword [esp + 0x1c], edx
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
add esp, 8
ret

Function at 0x10010590
Capabilities:
Create thread

Disassembly:
mov eax, 0x1010
call fcn.100434a0
mov eax, dword [0x10067060]
xor eax, esp
mov dword [esp + 0x1008], eax
cmp dword [0x10069340], 0
push esi
je 0x10010624
push str._GlobalHookThread
push 0x4a
push str..main.cpp
push str._s._d:_s
lea eax, [esp + 0x18]
push 0x800
push eax
mov dword [0x10069340], 0
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x18
lea ecx, [esp + 4]
push ecx
push 0
push 0
push 0x10010480
push 0
push 0
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x1001061d
mov eax, dword [esp + 4]
lea edx, [esp + 8]
push edx
push eax
push str.thread__d_created:__s
call fcn.1002ea97
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x100c]
pop esi
xor ecx, esp
call fcn.10037693
add esp, 0x1010
ret
Function at 0x100107b0
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 8]
cmp eax, 1
jne 0x100108c5
push esi
push edi
mov edi, dword [esp + 0xc]
push edi
mov dword [0x1006b1c0], edi
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
call fcn.1002eee3
test eax, eax
jne 0x10010867
push 0x104
push 0x1006b1c8
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x1006b1c8
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [0x1006b1c4], eax
test eax, eax
je 0x1001084f
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push str.test.exe
push eax
call esi
test eax, eax
je 0x10010829
mov eax, dword [0x1006b1c4]
test eax, eax
je 0x1001084f
push str.test64.exe
push eax
call esi
test eax, eax
jne 0x1001084f
push 0
push 0
push 0
push 0x10010480
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, 1
ret 0xc
call fcn.100303dd
test eax, eax
jne 0x10010845
call fcn.10007910
pop edi
pop esi
mov eax, 1
ret 0xc
mov eax, dword [0x1006bcb0]
test eax, eax
jne 0x100108b3
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.pobus32.dll
call esi
test eax, eax
jne 0x1001089e
push str.pobus64.dll
call esi
test eax, eax
jne 0x1001089e
push str.poda32.dll
call esi
test eax, eax
jne 0x1001089e
push str.poda64.dll
call esi
push str.CC35024C
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1006bcb0], eax
test eax, eax
je 0x10010845
push 0x10010640
push edi
call eax
pop edi
pop esi
mov eax, 1
ret 0xc
test eax, eax
jne 0x10010847
call fcn.10007c20
mov eax, 1
ret 0xc
Function at 0x10011ad0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10052658
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x10067060]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x10067060]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
xor edi, edi
xor ecx, ecx
mov dword [esp + 0x14], eax
mov eax, dword [eax]
mov word [esp + 0x28], cx
mov ecx, eax
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], edi
lea esi, [ecx + 2]
lea ecx, [ecx]
mov dx, word [ecx]
add ecx, 2
cmp dx, di
jne 0x10011b30
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x28]
call fcn.1000a400
lea edx, [esp + 0x18]
push edx
push ebx
mov ebx, esi
mov dword [esp + 0x58], edi
call fcn.1000e7a0
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x28]
cmp ecx, 8
jb 0x10011c59
mov esi, edx
mov dword [esp + 0x10], esi
test edx, edx
je 0x10011b9a
mov eax, edx
cmp ecx, 8
jae 0x10011b80
lea eax, [esp + 0x28]
cmp eax, esi
ja 0x10011b9a
mov eax, edx
cmp ecx, 8
jae 0x10011b8f
lea eax, [esp + 0x28]
mov ebx, dword [esp + 0x38]
lea eax, [eax + ebx*2]
cmp esi, eax
jbe 0x10011bab
call fcn.10038059
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x38]
mov edx, dword [esp + 0x28]
mov eax, edx
cmp ecx, 8
jae 0x10011bb6
lea eax, [esp + 0x28]
lea edi, [eax + ebx*2]
test edi, edi
je 0x10011bde
mov eax, edx
cmp ecx, 8
jae 0x10011bc8
lea eax, [esp + 0x28]
cmp eax, edi
ja 0x10011bde
mov eax, edx
cmp ecx, 8
jae 0x10011bd7
lea eax, [esp + 0x28]
lea eax, [eax + ebx*2]
cmp edi, eax
jbe 0x10011bef
call fcn.10038059
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x38]
mov edx, dword [esp + 0x28]
cmp ecx, 8
jb 0x10011c68
mov esi, edx
test edx, edx
je 0x10011c1b
mov eax, edx
cmp ecx, 8
jae 0x10011c05
lea eax, [esp + 0x28]
cmp eax, esi
ja 0x10011c1b
mov eax, edx
cmp ecx, 8
jae 0x10011c14
lea eax, [esp + 0x28]
lea ecx, [eax + ebx*2]
cmp esi, ecx
jbe 0x10011c20
call fcn.10038059
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push edx
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x20], 0
mov eax, dword [esp + 0x20]
push eax
push ecx
push edi
mov eax, esi
lea ecx, [esp + 0x2c]
call fcn.1000f920
mov edx, dword [esp + 0x28]
add esp, 0x14
cmp dword [edx + 8], 0x10
jne 0x10011c6e
mov esi, 1
jmp 0x10011c84
lea eax, [esp + 0x28]
mov dword [esp + 0x10], eax
mov esi, eax
jmp 0x10011b75
lea esi, [esp + 0x28]
jmp 0x10011bfa
cmp dword [esp + 0x3c], 8
mov eax, dword [esp + 0x28]
jae 0x10011c7d
lea eax, [esp + 0x28]
call fcn.10011a80
mov esi, eax
lea ecx, [esp + 0x24]
call fcn.10012f50
mov dword [eax], esi
cmp dword [esp + 0x3c], 8
jb 0x10011ca3
mov eax, dword [esp + 0x28]
push eax
call fcn.10038093
add esp, 4
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.10037693
mov esp, ebp
pop ebp
ret
Function at 0x10012560
Capabilities:
Create thread

Disassembly:
mov eax, 0x1010
call fcn.100434a0
mov eax, dword [0x10067060]
xor eax, esp
mov dword [esp + 0x1008], eax
push esi
push 0x1006b048
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push str._PrinterMonitorThread
push 0x83
push str..printermon.cpp
push str._s._d:_s
lea eax, [esp + 0x18]
push 0x800
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x18
lea ecx, [esp + 4]
push ecx
push 0
push 0
push 0x10012300
push 0
push 0
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x100125e8
mov eax, dword [esp + 4]
lea edx, [esp + 8]
push edx
push eax
push str.thread__d_created:__s
call fcn.1002ea97
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x100c]
pop esi
xor ecx, esp
call fcn.10037693
add esp, 0x1010
ret
Function at 0x1001e78e
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x10067060]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push esi
cmp edi, ebx
je 0x1001e888
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x104
jge 0x1001e888
xor eax, eax
push 0x206
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push ebx
push eax
call fcn.1003b960
add esp, 0xc
lea esi, [ebp - 0x210]
mov ecx, edi
call fcn.1001eecf
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1001e805
shr eax, 4
not eax
and eax, 1
jmp 0x1001e88a
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea esi, [ebp - 0x418]
call fcn.1001e898
test eax, eax
je 0x1001e888
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x10000000
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x420], eax
cmp eax, ebx
je 0x1001e86a
mov dword [ebp - 0x41c], 1
cmp eax, 0xffffffff
jne 0x1001e870
mov dword [ebp - 0x41c], ebx
lea eax, [ebp - 0x420]
call fcn.1001e558
xor eax, eax
cmp byte [ebp - 0x41c], bl
setne al
jmp 0x1001e88a
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.10037693
leave
ret
Function at 0x1001ec9a
Capabilities:
Check if file exists
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ebx, ebx
mov dword [ebp - 8], eax
cmp eax, ebx
jne 0x1001ecc6
call fcn.1001e78e
test eax, eax
jne 0x1001ecc6
pop edi
pop esi
pop ebx
leave
ret 0xc
push ebx
push ebx
push 2
push ebx
push ebx
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0xc], esi
cmp esi, ebx
je 0x1001ece6
cmp esi, 0xffffffff
jne 0x1001ecfe
cmp dword [ebp - 8], ebx
jne 0x1001ecf2
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0xc]
call fcn.1001e558
mov eax, ebx
jmp 0x1001ecbf
mov edi, dword [ebp + 0x10]
push ebx
lea eax, [ebp - 4]
push eax
push edi
push dword [ebp + 0xc]
mov dword [ebp - 4], ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1001ed22
cmp dword [ebp - 4], edi
jne 0x1001ed22
xor ebx, ebx
inc ebx
jmp 0x1001ecf2
cmp dword [ebp - 8], ebx
jne 0x1001ecf2
or dword [ebp - 0xc], 0xffffffff
cmp esi, 0xffffffff
je 0x1001ed3b
cmp esi, ebx
je 0x1001ed3b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 8]
jmp 0x1001ecec

Function at 0x1001ee55
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
lea ebp, [esp - 0x88]
sub esp, 0x108
mov eax, dword [0x10067060]
xor eax, ebp
mov dword [ebp + 0x84], eax
push 0x103
lea eax, [ebp - 0x7f]
push 0
push eax
mov byte [ebp - 0x80], 0
call fcn.1003b960
add esp, 0xc
push 0x104
lea eax, [ebp - 0x80]
push eax
call fcn.1001edbe
mov eax, 0x179b06cc
xor ecx, ecx
push esi
movzx edx, byte [ebp + ecx - 0x80]
movzx esi, al
xor edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x10069620]
inc ecx
cmp ecx, 0x24
jl 0x1001ee9d
mov ecx, dword [ebp + 0x84]
xor ecx, ebp
not eax
pop esi
call fcn.10037693
add ebp, 0x88
leave
ret

Function at 0x1001f0d1
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x434
mov eax, dword [0x10067060]
xor eax, esp
mov dword [esp + 0x430], eax
mov eax, fcn.1001f4bd
push esi
test eax, eax
je 0x1001f15e
push 0x424
lea eax, [esp + 0x10]
push 0
push eax
call fcn.1003b960
add esp, 0xc
push dword [ebp + 8]
mov dword [esp + 0xc], 0x428
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [esp + 4], esi
test esi, esi
je 0x1001f155
cmp esi, 0xffffffff
je 0x1001f155
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Module32FirstW
jmp 0x1001f151
push edi
lea eax, [esp + 0xc]
push eax
call fcn.1001f4bd
test eax, eax
je 0x1001f155
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x1001f137
lea eax, [esp + 4]
call fcn.1001e558
mov ecx, dword [esp + 0x434]
pop esi
xor ecx, esp
call fcn.10037693
mov esp, ebp
pop ebp
ret 4