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

Disassembly:
push ecx
push ebp
xor ebp, ebp
cmp dword [0x468480], ebp
push esi
push edi
je 0x413ee9
mov al, byte [0x468408]
jmp 0x414055
cmp dword [0x466388], ebp
je 0x413efb
mov al, byte [0x466270]
jmp 0x414055
push ebx
xor bl, bl
cmp byte [0x467399], bl
jne 0x413f99
cmp byte [0x46739a], bl
jne 0x413f99
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0xa0
call edi
mov esi, 0x8000
test si, ax
je 0x413f30
add bl, 0x10
push 0xa1
call edi
test si, ax
je 0x413f3f
or bl, 0x20
push 0xa2
call edi
test si, ax
je 0x413f4e
or bl, 1
push 0xa3
call edi
test si, ax
je 0x413f5d
or bl, 2
push 0xa4
call edi
test si, ax
je 0x413f6c
or bl, 4
push 0xa5
call edi
test si, ax
je 0x413f7b
or bl, 8
push 0x5b
call edi
test si, ax
je 0x413f87
or bl, 0x40
push 0x5c
call edi
test si, ax
je 0x414014
or bl, 0x80
jmp 0x414014
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x10
call edi
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
mov esi, 0x8000
test si, ax
jne 0x413fbc
push 0x10
call ebp
test si, ax
je 0x413fbe
mov bl, 0x10
push 0x11
call edi
test si, ax
jne 0x413fd0
push 0x11
call ebp
test si, ax
je 0x413fd3
or bl, 1
push 0x12
call edi
test si, ax
jne 0x413fe5
push 0x12
call ebp
test si, ax
je 0x413fe8
or bl, 4
push 0x5b
call edi
test si, ax
jne 0x413ffa
push 0x5b
call ebp
test si, ax
je 0x413ffd
or bl, 0x40
push 0x5c
call edi
test si, ax
jne 0x41400f
push 0x5c
call ebp
test si, ax
je 0x414012
or bl, 0x80
xor ebp, ebp
cmp dword [0x466388], ebp
je 0x414050
mov al, bl
not al
and al, byte [0x466270]
je 0x414050
not al
and byte [0x466272], al
and byte [0x466270], al
and byte [0x466271], al
xor eax, eax
mov al, byte [0x466272]
push eax
push 0x466278
call fcn.00411e9d
pop ecx
pop ecx
xor eax, eax
mov al, bl
pop ebx
push 0xffc3d44f
push 1
push ebp
mov byte [esp + 0x18], al
push ebp
push dword [esp + 0x1c]
and eax, 0xffffffc4
or eax, 4
push eax
call fcn.00412527
mov eax, dword [esp + 0x2c]
mov esi, eax
movsx eax, byte [eax]
add esp, 0x18
mov edi, 0xffc3d44d
jmp 0x41409d
cmp al, 0x39
jg 0x4140a1
push edi
push ebp
add al, 0x30
push ebp
push ebp
push eax
push 2
call fcn.00412b58
add esp, 0x18
inc esi
mov al, byte [esi]
cmp al, 0x30
jge 0x414085
push edi
push ebp
push ebp
push ebp
push 0x12
push 1
call fcn.00412b58
add esp, 0x18
pop edi
pop esi
pop ebp
pop ecx
ret
Function at 0x41531c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
xor ebx, ebx
cmp byte [ebp + 8], bl
lea eax, [ebp - 0x10]
jge 0x415334
mov byte [ebp - 0x10], 0x30
lea eax, [ebp - 0xf]
push 0xa
push eax
movzx eax, byte [ebp + 8]
push eax
call fcn.0040125c
mov eax, dword [ebp + 0xc]
add esp, 0xc
cmp eax, ebx
jle 0x4153d8
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp + 8], eax
cmp dword [0x468480], ebx
jne 0x4153ab
call esi
sub eax, dword [0x4671ac]
mov ecx, dword [0x464108]
cmp eax, dword [ecx + 0xac]
jbe 0x4153ab
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x4153a4
push 1
push 0xffffffffffffffff
mov dword [0x46406c], ebx
call fcn.0040dca7
pop ecx
pop ecx
mov dword [0x46406c], 1
call esi
mov dword [0x4671ac], eax
lea eax, [ebp - 0x10]
push eax
call fcn.00413ed1
cmp dword [0x468480], 2
mov eax, dword [0x464108]
pop ecx
jne 0x4153c8
mov eax, dword [eax + 0x60]
jmp 0x4153cb
mov eax, dword [eax + 0x5c]
push eax
call fcn.00412227
dec dword [ebp + 8]
pop ecx
jne 0x415359
pop esi
pop ebx
leave
ret

