joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41a706
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x513720]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x2c
lea eax, [ebp - 0x30]
mov edi, ecx
push 0
push eax
call fcn.004be330
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
add esp, 0xc
mov dword [ebp - 0x34], 0x30
push 0
call esi
push 0x6b
mov ebx, 0x500244
mov dword [ebp - 0x20], eax
push 0
mov dword [ebp - 0xc], ebx
call esi
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
push 0x7f00
push 0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0x41a4e8
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
push 0
call esi
push eax
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
push 0x86ca0000
push eax
push ebx
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ebx, eax
mov dword [edi + 0x14], ebx
test ebx, ebx
je 0x41a824
call fcn.0041b8bf
push 0
mov esi, eax
call dword [sym.imp.ole32.dll_CoInitialize]
lea ecx, [esi + 4]
call fcn.004210d9
push 0
push 0x406749
push ebx
push ecx
lea ecx, [esi + 0x254]
call fcn.004074f8
mov eax, dword [edi + 0x14]
lea ecx, [edi + 0x24]
mov dword [edi + 0x274], eax
call fcn.004210d9
xor ebx, ebx
lea ecx, [edi + 0x26c]
push ebx
push ebx
push 0x415dad
call fcn.00415e52
push ebx
push ebx
push 0x412ef8
lea ecx, [edi + 0x26c]
call fcn.00415e52
mov ecx, edi
call fcn.0041ae0c
mov ecx, edi
call fcn.0041b3fa
push ebx
push ebx
push 0x43352b
call fcn.004bc9a5
xor eax, eax
add esp, 0xc
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b923d
mov esp, ebp
pop ebp
ret

Function at 0x41ac09
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x513720]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x5184c4]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x30], eax
push esi
push edi
test ebx, ebx
je 0x41ac77
push 0x31
push 0x500268
push 0x500274
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 1
jne 0x41ac77
push 9
pop ecx
mov esi, str.ck_W_aRbc0R
lea edi, [ebp - 0x2c]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x2c]
push eax
movsw word es:[edi], word [esi]
mov esi, dword [ebp - 0x30]
mov ecx, esi
call fcn.0041ae84
push 0
push dword [esi + 0x14]
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
lea ecx, [esi + 0x24]
call fcn.004142c5
jmp 0x41ac79
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b923d
mov esp, ebp
pop ebp
ret 4
Function at 0x41ac8c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x513720]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [0x5184c4]
xor ebx, ebx
push edi
mov edi, ebx
mov eax, dword [esi + 0xc]
dec eax
je 0x41adc9
dec eax
je 0x41ad0e
dec eax
jne 0x41adf7
cmp dword [esi + 0x4d4], ebx
jne 0x41ace1
cmp dword [esi + 0x4e0], ebx
je 0x41ace1
push ebx
push ebx
push dword [esi + 0x14]
mov ecx, esi
call fcn.0041b175
jmp 0x41adf7
push 0x141
push 0x5002bc
push 0x5002c8
push dword [esi + 0x14]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 1
jne 0x41adf7
mov dword [esi + 0x10], 0xb
jmp 0x41aded
cmp dword [esi + 0x4d4], ebx
je 0x41ad22
mov dword [esi + 0x10], 0xa
jmp 0x41aded
xor eax, eax
push 0x208
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push ebx
push eax
call fcn.004be330
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x104
push eax
push dword [esi + 0x14]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x41ad5e
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jbe 0x41adbd
xor eax, eax
push 0x208
mov word [ebp - 0x41c], ax
lea eax, [ebp - 0x41a]
push ebx
push eax
call fcn.004be330
lea eax, [ebp - 0x210]
push eax
push str.ck_W_vN
push 0xffffffffffffffff
lea eax, [ebp - 0x41c]
push 0x104
push eax
call fcn.004bb328
add esp, 0x20
lea eax, [ebp - 0x41c]
mov ecx, esi
push eax
call fcn.0041ae84
push ebx
push dword [esi + 0x14]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x41adf7
push 0x141
push 0x5002bc
push 0x5002c8
push dword [esi + 0x14]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 1
jne 0x41adf7
mov dword [esi + 0x10], 2
xor edi, edi
push ebx
inc edi
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b923d
mov esp, ebp
pop ebp
ret 8

