joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5129f4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], edx
xor eax, eax
push ebp
push 0x512afa
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404d90
lea edx, [ebp - 0x14]
mov eax, dword [0x53979c]
mov eax, dword [eax]
call fcn.004768fc
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00405250
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov esi, eax
mov eax, esi
call fcn.00402bbc
mov edi, eax
push edi
push esi
push 0
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00403060
mov eax, dword [ebp - 0x18]
call fcn.00405250
push eax
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x512b08
push edi
call sub.version.dll_VerQueryValueA
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebx + 8]
mov dword [ebx + 0x10], eax
mov eax, dword [ebx + 0xc]
mov dword [ebx + 0x14], eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebx + 0x10]
shr eax, 0x10
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0
mov eax, dword [ebx + 0x10]
and eax, 0xffff
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0
mov eax, dword [ebx + 0x14]
shr eax, 0x10
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0
mov eax, dword [ebx + 0x14]
and eax, 0xffff
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
lea edx, [ebp - 0x38]
mov ecx, 3
mov eax, 0x512b14
call fcn.0040b5ac
mov edx, esi
mov eax, edi
call fcn.00402bec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x512b01
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00404db4
ret
Function at 0x51c184
Capabilities:
Create a process with modified i/o handles and window
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff98
push ebx
xor ecx, ecx
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00405240
xor eax, eax
push ebp
push 0x51c2e7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x2f8]
mov eax, dword [eax + 0x25c]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, 0xf
jl 0x51c1d4
call fcn.00516800
jmp 0x51c2bf
lea eax, [ebp - 0x50]
xor ecx, ecx
mov edx, 0x44
call fcn.004036ac
mov dword [ebp - 0x50], 0x44
mov word [ebp - 0x20], 1
mov dword [ebp - 0x24], 0x101
mov word [ebp - 0x20], 4
lea edx, [ebp - 8]
xor eax, eax
call fcn.00403060
mov eax, dword [0x539344]
push dword [eax]
push 0x51c2fc
mov eax, dword [ebx + 0x2f8]
mov eax, dword [eax + 0x25c]
mov edx, dword [eax]
call dword [edx + 0x14]
lea edx, [ebp - 0x64]
call fcn.00409fb8
push dword [ebp - 0x64]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405110
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x50]
push eax
push 0
push 0
push 0x30
push 0xffffffffffffffff
push 0
push 0
push dword [ebp - 8]
push 0x51c310
push dword [ebp - 4]
push 0x51c328
push dword [ebp - 0xc]
lea eax, [ebp - 0x68]
mov edx, 5
call fcn.00405110
mov eax, dword [ebp - 0x68]
call fcn.00405250
push eax
push 0
call sub.kernel32.dll_CreateProcessA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x51c2a5
push 0
push 0x51c32c
push 0x51c334
mov eax, ebx
call fcn.00457720
push eax
call sub.user32.dll_MessageBoxA_1
jmp 0x51c2bf
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x60]
mov eax, dword [ebx + 0x494]
call fcn.0049079c
mov eax, dword [ebp - 0x5c]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51c2ee
lea eax, [ebp - 0x68]
mov edx, 2
call fcn.00404db4
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404db4
ret
Function at 0x51d158
Capabilities:
Create a process with modified i/o handles and window
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff98
push ebx
xor ecx, ecx
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00405240
xor eax, eax
push ebp
push 0x51d2bb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x2f8]
mov eax, dword [eax + 0x25c]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, 0xf
jl 0x51d1a8
call fcn.00516800
jmp 0x51d293
lea eax, [ebp - 0x50]
xor ecx, ecx
mov edx, 0x44
call fcn.004036ac
mov dword [ebp - 0x50], 0x44
mov word [ebp - 0x20], 1
mov dword [ebp - 0x24], 0x101
mov word [ebp - 0x20], 4
lea edx, [ebp - 8]
xor eax, eax
call fcn.00403060
mov eax, dword [0x539344]
push dword [eax]
push 0x51d2d0
mov eax, dword [ebx + 0x2f8]
mov eax, dword [eax + 0x25c]
mov edx, dword [eax]
call dword [edx + 0x14]
lea edx, [ebp - 0x64]
call fcn.00409fb8
push dword [ebp - 0x64]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405110
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x50]
push eax
push 0
push 0
push 0x30
push 0xffffffffffffffff
push 0
push 0
push dword [ebp - 8]
push 0x51d2e4
push dword [ebp - 4]
push 0x51d308
push dword [ebp - 0xc]
lea eax, [ebp - 0x68]
mov edx, 5
call fcn.00405110
mov eax, dword [ebp - 0x68]
call fcn.00405250
push eax
push 0
call sub.kernel32.dll_CreateProcessA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x51d279
push 0
push 0x51d30c
push 0x51d314
mov eax, ebx
call fcn.00457720
push eax
call sub.user32.dll_MessageBoxA_1
jmp 0x51d293
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x60]
mov eax, dword [ebx + 0x494]
call fcn.0049079c
mov eax, dword [ebp - 0x5c]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51d2c2
lea eax, [ebp - 0x68]
mov edx, 2
call fcn.00404db4
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404db4
ret
Function at 0x51d3c0
Capabilities:
Create a process with modified i/o handles and window
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff90
push ebx
xor ebx, ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00405240
mov eax, dword [ebp - 8]
call fcn.00405240
mov eax, dword [ebp + 0x14]
call fcn.00405240
mov eax, dword [ebp + 0x10]
call fcn.00405240
mov eax, dword [ebp + 0xc]
call fcn.00405240
mov eax, dword [ebp + 8]
call fcn.00405240
xor eax, eax
push ebp
push 0x51d5b7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x2f8]
mov eax, dword [eax + 0x25c]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, 0xf
jl 0x51d43e
call fcn.00516800
jmp 0x51d582
cmp dword [ebp - 8], 0
jne 0x51d451
lea eax, [ebp - 8]
mov edx, 0x51d5d0
call fcn.00404e28
cmp dword [ebp + 8], 0
jne 0x51d464
lea eax, [ebp + 8]
mov edx, 0x51d5d0
call fcn.00404e28
lea eax, [ebp - 0x58]
xor ecx, ecx
mov edx, 0x44
call fcn.004036ac
mov dword [ebp - 0x58], 0x44
mov word [ebp - 0x28], 1
mov dword [ebp - 0x2c], 0x101
mov word [ebp - 0x28], 4
lea edx, [ebp - 0xc]
xor eax, eax
call fcn.00403060
mov eax, dword [0x539344]
push dword [eax]
push 0x51d5e0
mov eax, dword [ebx + 0x2f8]
mov eax, dword [eax + 0x25c]
mov edx, dword [eax]
call dword [edx + 0x14]
lea edx, [ebp - 0x6c]
call fcn.00409fb8
push dword [ebp - 0x6c]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00405110
push 0x51d5f4
push dword [ebp + 0x14]
push 0x51d60c
push dword [ebp - 0x10]
push 0x51d618
push dword [ebp - 4]
push 0x51d624
push dword [ebp - 8]
push 0x51d624
push dword [ebp + 0x10]
push 0x51d624
push dword [ebp + 0xc]
push 0x51d624
push dword [ebp + 8]
lea eax, [ebp - 0x14]
mov edx, 0xe
call fcn.00405110
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x58]
push eax
push 0
push 0
push 0x30
push 0xffffffffffffffff
push 0
push 0
lea eax, [ebp - 0x70]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
call fcn.0040509c
mov eax, dword [ebp - 0x70]
call fcn.00405250
push eax
push 0
call sub.kernel32.dll_CreateProcessA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x51d568
push 0
push 0x51d628
push 0x51d630
mov eax, ebx
call fcn.00457720
push eax
call sub.user32.dll_MessageBoxA_1
jmp 0x51d582
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x68]
mov eax, dword [ebx + 0x494]
call fcn.0049079c
mov eax, dword [ebp - 0x64]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51d5be
lea eax, [ebp - 0x70]
mov edx, 2
call fcn.00404db4
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.00404db4
lea eax, [ebp + 8]
mov edx, 4
call fcn.00404db4
ret
Function at 0x51daa8
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], edx
xor eax, eax
push ebp
push 0x51dc7e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404d90
push 0
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [0x5397a8]
mov eax, dword [eax]
mov ecx, 0x51dc94
mov edx, 0x51dca8
mov ebx, dword [eax]
call dword [ebx]
mov eax, dword [ebp - 0x2c]
call fcn.0040a628
test al, al
je 0x51db12
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x2c]
call fcn.00404de4
jmp 0x51dc4b
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
call sub.kernel32.dll_GetLogicalDrives
mov esi, eax
xor ebx, ebx
mov ecx, ebx
mov eax, 1
shl eax, cl
and eax, esi
cmp eax, 1
sbb eax, eax
inc eax
cmp al, 1
jne 0x51dbc9
lea eax, [ebp - 0x34]
mov edx, ebx
add dl, 0x41
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x34]
lea eax, [ebp - 0x38]
call fcn.00403590
mov edx, 0x51dcb4
lea eax, [ebp - 0x38]
mov cl, 2
call fcn.00403560
lea edx, [ebp - 0x38]
lea eax, [ebp - 8]
call fcn.00404ff4
mov eax, dword [ebp - 8]
call fcn.00405250
mov edi, eax
push edi
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 3
jne 0x51dbc9
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push edi
mov eax, dword [0x53952c]
mov eax, dword [eax]
call eax
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
cmp edx, dword [ebp - 0xc]
jne 0x51dbb0
cmp eax, dword [ebp - 0x10]
jae 0x51dbc9
jmp 0x51dbb2
jge 0x51dbc9
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 8]
call fcn.00404e28
inc ebx
cmp ebx, 0x1a
jne 0x51db29
lea eax, [ebp - 0x2c]
mov ecx, 0x51dcc0
mov edx, dword [ebp - 0x1c]
call fcn.0040509c
mov eax, dword [ebp - 0x2c]
call fcn.0040a660
mov eax, dword [ebp - 0x2c]
call fcn.0040a628
test al, al
jne 0x51dc26
lea edx, [ebp - 0x30]
xor eax, eax
call fcn.00403060
lea eax, [ebp - 0x3c]
mov edx, dword [ebp - 0x30]
mov dl, byte [edx]
call fcn.00404f78
mov edx, dword [ebp - 0x3c]
lea eax, [ebp - 0x2c]
mov ecx, 0x51dcd0
call fcn.0040509c
mov eax, dword [ebp - 0x2c]
call fcn.0040a660
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [0x5397a8]
mov eax, dword [eax]
mov ecx, 0x51dc94
mov edx, 0x51dca8
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x2c]
call fcn.00404de4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51dc85
lea eax, [ebp - 0x3c]
call fcn.00404d90
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.00404db4
lea eax, [ebp - 0x1c]
call fcn.00404d90
lea eax, [ebp - 8]
call fcn.00404d90
ret
Function at 0x52cd00
Capabilities:
Print debug messages

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov edi, eax
mov eax, dword [0x5391f8]
mov eax, dword [eax]
mov eax, dword [eax + 8]
test eax, eax
je 0x52cd88
mov edx, dword [0x5391f8]
mov esi, eax
dec esi
test esi, esi
jl 0x52cd88
inc esi
xor ebx, ebx
cmp byte [edi + 0x48], 0
jne 0x52cd88
mov eax, dword [0x5391f8]
mov eax, dword [eax]
mov edx, ebx
call fcn.0041fc88
mov dword [esp], eax
test ebx, ebx
jle 0x52cd5e
mov eax, dword [esp]
mov eax, dword [eax + 0x10]
cmp ebp, eax
jbe 0x52cd56
push 0x52cd90
call sub.kernel32.dll_OutputDebugStringA
jmp 0x52cd5e
sub eax, ebp
push eax
call sub.kernel32.dll_Sleep_1
mov eax, dword [esp]
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [esp + 4]
mov eax, dword [eax + 8]
push eax
mov eax, dword [esp + 8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [edi + 0x44]
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [esp]
mov ebp, dword [eax + 0x10]
inc ebx
dec esi
jne 0x52cd25
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x10041e9
Capabilities:
Terminate process

Disassembly:
push 0x5c
push 0x100df58
call fcn.01004914
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x20], ebx
mov edi, 0x100f6e0
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x1003fa4
cmp eax, esi
jne 0x1003f97
xor esi, esi
inc esi
mov dword [ebp - 0x20], esi
jmp 0x1003fa7
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1003f7e
xor esi, esi
inc esi
mov eax, dword [0x100f6dc]
cmp eax, esi
jne 0x1003fba
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x1003fe9
mov eax, dword [0x100f6dc]
test eax, eax
jne 0x1003fe3
mov dword [0x100f6dc], esi
push 0x100125c
push 0x1001250
call fcn.01003ee0
pop ecx
pop ecx
test eax, eax
je 0x1003fe9
jmp 0x100410d
mov dword [0x100f394], esi
mov eax, dword [0x100f6dc]
cmp eax, esi
jne 0x100400d
push 0x100124c
push 0x1001244
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x100f6dc], 2
cmp dword [ebp - 0x20], ebx
jne 0x100401a
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x100f6e8], ebx
je 0x100403b
push 0x100f6e8
call fcn.01004889
pop ecx
test eax, eax
je 0x100403b
push ebx
push 2
push ebx
call dword [0x100f6e8]
mov eax, dword [sym.imp.msvcrt.dll__wcmdln]
cmp dword [eax], ebx
je 0x100410d
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
movzx ecx, word [eax]
cmp cx, 0x20
ja 0x10040a5
cmp cx, bx
je 0x1004060
cmp dword [ebp - 0x1c], ebx
jne 0x10040a5
movzx ecx, word [eax]
cmp cx, bx
je 0x1004075
cmp cx, 0x20
ja 0x1004075
inc eax
inc eax
mov dword [ebp - 0x24], eax
jmp 0x1004060
test byte [ebp - 0x40], 1
je 0x1004081
movzx ecx, word [ebp - 0x3c]
jmp 0x1004084
push 0xa
pop ecx
push ecx
push eax
push ebx
push 0x1000000
call main
mov dword [0x100f390], eax
cmp dword [0x100f384], ebx
jne 0x10040ea
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp cx, 0x22
jne 0x10040b6
xor ecx, ecx
cmp dword [ebp - 0x1c], ebx
sete cl
mov dword [ebp - 0x1c], ecx
inc eax
inc eax
jmp 0x100404a
cmp dword [0x100f394], ebx
jne 0x10040f8
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x100f390]
jmp 0x1004119
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.01004959
ret
call fcn.01004a61
jmp 0x1003f41
Function at 0x1000a4c0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x1007ec8b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.10073829
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x1000a542
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.10071740
mov eax, dword [eax]
push 0x10097210
push eax
call fcn.10063824
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.10073ab4
test bl, bl
je 0x1000a542
push 0x10097210
lea ecx, [esp + 0xc]
call fcn.10073e44
push 0x1009ad84
lea ecx, [esp + 0xc]
call fcn.10073e44
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x1000a57e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.10073ab4
jmp 0x1000a649
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x1000a602
lea edx, [esp + 0x7c]
push 0x1009ad80
push edx
call fcn.10063824
add esp, 8
test eax, eax
je 0x1000a602
lea eax, [esp + 0x7c]
push 0x1009ad7c
push eax
call fcn.10063824
add esp, 8
test eax, eax
je 0x1000a602
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1000a592
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.10073ab4
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x1000ae40
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x1000aea2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x1000aeb0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x1007ed0b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x100a8a58]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x1000afe8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x1000af16
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.10073ab4
xor eax, eax
jmp 0x1000b05f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.10073bf1
push esi
lea ecx, [esp + 0xc]
call fcn.10073e80
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x1000b03d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.1000ae40
test eax, eax
jne 0x1000b03d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.1000ae40
test eax, eax
jne 0x1000b03d
lea eax, [esp + 0x14]
push 0x1009ad98
push eax
call fcn.10064860
mov esi, eax
add esp, 8
test esi, esi
jne 0x1000b01c
lea ecx, [esp + 0x14]
push 0x1009ad94
push ecx
call fcn.100647e0
mov esi, eax
add esp, 8
test esi, esi
jne 0x1000b01c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x1000b01f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.10073ba1
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x1000af2e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.10073ab4
xor eax, eax
jmp 0x1000b05f
mov byte [esi], 0
push 0x1009ad90
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.10073ab4
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x1001b490
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x1001b4fe
cmp si, 0x69
ja 0x1001b4fe
add esi, 0xffd0
cmp si, 0x11
je 0x1001b4ce
push 0x11
call edi
test ax, ax
jge 0x1001b4ce
or esi, 0x2000
cmp si, 0x10
je 0x1001b4e3
push 0x10
call edi
test ax, ax
jge 0x1001b4e3
or esi, 0x4000
cmp si, 0x12
je 0x1001b4f8
push 0x12
call edi
test ax, ax
jge 0x1001b4f8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x1001b50b
mov esi, 0xbd
jmp 0x1001b4bf
cmp si, 0x6e
jne 0x1001b518
mov esi, 0xbe
jmp 0x1001b4bf
cmp si, 0x6f
jne 0x1001b4b9
mov esi, 0xbf
jmp 0x1001b4bf

Function at 0x1001cc30
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x100b90f8]
xor edx, edx
cmp eax, edx
jne 0x1001cc56
xor eax, eax
mov byte [eax + 0x100b8ff8], al
inc eax
cmp eax, 0x100
jl 0x1001cc3e
mov dword [0x100b90f8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x100b8ff8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x1001cce7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x1001ccba
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x1001cc88
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x1001cd60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x1001cdb3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x1001cd9a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret