joyce8/EMBER2024-capa huggingface dataset:
Function at 0x438070
Capabilities:
Hash data with md5

Disassembly:
push esi
sub esp, 8
mov dword [esp + 4], ecx
mov eax, ecx
mov edx, dword [0x498cec]
mov esi, dword [0x4995a0]
lea edx, [edx + esi + 0x422efde8]
mov dword [0x4995a0], edx
mov dword [ecx], 0
mov ecx, dword [0x4956e4]
mov edx, ecx
dec edx
mov dword [0x4956e4], edx
imul ecx, ecx, 0xadc0e95b
cmp ecx, 0x96fefcfd
mov dword [esp], eax
jge 0x4380cc
mov eax, dword [0x497654]
add eax, 0xe8fe29f7
mov dword [0x497654], eax
mov eax, 0xb4a3d1a1
mov ecx, dword [esp]
mov dword [ecx + 4], 0
mov edx, dword [0x498664]
dec edx
mov dword [0x498664], edx
mov esi, dword [0x4954d0]
xor edx, esi
cmp eax, edx
jle 0x438119
mov eax, dword [0x498558]
mov ecx, eax
inc ecx
mov dword [0x498558], ecx
add eax, 0xc7f475b1
mov ecx, dword [0x495dac]
and ecx, eax
mov dword [0x495dac], ecx
mov eax, dword [esp]
mov dword [eax + 8], 0x67452301
mov ecx, dword [0x49aea0]
mov edx, ecx
inc edx
mov dword [0x49aea0], edx
xor ecx, 0x136c78cb
mov edx, dword [0x4993d4]
imul edx, ecx
mov dword [0x4993d4], edx
mov dword [eax + 0xc], 0xefcdab89
mov ecx, dword [0x4969f0]
imul ecx, ecx, 0xc8c455ce
mov edx, 0xcf99e81
sub edx, ecx
mov dword [0x497238], edx
mov dword [eax + 0x10], 0x98badcfe
mov ecx, dword [0x496228]
sar ecx, 0xa
and ecx, 0x7d353781
xor ecx, 0x3b6d60fa
mov edx, dword [0x4955c0]
and edx, ecx
mov dword [0x4955c0], edx
mov dword [eax + 0x14], 0x10325476
mov ecx, dword [0x499d98]
add ecx, 0x642b0975
mov dword [0x499d98], ecx
add esp, 8
pop esi
ret
Function at 0x4472c0
Capabilities:
Terminate process