Function at 0x41b175
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0
push dword [esi + 0x14]
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [esi + 0x10], 4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x1680]
xor edx, edx
mov ecx, 0x3e8
div ecx
push 0
push 0
push 0x415c3a
lea ecx, [esi + 0x26c]
mov dword [esi + 0x1654], eax
call fcn.00415e52
push ecx
lea ecx, [esi + 0x24]
call fcn.00413ff6
xor eax, eax
pop esi
ret 0xc
Function at 0x41c897
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4df267
mov eax, dword fs:[0]
push eax
mov eax, 0x2b30
call fcn.004be980
mov eax, dword [0x513720]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x2b18]
and dword [ebp - 0x2b1c], 0
push 0x287c
push 0
push eax
call fcn.004be330
add esp, 0xc
mov dword [ebp - 0x2b20], 0x2880
call fcn.0041a297
mov eax, dword [eax + 0x14]
test eax, eax
je 0x41c911
lea ecx, [ebp - 0x2b20]
push ecx
lea ecx, [ebp - 0x2b1c]
push ecx
call eax
jmp 0x41c914
xor eax, eax
inc eax
test eax, eax
jne 0x41ca83
lea esi, [ebp - 0x2b1c]
mov bl, byte [esi + 0x194]
test bl, bl
jne 0x41c958
cmp byte [esi + 0x195], bl
jne 0x41c958
cmp byte [esi + 0x196], bl
jne 0x41c958
cmp byte [esi + 0x197], bl
jne 0x41c958
cmp byte [esi + 0x198], bl
jne 0x41c958
cmp byte [esi + 0x199], bl
je 0x41ca79
mov dword [ebp - 0x54], 0x4242426a
xor ecx, ecx
mov dword [ebp - 0x58], 0x42104212
mov dword [ebp - 0x5c], 0x421d4215
mov dword [ebp - 0x60], 0x426a4210
mov dword [ebp - 0x64], 0x4212421d
mov dword [ebp - 0x68], 0x4215426a
mov dword [ebp - 0x6c], 0x42104212
mov dword [ebp - 0x70], 0x421d4215
mov dword [ebp - 0x74], 0x426a4210
mov dword [ebp - 0x78], 0x4212421d
mov dword [ebp - 0x7c], 0x4215426a
mov dword [ebp - 0x80], 0x42104212
mov dword [ebp - 0x84], 0x421d4215
mov dword [ebp - 0x88], 0x426a4210
mov dword [ebp - 0x8c], 0x4212421d
mov al, byte [ebp + ecx - 0x8c]
sub al, 3
xor al, 0x3f
mov byte [ebp + ecx - 0x8c], al
inc ecx
cmp ecx, 0x3c
jl 0x41c9cc
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x29c], ax
lea eax, [ebp - 0x29a]
push eax
call fcn.004be330
movzx eax, byte [esi + 0x199]
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, bl
push eax
lea eax, [ebp - 0x8c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x29c]
push 0x104
push eax
call fcn.004bb328
add esp, 0x34
lea eax, [ebp - 0x29c]
lea ecx, [ebp - 0x2b38]
push eax
call fcn.004034e9
and dword [ebp - 4], 0
mov ecx, edi
push eax
call fcn.0041ce36
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2b38]
push 0
push 1
call fcn.00403864
mov esi, dword [esi]
test esi, esi
jne 0x41c922
mov ecx, dword [edi]
xor eax, eax
cmp ecx, dword [edi + 4]
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004b923d
mov esp, ebp
pop ebp
ret 4
Function at 0x41e727
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x58
mov esi, ecx
push 0
push esi
call fcn.004be330
and dword [esi + 0x14], 0
add esp, 0xc
and dword [esi + 0x10], 0
mov ecx, esi
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
push dword [ebp + 0xc]
mov dword [esi + 8], 0x98badcfe
push dword [ebp + 8]
mov dword [esi + 0xc], 0x10325476
call fcn.0041de81
push dword [ebp + 0x10]
mov ecx, esi
call fcn.0041df39
pop esi
pop ebp
ret 0xc
Function at 0x41f032
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov dword [ebp - 0xc], ecx
mov ebx, 0x518e00
push 0x40
mov ecx, ebx
call fcn.0041f2ac
push 0x40
push 0x500670
mov edx, ebx
mov ecx, ebx
call fcn.0041f228
mov eax, dword [0x514ba4]
add esp, 0xc
sub eax, dword [0x514ba0]
mov ebx, 0x518888
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
push edi
mov esi, dword [0x514ba0]
mov edi, 0x518eb0
push 8
pop ecx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x514ba0]
mov edx, ebx
call fcn.0041f17c
mov ecx, dword [0x514ba0]
mov ebx, dword [ebp - 8]
push 0x20
pop edx
mov al, byte [ebx + ecx]
xor byte [ecx], al
inc ecx
dec edx
jne 0x41f09e
mov ebx, dword [ebp - 4]
mov esi, 0x518eb0
mov edi, dword [0x514ba4]
sub ebx, 0x30
mov dword [ebp - 4], ebx
push 8
pop ecx
rep movsd dword es:[edi], dword [esi]
cmp ebx, 0x5185b8
jge 0x41f075
mov ecx, 0x518e00
push 0x40
push 0x500950
mov edx, ecx
call fcn.0041f228
mov ebx, dword [ebp - 0xc]
xor esi, esi
pop ecx
pop ecx
pop edi
mov dword [ebx], esi
mov dword [ebx + 4], esi
mov al, byte [esi + 0x518e00]
mov edx, esi
sar edx, 3
mov ecx, esi
and ecx, 7
shl al, cl
or byte [edx + ebx], al
inc esi
cmp esi, 0x40
jl 0x41f0e8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41f109
Capabilities:
Encrypt data using des