Function at 0x415929
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
push ecx
movzx eax, byte [esp + 0xc]
push ebp
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push eax
call ebp
mov ecx, dword [esp + 0x18]
and al, 1
neg al
sbb eax, eax
xor edi, edi
inc eax
inc eax
inc edi
cmp ecx, edi
mov dword [esp + 0xc], eax
je 0x41595b
cmp ecx, 2
jne 0x415a26
cmp eax, ecx
je 0x415a26
push ebx
xor ebx, ebx
cmp byte [esp + 0x18], 0x90
push esi
mov esi, 0xffc3d44d
jne 0x415997
cmp byte [0x467399], bl
je 0x415985
call fcn.00415a2b
jmp 0x415a20
push esi
push ebx
push ebx
push ebx
push 0x90
push edi
call fcn.00412b58
add esp, 0x18
push esi
push ebx
push ebx
push ebx
push dword [esp + 0x2c]
push 2
call fcn.00412b58
add esp, 0x18
push ebx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x466c9c]
sete byte [esp + 0x13]
cmp byte [esp + 0x13], bl
je 0x4159de
push edi
push 0xffffffffffffffff
mov dword [0x46406c], ebx
call fcn.0040dca7
pop ecx
pop ecx
mov dword [0x46406c], edi
cmp byte [esp + 0x1c], 0x14
jne 0x415a20
cmp dword [esp + 0x20], 2
jne 0x415a20
push 0x14
call ebp
test al, 1
je 0x415a20
push esi
push ebx
push ebx
push ebx
push 0x10
push 2
call fcn.00412b58
add esp, 0x18
cmp byte [esp + 0x13], bl
je 0x415a20
push edi
push 0xffffffffffffffff
mov dword [0x46406c], ebx
call fcn.0040dca7
pop ecx
pop ecx
mov dword [0x46406c], edi
mov eax, dword [esp + 0x14]
pop esi
pop ebx
pop edi
pop ebp
pop ecx
pop ecx
ret
Function at 0x415a54
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x466c8c]
test eax, eax
je 0x415b62
mov ecx, dword [0x466c90]
mov dl, byte [ebp + 8]
imul ecx, ecx, 0x70
mov byte [ecx + eax + 5], dl
mov eax, dword [0x466c90]
mov ecx, dword [0x466c8c]
imul eax, eax, 0x70
mov dl, byte [ebp + 0xc]
mov byte [eax + ecx], dl
mov eax, dword [0x466c90]
mov ecx, dword [0x466c8c]
imul eax, eax, 0x70
mov dx, word [ebp + 0x10]
mov word [eax + ecx + 2], dx
mov eax, dword [0x466c90]
mov ecx, dword [0x466c8c]
imul eax, eax, 0x70
push esi
mov byte [eax + ecx + 4], 0x69
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x466c94], eax
sub eax, dword [0x4673b0]
test eax, eax
mov dword [ebp - 4], eax
fild dword [ebp - 4]
jge 0x415ad5
fadd dword [0x45aaac]
mov eax, dword [0x466c90]
fmul dword [0x45aaa8]
mov ecx, dword [0x466c8c]
imul eax, eax, 0x70
fstp dword [eax + ecx + 8]
mov eax, dword [0x466c94]
mov dword [0x4673b0], eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, dword [0x466c8c]
mov esi, eax
mov eax, dword [0x466c90]
imul eax, eax, 0x70
test esi, esi
je 0x415b30
cmp esi, dword [0x466c98]
je 0x415b29
push 0x64
lea eax, [eax + ecx + 0xc]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x415b41
mov byte [eax + ecx + 0xc], 0
jmp 0x415b41
lea eax, [eax + ecx + 0xc]
push 0x45aaa4
push eax
call fcn.004572f0
pop ecx
pop ecx
inc dword [0x466c90]
mov eax, dword [0x466c90]
cmp eax, dword [0x464070]
mov dword [0x466c98], esi
pop esi
jl 0x415b62
and dword [0x466c90], 0
leave
ret