Disassembly:
push esi
sub esp, 0x14
mov eax, dword [esp + 0x1c]
mov ecx, 0x6d28b21f
mov dword [esp + 0x10], eax
mov eax, dword [0x498c5c]
add eax, 0xe14a12f
mov dword [0x498c5c], eax
mov eax, dword [0x49ed2c]
mov edx, esp
mov dword [edx], eax
mov dword [esp + 0xc], ecx
call fcn.0042c960
mov si, word [0x49cece]
movsx ecx, si
mov edx, dword [esp + 0xc]
cmp edx, ecx
mov byte [esp + 0xb], al
jg 0x447324
mov ax, word [0x49e08c]
mov cx, ax
add ecx, 0xd98bebd1
mov ax, cx
mov word [0x49e08c], ax
mov eax, 1
mov dword [esp], 1
mov dword [esp + 4], eax
call fcn.00456bb8
int3
Function at 0x472eb3
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x492b50]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.004615c6
mov dword [ebp - 0x14], eax
cmp dword [0x4a036c], esi
jne 0x472fa6
push 0x800
push esi
push 0x4887c0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x472f33
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x473086
push esi
push esi
push 0x4887c0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x473086
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x473086
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4a036c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4a0370], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4a0374], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4a037c], eax
test eax, eax
je 0x472fa3
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4a0378], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x472fcb
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x472fbe
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x472fe0
push 4
pop eax
jmp 0x473088
cmp dword [ebp - 0x14], esi
je 0x472fe0
push dword [0x4a036c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x472fc5
mov eax, dword [0x4a0378]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x47303e
cmp dword [0x4a037c], edi
je 0x47303e
push eax
call ebx
push dword [0x4a037c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x47303e
test eax, eax
je 0x47303e
call ecx
test eax, eax
je 0x473033
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x473033
test byte [ebp - 8], 1
jne 0x47303e
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x47306e
mov eax, dword [0x4a0370]
cmp eax, edi
je 0x47306b
push eax
call ebx
test eax, eax
je 0x47306b
call eax
mov esi, eax
test esi, esi
je 0x47306b
mov eax, dword [0x4a0374]
cmp eax, edi
je 0x47306b
push eax
call ebx
test eax, eax
je 0x47306b
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4a036c]
call ebx
test eax, eax
je 0x473086
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x473088
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00468459
mov esp, ebp
pop ebp
ret
Function at 0x10002617
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x454
mov eax, dword [0x1006d1fc]
xor eax, esp
mov dword [esp + 0x450], eax
push esi
mov esi, dword [esp + 0x45c]
push edi
mov edi, dword [esp + 0x464]
push esi
mov dword [esp + 0x1c], esi
call dword [sym.imp.GDI32.dll_SaveDC]
push 2
push esi
mov dword [esp + 0x18], eax
call dword [sym.imp.GDI32.dll_SetGraphicsMode]
push 1
push 0
push esi
call dword [sym.imp.GDI32.dll_ModifyWorldTransform]
xor eax, eax
push eax
push eax
push eax
push esi
call dword [sym.imp.GDI32.dll_SetViewportOrgEx]
xor eax, eax
push eax
push eax
push eax
push esi
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
push 0x58
push esi
mov esi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
call esi
push 0x5a
push dword [esp + 0x1c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x1c], xmm0
call esi
movss xmm0, dword [esp + 0x14]
mulss xmm0, dword [0x10049d40]
push 1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
divss xmm0, dword [0x10049d58]
cvttss2si eax, xmm0
mov dword [esp + 0xc], eax
imul eax, dword [esp + 0x46c], 0xa
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
divss xmm0, dword [0x10049d58]
cvttss2si eax, xmm0
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x20]
call dword [sym.imp.GDI32.dll_DPtoLP]
movd xmm0, dword [esp + 0xc]
cvtdq2pd xmm0, xmm0
push 0x400
andps xmm0, xmmword [0x10049d60]
divsd xmm0, qword [0x10049d50]
addsd xmm0, qword [0x10049d48]
cvttsd2si eax, xmm0
neg eax
mov dword [esp + 0x20], eax
xor eax, eax
cmp dword [esp + 0x470], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
setne byte [esp + 0x35]
mov dword [esp + 0x2c], eax
mov byte [esp + 0x34], al
mov dword [esp + 0x36], eax
mov word [esp + 0x3a], ax
mov eax, dword [esp + 0x474]
neg eax
sbb eax, eax
and eax, 0x2bc
mov dword [esp + 0x30], eax
lea eax, [esp + 0x5c]
push eax
push 0x1002
push 0x800
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 5
lea eax, [esp + 0x5c]
push 0x10049560
push eax
call fcn.10024520
test eax, eax
mov ecx, 0x10049568
lea eax, [esp + 0x44]
cmovne ecx, edi
push ecx
push 0x20
push eax
call fcn.10024462
add esp, 0x18
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push dword [esp + 0x10]
mov esi, eax
push dword [esp + 0x1c]
call dword [sym.imp.GDI32.dll_RestoreDC]
mov ecx, dword [esp + 0x458]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.1001efb2
add esp, 0x454
ret 0x14
Function at 0x10009482
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x454
mov eax, dword [0x1006d1fc]
xor eax, esp
mov dword [esp + 0x450], eax
push esi
mov esi, dword [esp + 0x45c]
push edi
mov edi, dword [esp + 0x464]
push esi
mov dword [esp + 0x1c], esi
call dword [sym.imp.GDI32.dll_SaveDC]
push 2
push esi
mov dword [esp + 0x18], eax
call dword [sym.imp.GDI32.dll_SetGraphicsMode]
push 1
push 0
push esi
call dword [sym.imp.GDI32.dll_ModifyWorldTransform]
xor eax, eax
push eax
push eax
push eax
push esi
call dword [sym.imp.GDI32.dll_SetViewportOrgEx]
xor eax, eax
push eax
push eax
push eax
push esi
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
push 0x58
push esi
mov esi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
call esi
push 0x5a
push dword [esp + 0x1c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x1c], xmm0
call esi
movss xmm0, dword [esp + 0x14]
mulss xmm0, dword [0x10049d40]
push 1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
divss xmm0, dword [0x10049d58]
cvttss2si eax, xmm0
mov dword [esp + 0xc], eax
imul eax, dword [esp + 0x46c], 0xa
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
divss xmm0, dword [0x10049d58]
cvttss2si eax, xmm0
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x20]
call dword [sym.imp.GDI32.dll_DPtoLP]
movd xmm0, dword [esp + 0xc]
cvtdq2pd xmm0, xmm0
push 0x400
andps xmm0, xmmword [0x10049d60]
divsd xmm0, qword [0x10049d50]
addsd xmm0, qword [0x10049d48]
cvttsd2si eax, xmm0
neg eax
mov dword [esp + 0x20], eax
xor eax, eax
cmp dword [esp + 0x470], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
setne byte [esp + 0x35]
mov dword [esp + 0x2c], eax
mov byte [esp + 0x34], al
mov dword [esp + 0x36], eax
mov word [esp + 0x3a], ax
mov eax, dword [esp + 0x474]
neg eax
sbb eax, eax
and eax, 0x2bc
mov dword [esp + 0x30], eax
lea eax, [esp + 0x5c]
push eax
push 0x1002
push 0x800
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 5
lea eax, [esp + 0x5c]
push 0x1004b46c
push eax
call fcn.10024520
test eax, eax
mov ecx, 0x1004b474
lea eax, [esp + 0x44]
cmovne ecx, edi
push ecx
push 0x20
push eax
call fcn.10024462
add esp, 0x18
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push dword [esp + 0x10]
mov esi, eax
push dword [esp + 0x1c]
call dword [sym.imp.GDI32.dll_RestoreDC]
mov ecx, dword [esp + 0x458]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.1001efb2
add esp, 0x454
ret 0x14
Function at 0x1000c274
Capabilities:
Copy file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x1006d1fc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x214]
push edi
mov edi, dword [ebp + 8]
push 0x105
push eax
push esi
call fcn.1000c216
add esp, 0xc
test eax, eax
je 0x1000c2ec
lea eax, [ebp - 0x10c]
push eax
push 0
push 0x1004cc44
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
je 0x1000c2ec
push 0
lea eax, [ebp - 0x10c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x1000c2ec
lea eax, [ebp - 0x10c]
push esi
push eax
call fcn.1000bf9c
pop ecx
pop ecx
jmp 0x1000c2ee
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1001efb2
leave
ret

Function at 0x1000c2fc
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
shr eax, 4
and eax, 1
ret
Function at 0x1000da07
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x120
mov eax, dword [0x1006d1fc]
xor eax, esp
mov dword [esp + 0x11c], eax
push ebx
mov ebx, ecx
mov ecx, dword [esp + 0x128]
push ebp
push esi
xor ebp, ebp
mov dword [esp + 0x1c], ecx
mov eax, dword [ebx + 4]
or eax, 0x2001f
mov dword [esp + 0xc], ebp
push eax
push ecx
push dword [ebx]
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
call fcn.10006af6
mov esi, eax
test esi, esi
jne 0x1000dae6
lea eax, [esp + 0x20]
mov dword [esp + 0x18], 0x100
push eax
push ebp
push ebp
push ebp
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x3c]
push eax
push ebp
push dword [esp + 0x28]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
call ebp
test eax, eax
jne 0x1000dabe
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x10]
call fcn.1000da07
mov esi, eax
test esi, esi
jne 0x1000dae6
lea eax, [esp + 0x20]
mov dword [esp + 0x18], 0x100
push eax
push esi
push esi
push esi
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x3c]
push eax
push esi
push dword [esp + 0x28]
call ebp
test eax, eax
je 0x1000da83
jmp 0x1000dac0
xor esi, esi
cmp dword [esp + 0xc], 0
je 0x1000dad5
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], esi
push dword [esp + 0x1c]
mov ecx, ebx
mov dword [esp + 0x14], esi
call fcn.1000d39a
mov esi, eax
cmp dword [esp + 0xc], 0
je 0x1000daf7
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x128]
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1001efb2
add esp, 0x120
ret 4
Function at 0x1000e6d5
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8