Disassembly:
push ebx
push esi
push edi
mov ebx, 0x518dc0
mov edx, 0x518bc0
push 0x40
mov ecx, ebx
call fcn.0041f2ac
push 0x38
push 0x5006b0
mov edx, ebx
mov ecx, ebx
call fcn.0041f228
add esp, 0xc
mov edi, 0x5185b8
xor ebx, ebx
movsx esi, byte [ebx + 0x500940]
mov ecx, 0x518dc0
push esi
call fcn.0041f26f
push esi
mov ecx, 0x518ddc
call fcn.0041f26f
push 0x30
push 0x500990
mov edx, 0x518dc0
mov ecx, edi
call fcn.0041f228
add esp, 0x10
add edi, 0x30
inc ebx
cmp edi, 0x5188b8
jl 0x41f139
pop edi
pop esi
pop ebx
ret

Function at 0x41f17c
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
push 0x30
push 0x5006f0
mov edx, esi
mov dword [ebp - 0xc], esi
mov ecx, 0x518ed0
call fcn.0041f228
pop ecx
xor ebx, ebx
sub edi, 0x518ed0
pop ecx
mov ecx, ebx
mov al, byte [edi + ecx + 0x518ed0]
xor byte [ecx + 0x518ed0], al
inc ecx
cmp ecx, 0x30
jl 0x41f1ab
mov edi, 0x518ed2
mov dword [ebp - 4], 8
mov al, byte [edi - 1]
add al, al
add al, byte [edi]
add al, al
add al, byte [edi + 1]
add al, al
add al, byte [edi + 2]
movsx ecx, al
mov al, byte [edi - 2]
add al, al
add al, byte [edi + 3]
movsx eax, al
lea edx, [ecx + 0x500720]
add eax, ebx
mov ecx, esi
shl eax, 4
push 4
add edx, eax
call fcn.0041f2ac
add ebx, 4
lea edi, [edi + 6]
add esi, 4
dec dword [ebp - 4]
pop ecx
jne 0x41f1ca
mov edx, dword [ebp - 0xc]
mov ecx, edx
push 0x20
push 0x500920
call fcn.0041f228
pop ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41fbe7
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], edx
push ebx
push 0x80
push 3
push ebx
push 3
push bind
push ecx
mov edi, ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x41fc6f
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax], ebx
cmp ebx, 0xffffffff
je 0x41fc63
xor ecx, ecx
mov eax, ebx
add eax, 1
setb cl
neg ecx
or ecx, eax
push ecx
call fcn.004bb8a9
mov edi, eax
pop ecx
test edi, edi
je 0x41fc63
push 0
push dword [ebp - 4]
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
or esi, 0xffffffff
mov eax, dword [eax]
mov byte [edi + eax], 0
cmp esi, 0xffffffff
je 0x41fc6f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41fc78
Capabilities:
Clear file content
Write file on windows

