joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4425e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x442618]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4425f9
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x442608
or bl, 4
test esi, 0x20000000
je 0x442613
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x448cc0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x448cd2
add esp, 0xfffffff0
call fcn.00403438
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00418fd0
mov eax, dword [0x44ddf8]
mov dword [eax + 4], ebx
mov dword [eax], 0x449064
mov eax, dword [0x44de04]
mov dword [eax + 4], ebx
mov dword [eax], 0x449070
mov eax, ebx
call fcn.0044907c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4112c8]
call fcn.004030fc
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4112c8]
call fcn.004030fc
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4112c8]
call fcn.004030fc
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4112c8]
call fcn.004030fc
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4112c8]
call fcn.004030fc
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x445498
push eax
push 0
push 0
mov eax, dword [0x44df44]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41aa7c]
call fcn.0041bec0
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41aa7c]
call fcn.0041bec0
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41aa7c]
call fcn.0041bec0
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0044949c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x449378
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x449378
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x449378
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x448e0f
call fcn.00403490
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44915c
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x449307
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4492e8
mov dl, 1
mov eax, dword [0x4116e4]
call fcn.004030fc
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403e84
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4492d7
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00437190
test al, al
je 0x4492ca
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x449318
lea eax, [ebp - 0x254]
call fcn.004087fc
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4492ca
xor eax, eax
push ebp
push 0x4492c3
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x449350
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4492ac
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004040f4
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x4492ac
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004040f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4492ca
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4491cd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.004151c0
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44930e
lea eax, [ebp - 0x260]
call fcn.00403e84
ret