Function at 0x415bb1
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
dec dword [0x465208]
jne 0x415bbe
call fcn.0044fdb0
mov eax, dword [0x468498]
mov ecx, dword [eax]
add dword [0x468498], 4
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
shr eax, 1
ret

Function at 0x415bf5
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
dec dword [0x465208]
jne 0x415c02
call fcn.0044fdb0
mov eax, dword [0x468498]
mov ecx, dword [eax]
add dword [0x468498], 4
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
ret

Function at 0x415c37
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ecx
dec dword [0x465208]
jne 0x415c45
call fcn.0044fdb0
mov eax, dword [0x468498]
mov eax, dword [eax]
add dword [0x468498], 4
mov ecx, eax
shr ecx, 0xb
xor eax, ecx
mov ecx, eax
and ecx, 0xff3a58ad
shl ecx, 7
xor eax, ecx
mov ecx, eax
and ecx, 0xffffdf8c
shl ecx, 0xf
xor eax, ecx
mov ecx, eax
shr ecx, 0x12
xor ecx, eax
test ecx, ecx
mov dword [esp], ecx
fild dword [esp]
jge 0x415c8b
fadd qword [0x45b0a8]
fmul qword [0x45b0a0]
pop ecx
ret
Function at 0x415c93
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, dword [esp + 4]
push esi
xor esi, esi
inc esi
mov dword [0x4684a0], eax
push edi
mov edx, esi
mov eax, 0x4684a0
mov ecx, dword [eax]
mov edi, ecx
shr edi, 0x1e
xor edi, ecx
imul edi, edi, 0x6c078965
add edi, edx
mov dword [eax + 4], edi
add eax, 4
inc edx
cmp eax, 0x468e5c
jl 0x415ca8
pop edi
mov dword [0x465208], esi
mov dword [0x468e60], esi
pop esi
ret

Function at 0x417a14
Capabilities:
Terminate process

Disassembly:
push dword [esp + 4]
call dword [sym.imp.USER32.dll_PostQuitMessage]
push 0
push 0
call fcn.004439d4
mov eax, dword [0x466390]
test eax, eax
pop ecx
pop ecx
je 0x417a39
push eax
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov eax, dword [0x465200]
push esi
xor esi, esi
cmp word [eax], si
jbe 0x417a65
mov ecx, dword [esi*4 + 0x467428]
test ecx, ecx
je 0x417a58
push 1
call fcn.0040fd96
mov eax, dword [0x465200]
movzx eax, word [eax]
inc esi
cmp esi, eax
jl 0x417a46
push dword [esp + 8]
call fcn.0043db5a
pop esi

Function at 0x4185dc
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
cmp eax, 0x2af8
jae 0x418658
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx*4 + 0x466980]
test ecx, ecx
je 0x418658
cmp eax, dword [ecx + 0xc]
jae 0x418658
cmp dword [ebp + 0x10], 0
mov ecx, dword [ecx + 0x14]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [eax + 8]
je 0x418637
test ecx, ecx
je 0x418628
push dword [ecx + 0x18]
push dword [ebp + 0x10]
call fcn.004572f0
push eax
call fcn.00457520
add esp, 0xc
pop ebp
ret
push 0x40
push dword [ebp + 0x10]
push dword [eax]
call dword [sym.imp.USER32.dll_GetWindowTextA]
pop ebp
ret
test ecx, ecx
je 0x418646
push dword [ecx + 0x18]
call fcn.00457520
pop ecx
pop ebp
ret
push dword [eax]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
cmp eax, 0x3f
jbe 0x418664
push 0x3f
pop eax
pop ebp
ret
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x418662
mov byte [eax], 0
xor eax, eax
pop ebp
ret
Function at 0x41a1c5
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [0x466b78]
push ebx
push esi
push edi
push 1
xor ebx, ebx
push ebx
push 0xffffffffffffffff
push 0x45af3c
call fcn.0040187e
cmp dword [ebp + 8], ebx
je 0x41a24d
mov edi, dword [ebp + 0xc]
cmp edi, ebx
mov esi, dword [ebp + 0x10]
je 0x41a1f6
cmp byte [edi], bl
jne 0x41a1fe
cmp esi, ebx
je 0x41a24d
cmp byte [esi], bl
je 0x41a24d
lea eax, [ebp - 4]
push eax
push 0x2001f
push ebx
push edi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41a24d
cmp esi, ebx
je 0x41a257
cmp byte [esi], bl
je 0x41a257
push str.ahk_default
push esi
call fcn.00441ec1
test eax, eax
pop ecx
pop ecx
jne 0x41a234
mov esi, 0x4595d8
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
je 0x41a27f
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
push dword [ebp - 4]
call fcn.0041a53b
pop ecx
push dword [ebp - 4]
mov byte [ebp + 0xf], al
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp + 0xf], bl
je 0x41a24d
push edi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x41a24d
mov ecx, dword [0x466b78]
push 1
push ebx
push 0xffffffffffffffff
push 0x459724
call fcn.0040187e
jmp 0x41a250
Function at 0x41a53b
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push edi
xor ebx, ebx
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x114]
push eax
push ebx
push dword [ebp + 8]
mov dword [ebp - 8], 0xff
call esi
mov edi, 0x103
jmp 0x41a5e0
lea eax, [ebp - 0xc]
push eax
push 0x20019
push ebx
lea eax, [ebp - 0x114]
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41a5e8
push dword [ebp - 0xc]
call fcn.0041a53b
pop ecx
push dword [ebp - 0xc]
mov byte [ebp - 1], al
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp - 1], bl
je 0x41a5e8
lea eax, [ebp - 0x114]
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x41a5e8
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x114]
push eax
push ebx
push dword [ebp + 8]
mov dword [ebp - 8], 0xff
call esi
cmp eax, edi
jne 0x41a575
mov al, 1
jmp 0x41a5ea
xor al, al
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41efa8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, dword [esp + 8]
test bl, bl
jne 0x41efb5
xor al, al
pop ebx
ret
mov eax, dword [esp + 0xc]
dec eax
je 0x41f013
dec eax
je 0x41f004
cmp byte [0x467399], 0
jne 0x41efe0
cmp byte [0x46739a], 0
jne 0x41efe0
movzx eax, bl
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
jmp 0x41f065
push esi
movzx esi, bl
push esi
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ah, ah
js 0x41effe
push esi
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, ah
js 0x41effe
xor eax, eax
jmp 0x41f001
xor eax, eax
inc eax
pop esi
pop ebx
ret
movzx eax, bl
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
pop ebx
and eax, 1
ret
push ebx
call fcn.00444b50
test al, al
pop ecx
je 0x41f035
cmp dword [0x46638c], 0
movzx eax, bl
je 0x41f05e
mov al, byte [eax + 0x466278]
shr al, 7
pop ebx
ret
xor eax, eax
cmp dword [0x466388], eax
je 0x41f05b
push eax
push eax
push ebx
call fcn.00413062
add esp, 0xc
test al, al
je 0x41f056
push 1
call fcn.004123b3
pop ecx
movzx eax, bl
jmp 0x41f02a
movzx eax, bl
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
and al, 1
pop ebx
ret
Function at 0x421d1c
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push esi
push 1
push 0
push 0xffffffffffffffff
mov esi, ecx
mov ecx, dword [0x466b78]
push 0x45af3c
call fcn.0040187e
push dword [ebp + 0x18]
mov ecx, esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.0043abd3
mov esi, eax
test esi, esi
je 0x421e0e
push dword [ebp + 8]
push esi
call fcn.0043acbc
test eax, eax
pop ecx
pop ecx
mov dword [ebp + 0x14], eax
je 0x421e0e
push ebx
push edi
push 0
push esi
mov byte [ebp + 0x1b], 0
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edi, dword [sym.imp.USER32.dll_AttachThreadInput]
mov ebx, eax
test ebx, ebx
je 0x421daa
cmp ebx, dword [0x466c9c]
je 0x421daa
push esi
call fcn.0043bba4
test al, al
pop ecx
jne 0x421daa
push 1
push ebx
push dword [0x466c9c]
call edi
test eax, eax
setne byte [ebp + 0x1b]
push dword [ebp + 0x14]
call dword [sym.imp.USER32.dll_SetFocus]
test eax, eax
je 0x421dfb
mov ecx, dword [0x466b78]
push 1
push 0
push 0xffffffffffffffff
push 0x459724
call fcn.0040187e
mov eax, dword [0x464108]
mov eax, dword [eax + 0x58]
cmp eax, 0xffffffff
jle 0x421dfb
cmp eax, 0x19
jge 0x421df1
cmp byte [0x467399], 0
je 0x421df1
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x421dfb
push 1
push eax
call fcn.0040dca7
pop ecx
pop ecx
cmp byte [ebp + 0x1b], 0
je 0x421e0c
push 0
push ebx
push dword [0x466c9c]
call edi
pop edi
pop ebx
xor eax, eax
inc eax
pop esi
pop ebp
ret 0x14
Function at 0x421e16
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
push ebx
push esi
push 1
xor ebx, ebx
push ebx
push 0xffffffffffffffff
mov esi, ecx
mov ecx, dword [0x466b78]
push 0x45af3c
call fcn.0040187e
mov ecx, dword [0x4694f8]
push 1
push ebx
push 0xffffffffffffffff
push ebx
mov dword [ebp - 0x14], ecx
call fcn.0040187e
push dword [ebp + 0x14]
mov ecx, esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0043abd3
cmp eax, ebx
mov dword [ebp + 0x10], eax
je 0x421f01
push edi
push ebx
push eax
mov byte [ebp + 0x17], bl
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov esi, dword [sym.imp.USER32.dll_AttachThreadInput]
mov edi, eax
cmp edi, ebx
je 0x421eaa
cmp edi, dword [0x466c9c]
je 0x421eaa
push dword [ebp + 0x10]
call fcn.0043bba4
test al, al
pop ecx
jne 0x421eaa
push 1
push edi
push dword [0x466c9c]
call esi
test eax, eax
setne byte [ebp + 0x17]
call dword [sym.imp.USER32.dll_GetFocus]
cmp byte [ebp + 0x17], bl
mov dword [ebp - 4], eax
je 0x421ec2
push ebx
push edi
push dword [0x466c9c]
call esi
cmp dword [ebp - 4], ebx
pop edi
je 0x421f01
lea eax, [ebp - 0x414]
push 0x3fb
push eax
push dword [ebp - 4]
mov dword [ebp - 0x10], eax
call dword [sym.imp.USER32.dll_GetClassNameA]
test eax, eax
je 0x421f01
lea eax, [ebp - 0x10]
push eax
push 0x43af08
push dword [ebp + 0x10]
mov dword [ebp - 8], ebx
mov byte [ebp - 0xc], bl
call dword [sym.imp.USER32.dll_EnumChildWindows]
cmp byte [ebp - 0xc], bl
jne 0x421f06
xor eax, eax
inc eax
jmp 0x421f4b
push dword [ebp - 8]
lea eax, [ebp - 0x414]
push 0x459754
push 0x400
push eax
call fcn.0040a5ae
mov ecx, dword [0x466b78]
add esp, 0x10
push 1
push ebx
push 0xffffffffffffffff
push 0x459724
call fcn.0040187e
mov ecx, dword [ebp - 0x14]
push 1
push ebx
push 0xffffffffffffffff
lea eax, [ebp - 0x414]
push eax
call fcn.0040187e
pop esi
pop ebx
leave
ret 0x10
Function at 0x423294
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov ecx, dword [0x466b78]
push ebx
push esi
push edi
xor edi, edi
inc edi
push edi
xor ebx, ebx
push ebx
push 0xffffffffffffffff
push 0x45af3c
call fcn.0040187e
mov ecx, dword [0x4694f8]
push edi
push ebx
push 0xffffffffffffffff
push ebx
call fcn.0040187e
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x4233f5
cmp byte [eax], bl
je 0x4233f5
mov esi, 0x105
push esi
push eax
lea eax, [ebp - 0x120]
push eax
call fcn.004392af
lea eax, [ebp - 0x120]
push eax
call fcn.00457520
add esp, 0x10
cmp byte [ebp + eax - 0x121], 0x5c
je 0x423322
lea ecx, [eax + 1]
cmp ecx, esi
jae 0x4233f5
mov byte [ebp + eax - 0x120], 0x5c
mov byte [ebp + eax - 0x11f], bl
push edi
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
test byte [0x46a3bc], 1
jne 0x423354
or dword [0x46a3bc], edi
push str.GetDiskFreeSpaceExA
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x46a3b8], eax
mov eax, dword [0x46a3b8]
cmp eax, ebx
je 0x423396
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x120]
push ecx
call eax
test eax, eax
je 0x4233f5
cmp byte [ebp + 0xc], bl
je 0x423383
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
jmp 0x423389
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
shrd ecx, eax, 0x14
shr eax, 0x14
mov esi, ecx
mov edi, eax
jmp 0x4233d1
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x4233f5
cmp byte [ebp + 0xc], bl
mov eax, dword [ebp + 8]
jne 0x4233c2
mov eax, dword [ebp - 0x14]
imul eax, dword [ebp - 4]
imul eax, dword [ebp - 0xc]
shr eax, 0x14
mov esi, eax
xor edi, edi
mov ecx, dword [0x466b78]
push 1
push ebx
push 0xffffffffffffffff
push 0x459724
call fcn.0040187e
mov ecx, dword [0x4694f8]
push edi
push esi
call fcn.00401d8e
jmp 0x4233f7
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x423694
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push ebx
push esi
push edi
xor edi, edi
inc edi
push edi
push 0
push 0xffffffffffffffff
mov dword [ebp - 4], ecx
mov ecx, dword [0x466b78]
mov ebx, 0x45af3c
push ebx
call fcn.0040187e
mov esi, dword [ebp + 8]
test esi, esi
je 0x4236ed
cmp byte [esi], 0
je 0x4236ed
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4236f6
test al, 0x10
je 0x4236ed
mov ecx, dword [0x466b78]
push edi
push 0
push 0xffffffffffffffff
push 0x459724
call fcn.0040187e
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 4
push 0x5c
push esi
call fcn.00457cb0
mov edi, eax
test edi, edi
pop ecx
pop ecx
je 0x423756
push esi
call fcn.00457520
cmp eax, 0x104
pop ecx
jae 0x423751
mov eax, edi
sub eax, esi
inc eax
push eax
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.004392af
mov ecx, dword [ebp - 4]
add esp, 0xc
lea eax, [ebp - 0x108]
push eax
call fcn.00423694
cmp byte [edi + 1], 0
je 0x423751
mov ecx, dword [0x466b78]
push 1
call fcn.00401e91
cmp byte [eax], 0x31
jne 0x423756
xor eax, eax
inc eax
jmp 0x4236ef
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x423768
mov ebx, 0x459724
mov ecx, dword [0x466b78]
push 1
push 0
push 0xffffffffffffffff
push ebx
call fcn.0040187e
jmp 0x4236ef
Function at 0x42377f
Capabilities:
Check for time delay via gettickcount
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x26c
push ebx
push esi
mov esi, dword [0x4694a8]
push edi
push 1
xor ebx, ebx
push ebx
push 0xffffffffffffffff
mov edi, ecx
mov ecx, dword [0x466b78]
push 0x45af3c
call fcn.0040187e
cmp byte [esi], bl
je 0x423921
push 0x45e4f0
push esi
call fcn.0043956b
test eax, eax
pop ecx
pop ecx
jne 0x4237ec
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x423921
mov ecx, dword [0x466b78]
push 1
push ebx
push 0xffffffffffffffff
push 0x459724
call fcn.0040187e
jmp 0x423921
push ebx
mov ecx, edi
call fcn.0040c3ca
cmp eax, 0x104
jae 0x423921
lea eax, [ebp - 0x26c]
push eax
push esi
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
jne 0x423821
push 0x18
push ebx
push ebx
jmp 0x423916
lea eax, [ebp - 0x12c]
push esi
push eax
call fcn.004572f0
lea eax, [ebp - 0x12c]
push 0x5c
push eax
call fcn.00457cb0
add esp, 0x10
cmp eax, ebx
je 0x423855
mov byte [eax + 1], bl
lea eax, [ebp - 0x12c]
push eax
call fcn.00457520
pop ecx
jmp 0x42385d
mov byte [ebp - 0x12c], bl
xor eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [ebp + eax - 0x12c]
mov esi, 0x103
mov dword [ebp - 0xc], ecx
sub esi, eax
call edi
sub eax, dword [0x4671ac]
mov ecx, dword [0x464108]
cmp eax, dword [ecx + 0xac]
jbe 0x4238ae
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x4238a7
push 1
push 0xffffffffffffffff
call fcn.0040dca7
pop ecx
pop ecx
call edi
mov dword [0x4671ac], eax
test byte [ebp - 0x26c], 0x10
jne 0x4238ed
lea eax, [ebp - 0x240]
push eax
call fcn.00457520
cmp eax, esi
pop ecx
ja 0x4238ea
lea eax, [ebp - 0x240]
push eax
push dword [ebp - 0xc]
call fcn.004572f0
pop ecx
pop ecx
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x4238ed
inc dword [ebp - 4]
lea eax, [ebp - 0x26c]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x423874
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 4]
cdq
push 0x18
push edx
push eax
mov ecx, dword [0x466b78]
call fcn.00401c4f
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret
Function at 0x423929
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov ecx, dword [0x466b78]
push ebx
push edi
xor edi, edi
inc edi
push edi
xor ebx, ebx
push ebx
push 0xffffffffffffffff
push 0x45af3c
call fcn.0040187e
mov ecx, dword [0x4694f8]
push edi
push ebx
push 0xffffffffffffffff
push ebx
call fcn.0040187e
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x4239ab
cmp byte [eax], bl
je 0x4239ab
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x4239ab
mov ecx, dword [0x466b78]
push edi
push ebx
push 0xffffffffffffffff
push 0x459724
call fcn.0040187e
push edi
push ebx
push 0xffffffffffffffff
push dword [ebp + 8]
lea eax, [ebp - 0x80]
push eax
call fcn.00439ac8
pop ecx
pop ecx
mov ecx, dword [0x4694f8]
push eax
call fcn.0040187e
jmp 0x4239ad
mov eax, edi
pop edi
pop ebx
leave
ret 4