joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48ba40
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + 0x7b19a4]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x7b1934]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x48ba53
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x48ba94
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x7b19dc]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x48bac6
mov bl, byte [esp + ecx + 0x4c]
jmp 0x48baca
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x48babb
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x48bae8
mov bl, byte [esp + ecx + 0x4c]
jmp 0x48baec
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x48badd
xor ecx, ecx
mov eax, 0x7b1944
xor ebx, ebx
mov bl, byte [ecx + 0x7b19ec]
cmp byte [esp + ebx + 0x14], 0
je 0x48bb17
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x7b1a04]
cmp byte [esp + ebx + 0x14], 0
je 0x48bb2e
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, 0x7b19a4
jl 0x48bafe
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x48ba87
lea edx, [esp + 0x84]
push edx
call fcn.0048bb70
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x48f3d0
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x10
lea eax, [esp]
push esi
mov esi, dword [esp + 0x18]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_GetWindowDC]
push eax
mov dword [esi + 4], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 1
push eax
mov dword [esi + 8], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x48f41a
push eax
mov eax, dword [esi + 8]
mov dword [esi + 0x18], 0
push eax
jmp 0x48f449
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
sub ecx, eax
mov eax, dword [esi + 4]
push ecx
mov ecx, dword [esp + 8]
mov dword [esi + 0x18], 1
sub edx, ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [esi + 8]
push eax
mov dword [esi + 0x10], eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0xc]
cmp eax, 1
jne 0x48f48b
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [esp + 0x18]
sub eax, edx
mov edx, dword [esp + 0x14]
sub ecx, edx
mov edx, dword [esi + 8]
push eax
push ecx
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 8]
pop esi
add esp, 0x10
ret 4
Function at 0x4ad290
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4c79e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov al, byte [esp + 0x3c]
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov byte [esp + 0x10], al
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x44]
push ebx
mov dword [esp + 0x40], ebx
mov byte [esp + 0x28], al
mov edx, dword [ecx]
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], edx
call fcn.004a2212
mov eax, dword [0x7977c0]
lea ecx, [esp + 0x10]
push eax
push ebx
push ecx
lea ecx, [esp + 0x30]
call fcn.004a2144
lea edx, [esp + 0x20]
lea eax, [esp + 8]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x44], 1
call fcn.004add30
mov esi, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov dword [esp + 0xc], ecx
je 0x4ad337
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4ad32e
cmp al, 0xff
je 0x4ad32e
dec al
mov byte [ecx], al
jmp 0x4ad337
push ecx
call fcn.004b6cae
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], ebx
cmp eax, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
je 0x4ad368
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4ad35f
cmp al, 0xff
je 0x4ad35f
dec al
mov byte [ecx], al
jmp 0x4ad368
push ecx
call fcn.004b6cae
add esp, 4
mov ecx, dword [esp + 0x34]
lea eax, [esi + 0x10]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 4
Function at 0x4b9352
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4b938a
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004b739f
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004b7377
jmp 0x4b9396
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4baa44
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4baa86
call fcn.004c06c6
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4baa86
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4baa7d
xor eax, eax
jmp 0x4baa8e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004baa94
pop edi
pop esi
pop ebx
ret 4

Function at 0x4c0bf6
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4c0c24
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4c0c42
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004c0b5c
jmp 0x4c0c42
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4c0c42
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004c0b5c
test edi, edi
mov eax, edi
jne 0x4c0c2c
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x52b7ab
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x52b7b1
ret