Function at 0x1000e6ef
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 8]
push ebx
mov ebx, ecx
test edx, edx
jne 0x1000e6ff
push 0xd
pop eax
jmp 0x1000e735
push esi
push edi
xor esi, esi
mov edi, edx
push ebp
mov ecx, edi
lea ebp, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000e70b
sub ecx, ebp
lea eax, [ecx + 1]
add edi, eax
add esi, eax
cmp eax, 1
jne 0x1000e706
pop ebp
push esi
push edx
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
ret 8

Function at 0x1000eb69
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1000ebc3
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x1000ebc3
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [ebp + 0x10]
lea ecx, [esi + eax]
and edx, 0xf
jbe 0x1000ebb3
cmp esi, ecx
jae 0x1000ebc3
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edx, 1
jne 0x1000eba1
cmp esi, ecx
jae 0x1000ebc3
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
jmp 0x1000ebc5
xor eax, eax
pop esi
pop ebp
ret

Function at 0x1000eca2
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x1006d1fc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push eax
mov ebx, 0x104
lea eax, [ebp - 0x108]
push ebx
push eax
call fcn.10024462
mov cl, byte [ebp - 0x108]
lea eax, [ebp - 0x108]
add esp, 0xc
jmp 0x1000ece9
cmp cl, 0x5c
jne 0x1000ece6
mov byte [eax], 0x2f
inc eax
mov cl, byte [eax]
test cl, cl
jne 0x1000ecde
lea eax, [ebp - 0x108]
push 0x2f
push eax
call fcn.100299ba
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x1000ed4d
push edi
lea eax, [ebp - 0x108]
mov edi, esi
sub edi, eax
push edi
push eax
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.10029d23
add esp, 0x10
cmp edi, ebx
jae 0x1000ed5b
lea eax, [ebp - 0x20c]
mov byte [ebp + edi - 0x20c], 0
push eax
call fcn.1002b69c
lea eax, [esi + 1]
push 0x2f
push eax
call fcn.100299ba
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x1000ed04
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1001efb2
leave
ret
call fcn.1001f396
int3
Function at 0x1000eec4
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0xb0]
sub esp, 0x130
mov eax, dword [0x1006d1fc]
xor eax, ebp
mov dword [ebp + 0xac], eax
mov eax, dword [ebp + 0xb8]
push esi
mov esi, dword [ebp + 0xbc]
push 0x1004ec7c
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.1002a84f
add esp, 0xc
test eax, eax
jne 0x1000f021
push esi
call fcn.1002b691
pop ecx
test eax, eax
jne 0x1000f021
push edi
xor edi, edi
inc edi
jmp 0x1000effd
cmp dword [ebp - 0x78], 0x4034b50
jne 0x1000f017
cmp word [ebp - 0x70], 0
jne 0x1000f017
push dword [ebp - 0x7c]
movzx eax, word [ebp - 0x5e]
movzx esi, word [ebp - 0x5e]
push eax
lea eax, [ebp - 0x58]
push edi
push eax
call fcn.1002abc4
add esp, 0x10
cmp eax, esi
jne 0x1000f017
cmp esi, 0x104
jae 0x1000f042
lea eax, [ebp - 0x58]
mov byte [ebp + esi - 0x58], 0
push eax
call fcn.1000eca2
mov ax, word [ebp - 0x5c]
pop ecx
test ax, ax
je 0x1000ef93
push edi
movzx eax, ax
push eax
push dword [ebp - 0x7c]
call fcn.1002afe8
add esp, 0xc
test eax, eax
jne 0x1000f017
movzx eax, word [ebp - 0x5e]
cmp byte [ebp + eax - 0x59], 0x2f
je 0x1000effd
push 0x1004ec80
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.1002a84f
add esp, 0xc
test eax, eax
jne 0x1000f017
push dword [ebp - 0x62]
call fcn.1001f26b
push dword [ebp - 0x7c]
mov esi, eax
push dword [ebp - 0x62]
push edi
push esi
call fcn.1002abc4
add esp, 0x14
cmp eax, dword [ebp - 0x62]
jne 0x1000f037
push dword [ebp - 0x80]
push dword [ebp - 0x62]
push edi
push esi
call fcn.1002b2e7
add esp, 0x10
cmp eax, dword [ebp - 0x62]
jne 0x1000f037
push edi
push esi
call fcn.1001ec7c
push dword [ebp - 0x80]
call fcn.1002a9bb
add esp, 0xc
push dword [ebp - 0x7c]
lea eax, [ebp - 0x78]
push edi
push 0x1e
push eax
call fcn.1002abc4
add esp, 0x10
cmp eax, edi
je 0x1000ef1e
push dword [ebp - 0x7c]
call fcn.1002a9bb
pop ecx
pop edi
mov ecx, dword [ebp + 0xac]
xor ecx, ebp
pop esi
call fcn.1001efb2
add ebp, 0xb0
leave
ret
push edi
push esi
call fcn.1001ec7c
pop ecx
pop ecx
jmp 0x1000f017
call fcn.1001f396
int3
Function at 0x1000f048
Capabilities:
Create directory
Query or enumerate registry value