Function at 0x449c3c
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x44fbb0]
cmp byte [eax + 0xa5], 0
jne 0x449cad
cmp dword [0x44fbc8], 0
jne 0x449c6e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x449bf8
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x44fbc8], eax
cmp dword [0x44fbc4], 0
jne 0x449c89
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x44fbc4], eax
cmp dword [0x44fbcc], 0
jne 0x449cad
push esp
push 0
push 0
push 0x449b9c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x44fbcc], eax
pop edx
ret
Function at 0x449da4
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x449dbb
add esp, 0xfffffff0
call fcn.00403438
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00418fd0
mov eax, dword [0x44df30]
cmp word [eax + 2], 0
jne 0x449de3
mov eax, dword [0x44df30]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044b50c
mov eax, dword [0x44dfd8]
cmp word [eax + 2], 0
jne 0x449dfd
mov eax, dword [0x44dfd8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044b704
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4112c8]
call fcn.004030fc
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4112c8]
call fcn.004030fc
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41b22c]
call fcn.00420e74
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x449f84
mov eax, dword [0x44de58]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00421244
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x44bca4
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x44de58]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040be38
test eax, eax
je 0x449ef2
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004081f0
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040be60
test eax, eax
je 0x449f06
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004040f4
mov eax, dword [0x44dd5c]
cmp byte [eax], 0
jne 0x449f3a
mov eax, ebx
call fcn.0044a0ac
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0044be80
mov eax, ebx
call fcn.0044c844
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x449f7a
call fcn.00403490
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44a32c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x44fbb0]
cmp dword [eax + 0x30], 0
je 0x44a3d6
cmp dword [ebx + 0x94], 0
jne 0x44a3d0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44a2bc
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44a3d0
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x44a396
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44a3d0
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00413630
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44a3a5
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44af38
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x44af6d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403f74
jmp 0x44af7a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403ed8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44c05c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44c09d
mov eax, esi
call fcn.00432998
test al, al
je 0x44c09d
mov eax, dword [ebx + 0x84]
call fcn.00432738
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44c09d
push 0
mov eax, dword [ebx + 0x84]
call fcn.00432738
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x100061b7
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x1008c054], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
xor eax, eax
mov dword [0x1008c058], 0
mov dword [0x1008c060], 0
mov dword [0x1008c04c], 0x1a14
mov ecx, dword [ebp - 0x10]
cmp ecx, 0
mov edx, eax
mov esi, eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], eax
je 0x10006309
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add eax, 1
mov edi, ecx
add edi, 1
mov dword [ebp - 0x2c], edx
cdq
idiv esi
mov dword [0x1008c054], edx
mov dword [0x1008c04c], 0xfbe
mov ebx, dword [ebp - 0x1c]
movzx ebx, byte [ebx + edx]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x2c]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x1008c058], edx
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x1008c05c], cl
mov ebx, dword [ebp - 0x1c]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov dword [0x1008c04c], 0x1d46
mov cl, byte [0x1008c05c]
mov edx, dword [0x1008c058]
mov byte [ebx + edx], cl
mov edx, dword [0x1008c054]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x1008c058]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x1008c060], ecx
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x30]
mov dl, byte [edx + esi]
xor dl, byte [ebx + ecx]
mov ecx, dword [ebp - 0x18]
mov byte [ecx + esi], dl
mov ecx, dword [0x1008c050]
add ecx, 0x374
mov dword [0x1008c050], ecx
mov ecx, dword [ebp - 0x10]
cmp edi, ecx
mov dword [ebp - 0x38], edi
je 0x10006309
mov eax, dword [0x1008c054]
mov ecx, dword [0x1008c058]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
jmp 0x1000621e
mov dword [0x1008c050], 0x20c0
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x10006401
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [fcn.10006401]
mov ecx, dword [0x1008c050]
mov edx, dword [0x1008c04c]
add ecx, 0xffffe02f
add edx, 0xffffdbc5
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
cmp word [eax], 0x5a4d
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
je 0x10006459
mov eax, dword [ebp - 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], eax
jmp 0x1000642e
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
jne 0x10006441
mov eax, dword [ebp - 0x14]
mov dword [0x1008c050], eax
mov eax, dword [ebp - 0x10]
add esp, 0x14
pop ebp
ret
Function at 0x100068ab
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov eax, dword [ebp + 8]
mov dword [0x1008c050], 0x9dd
mov dword [ebp - 0x10], eax
call fcn.10006b81
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x100068f1
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov dword [0x1008c050], 0x5a7
mov esi, dword [edx + eax + 0x18]
cmp esi, 0
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
je 0x10006a06
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + ecx*4]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
mov ecx, eax
mov edx, dword [ebp - 0x44]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x4d], bh
mov byte [ebp - 0x4e], cl
je 0x100069a8
mov al, byte [ebp - 0x4d]
cmp al, 0
setne cl
mov edx, dword [ebp - 0x4c]
add edx, 1
mov ah, byte [ebp - 0x4e]
and ah, cl
cmp edx, 0x20
setb cl
and ah, cl
test ah, 1
mov dword [ebp - 0x48], edx
jne 0x10006956
mov al, byte [ebp - 0x4e]
test al, 1
jne 0x100069db
jmp 0x100069b1
xor eax, eax
mov ecx, dword [ebp - 0x3c]
add ecx, 2
mov edx, dword [ebp - 0x40]
add edx, 1
mov esi, dword [ebp - 0x2c]
cmp edx, esi
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], eax
jb 0x1000693c
jmp 0x10006a06
mov eax, dword [ebp - 0x3c]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [0x1008c04c], 0x1fbc
mov dword [ebp - 0x54], edi
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x30], eax
jmp 0x10006a06
mov eax, dword [ebp - 0x30]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10006a1c
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [0x1008c058], 0
mov byte [0x1008c05c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
xor eax, eax
mov dword [0x1008c04c], 0x21
mov dword [0x1008c054], 0
mov dword [ebp - 0x1c], eax
jmp 0x10006af5
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov edx, dword [0x1008c058]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
mov dword [ebp - 0x24], eax
xor edx, edx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov eax, edi
cdq
idiv ecx
mov dword [0x1008c058], edx
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x1008c05c], cl
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov cl, byte [0x1008c05c]
mov edx, dword [0x1008c058]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov dword [0x1008c04c], 0x2cc
mov edx, dword [0x1008c054]
add edx, 1
mov dword [0x1008c054], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x10006a66
jmp 0x10006b39
mov eax, dword [ebp - 0x1c]
mov dword [0x1008c050], 0x10da
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x1008c054]
add eax, 1
mov dword [0x1008c054], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10006af5
xor eax, eax
mov dword [0x1008c054], 0
mov dword [ebp - 0x20], eax
jmp 0x10006a66
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10007184
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
xor eax, eax
mov dword [0x1008c050], 0x1981
mov dword [ebp - 0x30], eax
jmp 0x100071dc
lea eax, [ebp - 0x24]
mov dword [0x1008c04c], 0x1811
mov dword [ebp - 0x34], eax
call fcn.10006f2b
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.10007023
cmp eax, 0
mov dword [ebp - 0x38], eax
je 0x100072ac
jmp 0x10007204
mov eax, dword [ebp - 0x30]
mov cl, byte [eax + 0x1000876d]
mov dl, byte [eax + 0x1000873e]
sub dl, cl
mov byte [ebp + eax - 0x24], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x30], eax
je 0x100071a8
jmp 0x100071dc
mov eax, dword [ebp - 0x38]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [0x1008c04c], 0x886
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.10006d2a
xor eax, eax
mov dword [0x1008c050], 0x263c
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x40], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x14], ecx
mov dword [0x1008c04c], 0xf39
add ecx, 0x1637
mov esi, dword [ebp - 0x3c]
cmp esi, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
je 0x100072a3
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
add esp, 0x50
pop esi
pop ebp
ret
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret
Function at 0x100072e3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x16c
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [0x1008c04c], 0xf5e
mov edx, ecx
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], ecx
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
xor edx, edx
lea esi, section..data
imul edi, ecx, 0xe8
mov ebx, esi
add ebx, edi
add ebx, 0x88
mov edi, ecx
add edi, 1
imul ecx, ecx, 0xe8
add esi, ecx
add esi, 0xc4
mov ecx, dword [esi]
movzx esi, word [ebx]
xor esi, ecx
add esi, eax
cmp edi, 0x173
mov eax, esi
mov dword [ebp - 0x13c], esi
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], edi
mov dword [ebp - 0x140], edx
jne 0x10007312
mov eax, dword [ebp - 0x140]
mov cl, byte [eax + 0x1000876d]
mov dl, byte [eax + 0x1000873e]
sub dl, cl
mov byte [ebp + eax - 0x12c], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x140], eax
jne 0x10007377
lea eax, [ebp - 0x12c]
mov dword [0x1008c04c], 0xfffeb770
mov dword [ebp - 0x144], eax
call fcn.10006f2b
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x148]
mov dword [esp], eax
mov ecx, dword [ebp - 0x144]
mov dword [esp + 4], ecx
call fcn.10007023
mov ecx, eax
mov dword [0x1008c064], eax
mov eax, esp
mov edx, dword [ebp - 0x13c]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 4
mov dword [eax + 8], 0x1000
mov dword [eax], 0
call ecx
sub esp, 0x10
xor ecx, ecx
mov edx, ecx
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x150], edx
mov dword [ebp - 0x154], ecx
mov eax, dword [ebp - 0x154]
mov ecx, dword [ebp - 0x150]
lea edx, section..data
imul esi, eax, 0xe8
mov edi, edx
add edi, esi
add edi, 0xc4
mov esi, dword [edi]
imul edi, eax, 0xe8
mov ebx, edx
add ebx, edi
add ebx, 0x80
mov edi, dword [ebx]
imul ebx, eax, 0xe8
add edx, ebx
add edx, 0x88
movzx edx, word [edx]
xor edx, esi
mov esi, dword [ebp - 0x14c]
add esi, ecx
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x15c], ecx
mov dword [ebp - 0x160], edx
call fcn.10006511
mov eax, dword [ebp - 0x160]
mov ecx, dword [ebp - 0x15c]
add eax, ecx
mov edx, dword [ebp - 0x158]
add edx, 1
cmp edx, 0x173
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x154], edx
jne 0x10007420
lea eax, [0x1000874c]
mov ecx, 0x20
lea edx, [ebp - 0x10c]
mov dword [0x1008c04c], 0x14c0
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x164], edx
mov dword [ebp - 0x168], ecx
call fcn.10006a1c
mov eax, dword [ebp - 0x164]
mov dword [esp], eax
mov ecx, dword [ebp - 0x14c]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x13c]
mov dword [esp + 0xc], edx
call fcn.100061b7
xor eax, eax
mov ecx, dword [0x1008c050]
add ecx, 0x571
mov dword [0x1008c050], ecx
mov ecx, dword [ebp - 0x14c]
add ecx, 0xb16e2
mov edx, dword [ebp - 0x130]
mov dword [edx], ecx
mov dword [edx + 4], 0x14bc00
mov dword [0x1008c04c], 0x733
mov ecx, dword [ebp - 0x14c]
add ecx, 0xa5bb7
mov dword [edx + 8], ecx
mov dword [edx + 0xc], 0x2000
add esp, 0x16c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4020b0
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x230
push ebx
push ebp
push esi
push edi
xor eax, eax
mov dword [esp + 0x14], 0
mov ecx, 0x49
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
xor edi, edi
push edi
push 2
mov dword [esp + 0x18], 3
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x4021db
mov ebp, dword [esp + 0x248]
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea esp, [esp]
lea eax, [esp + 0x14]
push eax
push esi
mov dword [esp + 0x1c], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x40217e
lea ecx, [esp + 0x38]
push 0x5c
push ecx
call fcn.0040d730
add esp, 8
test eax, eax
je 0x402140
inc eax
lea edx, [esp + 0x13c]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x402134
jmp 0x402152
xor eax, eax
mov cl, byte [esp + eax + 0x38]
mov byte [esp + eax + 0x13c], cl
inc eax
test cl, cl
jne 0x402142
mov eax, dword [esp + 0x244]
lea edx, [esp + 0x13c]
push edx
push eax
call fcn.004187f7
add esp, 8
test eax, eax
jne 0x40216f
inc edi
lea ecx, [esp + 0x14]
push ecx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x402117
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [0x43a2b8]
test al, al
je 0x4021ac
cmp edi, ebp
push 0
jle 0x40219b
push str.RUNNING
jmp 0x4021a0
push str.NOT_RUNNING
push str.EAINSTALL_isThisProgramRunning
push 0
call fcn.00401fe0
mov ecx, dword [esp + 0x10]
dec ecx
cmp edi, ebp
mov dword [esp + 0x10], ecx
jle 0x4021e8
mov eax, ecx
test eax, eax
jl 0x4021e8
push 0x3e8
call ebx
xor edi, edi
push edi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x402100
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x230
ret
xor eax, eax
cmp edi, ebp
pop edi
pop esi
pop ebp
setg al
pop ebx
add esp, 0x230
ret