Function at 0x589544
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push esi
call 0x58954d
pop eax
mov esi, dword fs:[0x30]
mov esi, dword [esi + 0xc]
mov esi, dword [esi + 0x1c]
push esi
mov ebx, dword [esi + 8]
cmp eax, ebx
jb 0x589570
mov ecx, dword [esi + 0x10]
add ecx, ebx
cmp eax, ecx
ja 0x589570
mov eax, ebx
jmp 0x589585
mov esi, dword [esi]
mov ebx, dword [esi]
cmp ebx, dword [esp]
jne 0x58955c
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
pop esi
pop esi
leave
ret
Function at 0x595a6b
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x1006f258
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [esp + 0x40]
push ebx
push esi
lea ecx, [esp + 8]
push eax
push ecx
mov ecx, dword [esp + 0x4c]
call fcn.00595e5b
mov esi, eax
lea edx, [esp + 0x48]
xor ebx, ebx
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], 0x100c94ec
call fcn.005d07fe
mov ecx, dword [0x100706c4]
mov al, byte [esi]
push ecx
push ebx
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 1
mov byte [esp + 0x30], al
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.005931eb
mov esi, 0x1007071c
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0xc]
mov byte [esp + 0x3c], 3
cmp eax, ebx
je 0x595b12
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x595b09
cmp al, 0xff
je 0x595b09
dec al
mov byte [ecx], al
jmp 0x595b12
push ecx
call fcn.005cf4c9
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
call fcn.005dbb1b
mov eax, dword [esp + 0x28]
mov dword [esp + 0x3c], 0xffffffff
cmp eax, ebx
mov dword [esp + 0x18], esi
je 0x595b58
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x595b4f
cmp al, 0xff
je 0x595b4f
dec al
mov byte [ecx], al
jmp 0x595b58
push ecx
call fcn.005cf4c9
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.005d0885
mov ecx, dword [esp + 0x34]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x59dd5b
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10070e10
push 0x100364ec
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
push dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
rdtsc
mov esi, eax
mov edi, edx
call ebx
rdtsc
pop ebx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0xffffffff
xor esi, esi
mov edi, dword [ebp - 0x20]
push 1
push esi
push esi
mov eax, dword [ebp - 0x28]
push eax
call fcn.005b418b
sub eax, esi
sbb edx, edi
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
sbb edx, esi
mov ecx, dword [ebp - 0x24]
add eax, ecx
adc edx, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x59fa2b
Capabilities:
Get storage device properties

Disassembly:
mov eax, 0x2820
call fcn.005b457b
mov eax, dword [esp + 0x2824]
push ebx
push esi
push edi
push eax
lea ecx, [esp + 0x20]
push 0x1008e57e
push ecx
call fcn.005b3d3e
add esp, 0xc
lea edx, [esp + 0x1c]
push 0
push 0
push 3
push 0
push 3
push 0
push edx
call dword [0x10070328]
mov esi, eax
cmp esi, 0xffffffff
je 0x59fbd8
xor eax, eax
mov ecx, 0x9c4
mov dword [esp + 0x10], eax
lea edi, [esp + 0x11c]
mov dword [esp + 0x14], eax
mov ebx, dword [0x1007028c]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
push eax
push ecx
lea edx, [esp + 0x124]
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
push 0x2710
push edx
lea eax, [esp + 0x20]
push 0xc
push eax
push 0x2d1400
push esi
mov dword [esp + 0x2c], 0
call ebx
test eax, eax
je 0x59fbd8
mov ecx, dword [esp + 0x283c]
mov edx, dword [esp + 0x128]
push ecx
push 0
lea eax, [esp + 0x124]
push edx
push eax
call fcn.0059fbeb
mov ecx, dword [esp + 0x2848]
mov edx, dword [esp + 0x13c]
push ecx
push 0
lea eax, [esp + 0x134]
push edx
push eax
call fcn.0059fbeb
mov ecx, dword [esp + 0x2860]
mov edx, dword [esp + 0x150]
push ecx
push 0
lea eax, [esp + 0x144]
push edx
push eax
call fcn.0059fbeb
mov ecx, dword [esp + 0x2864]
mov edx, dword [esp + 0x164]
push ecx
push 1
lea eax, [esp + 0x154]
push edx
push eax
call fcn.0059fbeb
mov ecx, dword [esp + 0x2884]
add esp, 0x40
xor eax, eax
lea edi, [esp + 0x11c]
mov dword [ecx], 1
mov ecx, 0x9c4
lea edx, [esp + 0xc]
push eax
rep stosd dword es:[edi], eax
push edx
lea eax, [esp + 0x124]
push 0x2710
push eax
push 0
push 0
push 0x700a0
push esi
call ebx
test eax, eax
je 0x59fbd8
mov edi, dword [esp + 0x124]
mov edx, dword [esp + 0x2848]
mov eax, dword [esp + 0x284c]
xor ecx, ecx
cmp edi, 0xc
push esi
setne cl
inc ecx
mov dword [edx], ecx
mov ecx, dword [esp + 0x138]
mov edx, dword [esp + 0x13c]
mov dword [eax], ecx
mov dword [eax + 4], edx
call dword [0x10070360]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x2820
ret
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x2820
ret
Function at 0x5e52ab
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x1006f930
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov al, byte [esp + 0x3c]
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov byte [esp + 0x10], al
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x44]
push ebx
mov dword [esp + 0x40], ebx
mov byte [esp + 0x28], al
mov edx, dword [ecx]
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], edx
call fcn.005da0a0
mov eax, dword [0x10079740]
lea ecx, [esp + 0x10]
push eax
push ebx
push ecx
lea ecx, [esp + 0x30]
call fcn.005d9fd2
lea edx, [esp + 0x20]
lea eax, [esp + 8]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x44], 1
call fcn.005e5d9b
mov esi, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov dword [esp + 0xc], ecx
je 0x5e5352
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x5e5349
cmp al, 0xff
je 0x5e5349
dec al
mov byte [ecx], al
jmp 0x5e5352
push ecx
call fcn.005cf4c9
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], ebx
cmp eax, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
je 0x5e5383
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x5e537a
cmp al, 0xff
je 0x5e537a
dec al
mov byte [ecx], al
jmp 0x5e5383
push ecx
call fcn.005cf4c9
add esp, 4
mov ecx, dword [esp + 0x34]
lea eax, [esi + 0x10]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 4
Function at 0x8732e9
Capabilities:
Packed with generic packer

Disassembly:
push word [esp + 7]
jmp 0x406af1
push word [esp + 7]
jmp 0x406af1
pop word [esp]
lea esp, [esp + 4]
push dword [esp + 2]
jbe 0x873277
ja 0x873289
pushfd
mov word [esp + 1], dx
mov word [esp], bx
push dword [esp + 3]
mov byte [esp + 1], cl
pushal
lea esp, [esp + 0x1e]
pop dword [esp]
jmp 0x8732a9
Function at 0xf1a1d2
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov dword [ebp - 0x98], 0x94
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x88], 0
jne 0xf1a207
mov dword [ebp - 4], 0
jmp 0xf1a28c
cmp dword [ebp - 0x88], 2
jne 0xf1a261
cmp dword [ebp - 0x94], 4
ja 0xf1a222
mov dword [ebp - 4], 4
jmp 0xf1a25f
cmp dword [ebp - 0x94], 5
jne 0xf1a258
cmp dword [ebp - 0x90], 0
jne 0xf1a23d
mov dword [ebp - 4], 5
jmp 0xf1a256
cmp dword [ebp - 0x90], 1
jne 0xf1a24f
mov dword [ebp - 4], 6
jmp 0xf1a256
mov dword [ebp - 4], 7
jmp 0xf1a25f
mov dword [ebp - 4], 8
jmp 0xf1a28c
cmp dword [ebp - 0x90], 0
jne 0xf1a273
mov dword [ebp - 4], 1
jmp 0xf1a28c
cmp dword [ebp - 0x90], 0xa
jne 0xf1a285
mov dword [ebp - 4], 2
jmp 0xf1a28c
mov dword [ebp - 4], 3
mov cl, byte [ebp - 4]
mov byte [0xf14d36], cl
cmp dword [ebp - 4], 0
je 0xf1a2a7
cmp dword [ebp - 4], 1
je 0xf1a2a7
cmp dword [ebp - 4], 4
jne 0xf1a2ae
mov eax, 0x1a0
jmp 0xf1a2b0
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0xf1a88e
Capabilities:
Delete directory
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x100]
push ecx
call fcn.00f1a9e1
add esp, 8
push 0xf181c8
lea edx, [ebp - 0x100]
push edx
call fcn.00f1aa26
add esp, 8
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x100]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA_1]
mov dword [ebp - 0x244], eax
cmp dword [ebp - 0x244], 0xffffffff
jne 0xf1a8ef
mov edx, dword [ebp + 0xc]
mov dword [edx], 0
jmp 0xf1a9dd
lea eax, [ebp - 0x214]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0xf181cc
lea edx, [ebp - 0x100]
push edx
call dword [fcn.00f47970]
add esp, 0x10
mov eax, dword [ebp - 0x240]
and eax, 0x10
test eax, eax
je 0xf1a96d
push 0xf181d4
lea ecx, [ebp - 0x214]
push ecx
call fcn.00f1aa74
add esp, 8
test eax, eax
je 0xf1a94c
push 0xf181d8
lea edx, [ebp - 0x214]
push edx
call fcn.00f1aa74
add esp, 8
test eax, eax
jne 0xf1a94e
jmp 0xf1a989
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x100]
push ecx
call fcn.00f1a88e
add esp, 8
mov edx, dword [ebp + 0xc]
cmp dword [edx], 0
jne 0xf1a96b
jmp 0xf1a9dd
jmp 0xf1a989
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA_1]
test eax, eax
jne 0xf1a989
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0
jmp 0xf1a9dd
lea edx, [ebp - 0x240]
push edx
mov eax, dword [ebp - 0x244]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA_1]
test eax, eax
jne 0xf1a8ef
lea ecx, [ebp - 0x248]
push ecx
mov edx, dword [ebp - 0x244]
push edx
call fcn.00f32036
add esp, 8
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0xf1a9d4
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0
jmp 0xf1a9dd
mov edx, dword [ebp + 0xc]
mov dword [edx], 1
mov esp, ebp
pop ebp
ret
Function at 0xf1aabe
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_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0xf1ae26
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
jne 0xf1ae58
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [0xf47a58], eax
cmp dword [0xf47a58], 0
jne 0xf1ae50
mov eax, 0x2da
jmp 0xf1ae76
mov eax, dword [0xf47a58]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0xf1ae74
mov eax, 0x258
jmp 0xf1ae76
xor eax, eax
pop ebp
ret
Function at 0xf1ae87
Capabilities:
Contain obfuscated stackstrings
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x180
mov ax, word [0xf181dc]
mov word [ebp - 0x168], ax
mov byte [ebp - 0x178], 0x4d
mov byte [ebp - 0x177], 0x69
mov byte [ebp - 0x176], 0x63
mov byte [ebp - 0x175], 0x72
mov byte [ebp - 0x174], 0x6f
mov byte [ebp - 0x173], 0x63
mov byte [ebp - 0x172], 0x6f
mov byte [ebp - 0x171], 0x73
mov byte [ebp - 0x170], 0x6d
mov byte [ebp - 0x16f], 0
push 0x100
lea ecx, [ebp - 0x164]
push ecx
push 0xf181e0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0xf1af03
jmp 0xf1b0e9
lea edx, [ebp - 0x164]
push edx
call fcn.00f1ac7b
add esp, 4
movsx eax, byte [ebp + eax - 0x165]
cmp eax, 0x5c
je 0xf1af33
push 0xf181f0
lea ecx, [ebp - 0x164]
push ecx
call fcn.00f1aa26
add esp, 8
push 0xf13150
call fcn.00f1a2f1
add esp, 4
lea edx, [ebp - 0x178]
push edx
lea eax, [ebp - 0x164]
push eax
call fcn.00f1aa26
add esp, 8
lea ecx, [ebp - 0x164]
push ecx
call fcn.00f1aabe
add esp, 4
test eax, eax
jne 0xf1af8d
lea edx, [ebp - 0x180]
push edx
lea eax, [ebp - 0x164]
push eax
call fcn.00f1aade
add esp, 8
cmp dword [ebp - 0x180], 0
jne 0xf1af8d
jmp 0xf1b0e9
lea ecx, [ebp - 0x168]
push ecx
lea edx, [ebp - 0x164]
push edx
call fcn.00f1aa26
add esp, 8
push 0xf181f4
lea eax, [ebp - 0x164]
push eax
call fcn.00f1aa26
add esp, 8
lea ecx, [ebp - 0x17c]
push ecx
push 0x80
push 0xc0000000
push 4
lea edx, [ebp - 0x164]
push edx
call fcn.00f1a705
add esp, 0x14
cmp dword [ebp - 0x17c], 0xffffffff
jne 0xf1afe7
jmp 0xf1b0e9
push 0xf13150
call fcn.00f1a4f8
add esp, 4
push 2
push 0
push 0
mov eax, dword [ebp - 0x17c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer_1]
cmp eax, 0xffffffff
jne 0xf1b027
lea ecx, [ebp - 0x180]
push ecx
mov edx, dword [ebp - 0x17c]
push edx
call fcn.00f1a828
add esp, 8
jmp 0xf1b0e9
push 0xf18204
lea eax, [ebp - 0x16c]
push eax
call fcn.00f1a9e1
add esp, 8
mov ecx, dword [0xf1581b]
shr ecx, 0x10
push ecx
mov edx, dword [0xf1581b]
and edx, 0xffff
push edx
mov eax, dword [0xf1581f]
push eax
mov ecx, dword [0xf14898]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x16c]
push eax
movsx ecx, byte [0xf14f5f]
push ecx
movsx edx, byte [0xf14f60]
push edx
movsx eax, byte [0xf14f61]
push eax
movsx ecx, word [0xf14f64]
push ecx
movsx edx, byte [0xf14f63]
push edx
movsx eax, byte [0xf14f62]
push eax
push 0xf18208
lea ecx, [ebp - 0x64]
push ecx
call dword [fcn.00f47970]
add esp, 0x38
lea edx, [ebp - 0x180]
push edx
lea eax, [ebp - 0x64]
push eax
call fcn.00f1ac7b
add esp, 4
push eax
lea ecx, [ebp - 0x64]
push ecx
mov edx, dword [ebp - 0x17c]
push edx
call fcn.00f1a778
add esp, 0x10
lea eax, [ebp - 0x180]
push eax
mov ecx, dword [ebp - 0x17c]
push ecx
call fcn.00f1a828
add esp, 8
mov esp, ebp
pop ebp
ret
Function at 0xf2eae2
Capabilities:
Allocate or change rwx memory
Check for software breakpoints
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x2c], ecx
mov dword [0xf47954], 0xf37010
mov dword [0xf47a00], 0xf37010
mov dword [0xf479ac], 0xf44ec8
mov dword [ebp - 0x28], 0xf4786e
mov edx, dword [ebp + 8]
mov dword [edx + 0x1e07], 0xf44eee
mov eax, dword [0xf47954]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
xor edx, edx
div dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
sub ecx, edx
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
mov dword [0xf47954], edx
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x34]
lea eax, [edx + ecx + 1]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
xor edx, edx
div dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x34]
sub ecx, edx
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x34]
sub edx, dword [ebp - 0x30]
mov dword [0xf47a28], edx
push 0xf47928
push 0x40
mov eax, dword [0xf47a28]
push eax
mov ecx, dword [0xf47954]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0xf2ebb1
call dword [sym.imp.KERNEL32.dll_GetLastError_1]
mov edx, dword [ebp + 8]
mov dword [edx + 0x1748], eax
mov eax, 0x1ed
jmp 0xf2ecb6
mov dword [ebp - 0x30], 0
jmp 0xf2ebc3
mov eax, dword [ebp - 0x30]
add eax, 1
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x64
jae 0xf2ebe6
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1e07]
mov eax, dword [ebp - 0x30]
xor ecx, ecx
mov cl, byte [edx + eax]
cmp ecx, 0xc3
jne 0xf2ebe4
jmp 0xf2ebe6
jmp 0xf2ebba
cmp dword [ebp - 0x30], 0x64
jne 0xf2ebf6
mov eax, 0x1f3
jmp 0xf2ecb6
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1e07]
mov ecx, dword [ebp - 0x30]
lea edx, [eax + ecx + 1]
mov eax, dword [ebp + 8]
mov dword [eax + 0x1e07], edx
mov ecx, dword [ebp + 8]
mov edx, 0xf4786e
sub edx, dword [ecx + 0x1e07]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 0x1e0b], edx
mov dword [ebp - 0x30], 0
jmp 0xf2ec3b
mov ecx, dword [ebp - 0x30]
add ecx, 1
mov dword [ebp - 0x30], ecx
cmp dword [ebp - 0x30], 0x64
jae 0xf2ec56
mov edx, dword [0xf47a00]
add edx, dword [ebp - 0x30]
cmp dword [edx], 0x9bd7edd9
jne 0xf2ec54
jmp 0xf2ec56
jmp 0xf2ec32
cmp dword [ebp - 0x30], 0x64
jne 0xf2ec63
mov eax, 0x1f4
jmp 0xf2ecb6
jmp 0xf2ec6e
mov eax, dword [ebp - 0x30]
add eax, 1
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x64
jae 0xf2ec8d
mov ecx, dword [0xf47a00]
add ecx, dword [ebp - 0x30]
xor edx, edx
mov dl, byte [ecx]
cmp edx, 0xcc
jne 0xf2ec8b
jmp 0xf2ec8d
jmp 0xf2ec65
cmp dword [ebp - 0x30], 0x64
jne 0xf2ec9a
mov eax, 0x1f4
jmp 0xf2ecb6
mov eax, dword [ebp - 0x30]
mov ecx, dword [0xf47a00]
lea edx, [ecx + eax + 1]
mov dword [0xf47a00], edx
mov byte [0xf4799c], 0
xor eax, eax
mov esp, ebp
pop ebp
ret