Disassembly:
mov eax, 0x114c
call fcn.1001f210
mov eax, dword [0x1006d1fc]
xor eax, esp
mov dword [esp + 0x1148], eax
push ebx
mov ebx, dword [esp + 0x1154]
lea eax, [esp + 0x14c]
push ebp
push esi
push edi
mov ebp, 0x800
xor esi, esi
push ebp
push esi
push eax
mov dword [esp + 0x1c], esi
call fcn.10022500
push ebp
lea eax, [esp + 0x968]
push esi
push eax
call fcn.10022500
push str.SOFTWAREMozillaMozilla_Firefox
lea eax, [esp + 0x174]
mov dword [esp + 0x30], ebp
push ebp
push eax
call fcn.10024462
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
lea eax, [esp + 0x34]
add esp, 0x24
push eax
lea eax, [esp + 0x15c]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call ebp
test eax, eax
jne 0x1000f0fa
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x95c]
push eax
push esi
push esi
push 0x1004eca8
push dword [esp + 0x24]
call edi
push dword [esp + 0x10]
test eax, eax
je 0x1000f115
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [esp + 0x1158]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1001efb2
add esp, 0x114c
ret
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
lea eax, [esp + 0x958]
push eax
lea eax, [esp + 0x15c]
push str.SOFTWAREMozillaMozilla_Firefox_sMain
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x15c]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call ebp
test eax, eax
jne 0x1000f0fa
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x800
push eax
push ebx
xor ebp, ebp
push ebp
push ebp
push 0x1004ece4
push dword [esp + 0x24]
call edi
push dword [esp + 0x10]
test eax, eax
je 0x1000f17f
call esi
jmp 0x1000f0fa
call esi
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000f186
sub ecx, edx
cmp byte [ecx + ebx - 1], 0x5c
je 0x1000f1aa
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1000f199
mov ax, word [0x1004ecf8]
mov word [edi], ax
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1000f1ad
mov esi, str.extensions
lea eax, [esp + 0x18]
push eax
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x1000f1e8
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x1000f0fa
xor eax, eax
inc eax
jmp 0x1000f0fc
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x18]
shr eax, 4
and eax, 1
jmp 0x1000f0fc
Function at 0x1000f1fe
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x10c4]
mov eax, 0x1144
call fcn.1001f210
mov eax, dword [0x1006d1fc]
xor eax, ebp
mov dword [ebp + 0x10c0], eax
push esi
push edi
mov edi, dword [ebp + 0x10cc]
lea eax, [ebp - 0x80]
push 0x140
push 0
push eax
call fcn.10022500
push edi
lea eax, [ebp + 0xc0]
push str._s.
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp + 0xc0]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x1000f31e
lea eax, [ebp - 0x54]
push 0x1004ed28
push eax
call fcn.10029a6e
pop ecx
pop ecx
test eax, eax
je 0x1000f2ea
lea eax, [ebp - 0x54]
push 0x1004ed2c
push eax
call fcn.10029a6e
pop ecx
pop ecx
test eax, eax
je 0x1000f2ea
lea eax, [ebp - 0x54]
push eax
push edi
lea eax, [ebp + 0x8c0]
push 0x1004ed30
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [ebp - 0x80]
add esp, 0x10
and eax, 0xfffffffe
push eax
lea eax, [ebp + 0x8c0]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test byte [ebp - 0x80], 0x10
lea eax, [ebp + 0x8c0]
push eax
jne 0x1000f2e4
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x1000f2ea
push eax
lea eax, [ebp + 0x8c0]
push eax
call fcn.1000bf9c
pop ecx
jmp 0x1000f2e9
call fcn.1000f1fe
pop ecx
lea eax, [ebp - 0x80]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1000f267
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov esi, eax
test esi, esi
jne 0x1000f31a
push eax
push edi
call fcn.1000bf9c
pop ecx
pop ecx
mov eax, esi
jmp 0x1000f321
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x10c0]
pop edi
xor ecx, ebp
pop esi
call fcn.1001efb2
add ebp, 0x10c4
leave
ret

Function at 0x10012014
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, 0x8c
test esi, esi
lea edx, [esi + 0xc]
cmove edx, eax
push edx
mov eax, dword [edx]
call dword [eax + 0x18]
push 0x58
test esi, esi
lea eax, [esi - 0x28]
pop ecx
cmove eax, ecx
pop esi
cmp dword [eax], 0
je 0x10012045
push 0
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
ret 8
Function at 0x10014f1d
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp + 0xc]
push edi
push 7
pop ecx
push eax
mov eax, dword [ebp + 8]
lea edi, [ebp - 0x1c]
rep movsd dword es:[edi], dword [esi]
push 0x1004983c
xor esi, esi
lea ecx, [eax - 0x78]
push 0xc
test eax, eax
mov dword [ebp + 0xc], esi
pop edx
cmove ecx, edx
call fcn.10013afb
mov ecx, eax
mov eax, dword [ebp + 0xc]
test ecx, ecx
js 0x10014fa2
test eax, eax
je 0x10014f9f
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call edi
xor ecx, ecx
inc ecx
test ax, ax
push 0x11
cmovs esi, ecx
call edi
test ax, ax
jns 0x10014f7e
add esi, 2
push 0x12
call edi
test ax, ax
jns 0x10014f8a
add esi, 4
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x1c]
push esi
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov ecx, eax
mov eax, dword [ebp + 0xc]
jmp 0x10014fa2
xor ecx, ecx
inc ecx
xor ebx, ebx
test ecx, ecx
setne bl
test eax, eax
je 0x10014fb3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 8