Disassembly:
push 0x58
mov eax, 0x4df3df
call fcn.004c1130
mov ebx, edx
mov esi, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x48]
push esi
mov dword [ebp - 0x4c], eax
call fcn.004034e9
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], eax
mov word [ebp - 0x30], ax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
push esi
call fcn.004034e9
mov byte [ebp - 4], 2
lea edx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x64]
call fcn.004232f0
pop ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
push 0
push 1
call fcn.00403864
cmp dword [ebp - 0x1c], 8
lea ecx, [ebp - 0x30]
cmovae ecx, dword [ebp - 0x30]
call fcn.00423010
push 0
push 0x80
push 4
push 0
push 2
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x41fd41
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push 0
push eax
push ebx
push dword [ebp - 0x4c]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x41fd41
cmp dword [ebp - 0x18], ebx
jne 0x41fd41
xor esi, esi
inc esi
jmp 0x41fd43
xor esi, esi
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
push 0
push 1
call fcn.00403864
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
push 0
push 1
call fcn.00403864
mov eax, esi
call fcn.004c10df
ret
Function at 0x420d86
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x513720]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x500aa4
mov edi, eax
push 0x84
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 8], eax
test eax, eax
je 0x420e7a
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 8]
mov ebx, eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 8], eax
test eax, eax
jne 0x420de8
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x420e7a
lea eax, [ebx + 1]
push eax
call fcn.004b8adf
pop ecx
push ebx
push dword [ebp - 8]
mov edi, eax
push edi
call fcn.004bdce0
add esp, 0xc
mov byte [edi + ebx], 0
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
test ebx, ebx
je 0x420e7a
test edi, edi
je 0x420e7a
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push 1
push 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x420e7a
mov eax, dword [ecx]
xor edx, edx
push edx
push edx
push edx
push edx
push ecx
call dword [eax + 0x14]
mov eax, dword [ebp - 8]
push 0
push ebx
push edi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
push dword [ebp - 8]
lea ecx, [esi + 0x1c]
call fcn.004201df
test eax, eax
jne 0x420e6a
mov eax, dword [esi + 0x28]
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0x2c]
mov dword [esi + 0x18], eax
mov dword [esi + 0x10], 1
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
push edi
call fcn.004bb670
pop ecx
mov eax, dword [esi + 0x10]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b923d
mov esp, ebp
pop ebp
ret

Function at 0x4210d9
Capabilities:
Create thread
Resume thread

Disassembly:
push esi
mov esi, ecx
push edi
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
xor edi, edi
cmp dword [esi + 4], edi
je 0x4210f9
push edi
mov ecx, esi
call fcn.00421916
test eax, eax
je 0x421139
lea eax, [esi + 8]
push eax
push 4
push esi
push 0x421974
push edi
push edi
call fcn.004bcb07
xor ecx, ecx
mov dword [esi + 4], eax
add esp, 0x18
test eax, eax
setne cl
test ecx, ecx
je 0x421139
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0x3e8
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
neg eax
sbb eax, eax
inc eax
jmp 0x42113b
xor eax, eax
pop edi
pop esi
ret
Function at 0x4212df
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0x10
mov eax, 0x4df5a8
call fcn.004c1130
mov ebx, ecx
lea eax, [ebx + 0x28]
mov dword [ebp - 0x1c], eax
push eax
mov dword [ebp - 0x18], 1
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
and dword [ebp - 4], 0
mov eax, dword [ebx + 0x20]
sub eax, dword [ebx + 0x1c]
test eax, 0xfffffffc
je 0x4213a3
mov edx, dword [ebx + 0x20]
mov eax, edx
mov ecx, dword [ebx + 0x1c]
sub eax, ecx
mov byte [ebp - 0x14], 0
push dword [ebp - 0x14]
sar eax, 2
push eax
call fcn.00421495
mov eax, dword [ebx + 0x1c]
pop ecx
pop ecx
mov eax, dword [eax]
mov esi, dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, esi
jb 0x42135b
mov ecx, dword [ebx + 0x1c]
mov eax, dword [ecx]
mov edi, dword [eax + 8]
mov esi, dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
cmp eax, esi
jbe 0x421384
mov eax, dword [ebx + 0x1c]
mov ecx, ebx
push dword [eax]
call fcn.004212b7
mov eax, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x20]
lea edx, [eax + 4]
sub ecx, edx
and ecx, 0xfffffffc
push ecx
push edx
push eax
call fcn.004b9250
add esp, 0xc
add dword [ebx + 0x20], 0xfffffffc
mov eax, dword [ebx + 0x20]
sub eax, dword [ebx + 0x1c]
test eax, 0xfffffffc
je 0x4213a3
push 0
push 0
push 0x7e9
push dword [ebx + 0xc]
call dword [sym.imp.USER32.dll_PostMessageW]
or dword [ebp - 4], 0xffffffff
lea eax, [ebx + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.004c10df
ret

Function at 0x4213b7
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0x10
mov eax, 0x4df5a8
call fcn.004c1130
mov ebx, ecx
lea eax, [ebx + 0x28]
mov dword [ebp - 0x1c], eax
push eax
mov dword [ebp - 0x18], 1
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
and dword [ebp - 4], 0
mov eax, dword [ebx + 0x20]
sub eax, dword [ebx + 0x1c]
test eax, 0xfffffffc
je 0x421482
mov edx, dword [ebx + 0x20]
mov eax, edx
mov ecx, dword [ebx + 0x1c]
sub eax, ecx
mov byte [ebp - 0x14], 0
push dword [ebp - 0x14]
sar eax, 2
push eax
call fcn.00421495
mov eax, dword [ebx + 0x1c]
pop ecx
pop ecx
mov eax, dword [eax]
mov esi, dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, esi
jb 0x421459
mov ecx, dword [ebx + 0x1c]
mov eax, dword [ecx]
mov edi, dword [eax + 8]
mov esi, dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
cmp eax, esi
ja 0x421459
mov ecx, dword [ebx + 0x1c]
mov eax, dword [ecx]
mov edi, dword [eax + 4]
mov esi, dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0
lea ecx, [esi + edi]
sub ecx, eax
push ecx
push 0x64
push dword [ebx + 0xc]
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x421482
mov eax, dword [ebx + 0x1c]
mov ecx, ebx
push dword [eax]
call fcn.004212b7
mov eax, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x20]
lea edx, [eax + 4]
sub ecx, edx
and ecx, 0xfffffffc
push ecx
push edx
push eax
call fcn.004b9250
add esp, 0xc
add dword [ebx + 0x20], 0xfffffffc
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.004c10df
ret
Function at 0x422280
Capabilities:
Get system information on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x513720]
xor eax, ebp
mov dword [ebp - 4], eax
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
push str.GetNativeSystemInfo
push 0x4feb94
movdqa xmmword [ebp - 0x40], xmm0
movdqa xmmword [ebp - 0x30], xmm0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4222da
lea ecx, [ebp - 0x40]
push ecx
call eax
jmp 0x4222e4
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x40]
cmp ax, 6
je 0x42230c
cmp ax, 0xa
je 0x42230c
cmp ax, 9
je 0x42230c
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b923d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.004b923d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret

Function at 0x422ba0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x513720]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x23c], 0
test edi, edi
jne 0x422bd9
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b923d
mov esp, ebp
pop ebp
ret
push 0x228
lea eax, [ebp - 0x234]
mov dword [ebp - 0x238], 0x22c
push 0
push eax
call fcn.004be330
add esp, 0xc
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x422bc6
lea eax, [ebp - 0x238]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x422c50
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.004bbc55
add esp, 8
test eax, eax
je 0x422c46
lea eax, [ebp - 0x238]
push eax
push esi
call ebx
test eax, eax
jne 0x422c22
jmp 0x422c50
mov dword [ebp - 0x23c], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x23c]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004b923d
mov esp, ebp
pop ebp
ret
Function at 0x422c70
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x513720]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x124
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x130], pe_nt_image_headers32
push 0
push eax
mov ebx, ecx
call fcn.004be330
add esp, 0xc
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x422cfa
lea eax, [ebp - 0x130]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x422cf3
mov edi, dword [sym.imp.KERNEL32.dll_Process32Next]
lea eax, [ebp - 0x10c]
push ebx
push eax
call fcn.004bae8d
add esp, 8
test eax, eax
je 0x422d0d
lea eax, [ebp - 0x130]
push eax
push esi
call edi
test eax, eax
jne 0x422cd1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b923d
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b923d
mov esp, ebp
pop ebp
ret

Function at 0x422d30
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x534
mov eax, dword [0x513720]
xor eax, esp
mov dword [esp + 0x530], eax
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x422e48
cmp byte [esi], 0
je 0x422e48
mov ebx, dword [sym.imp.KERNEL32.dll_Process32Next]
jmp 0x422d70
push 0x400
lea eax, [esp + 0x13c]
push 0
push eax
call fcn.004be330
add esp, 0xc
push 0x3b
push esi
call fcn.004bb1e0
add esp, 8
mov dword [esp + 0xc], eax
test eax, eax
je 0x422e48
mov edi, eax
sub edi, esi
cmp edi, 0x3ff
jg 0x422e48
push edi
lea eax, [esp + 0x13c]
push esi
push eax
call fcn.004bdce0
add esp, 0xc
cmp edi, 0x400
jae 0x422e80
push 0x124
lea eax, [esp + 0x18]
mov byte [esp + edi + 0x13c], 0
push 0
push eax
mov dword [esp + 0x1c], pe_nt_image_headers32
call fcn.004be330
add esp, 0xc
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x422e3d
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x422e36
lea eax, [esp + 0x138]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.004bae8d
add esp, 8
test eax, eax
je 0x422e5f
lea eax, [esp + 0x10]
push eax
push esi
call ebx
test eax, eax
jne 0x422e11
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0xc]
inc esi
jne 0x422d70
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x530]
xor ecx, esp
call fcn.004b923d
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x53c]
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004b923d
mov esp, ebp
pop ebp
ret
call fcn.004bb4f0
int3