joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414883
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x348
push ebx
push esi
push edi
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp + 8]
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
inc dword [ebp + 0xc]
lea eax, [ebp - 0x348]
push str._s
push eax
call edi
add esp, 0xc
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x348]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4149cc
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
test byte [ebp - 0x244], 0x10
je 0x414939
cmp byte [ebp - 0x218], 0x2e
je 0x4149b6
lea eax, [ebp - 0x218]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x104]
push 0x42a3a8
push eax
call edi
push dword [ebp + 0x14]
lea eax, [ebp - 0x104]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call fcn.00414883
add esp, 0x20
test eax, eax
je 0x4149b6
cmp dword [ebp + 0xc], 2
jg 0x4149b6
xor esi, esi
inc esi
jmp 0x4149ce
cmp dword [ebp + 0x10], 0
je 0x414969
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp dword [ebp + 0x14], eax
jge 0x4149b6
sub eax, dword [ebp + 0x14]
push dword [ebp + 0x10]
lea eax, [ebp + eax - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4149b6
push dword [ebp + 8]
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x42a3b0
lea eax, [ebp - 0x104]
push eax
call esi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x104]
push eax
call esi
push 0x80
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x244]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4148d9
xor esi, esi
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x414ef4
Capabilities:
Delete file
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call fcn.00413a97
test eax, eax
pop ecx
jne 0x414f08
mov al, 1
pop esi
ret
push esi
call fcn.00413f8e
pop ecx
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push esi
call fcn.00413d02
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
setne al
pop esi
ret

Function at 0x415755
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_EnumWindows]
push edi
mov dword [ebp - 4], eax
lea eax, [ebp - 0xc]
push eax
xor ebx, ebx
mov edi, 0x4156f5
push edi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
call esi
cmp dword [ebp - 0xc], ebx
jne 0x415797
cmp dword [ebp - 4], ebx
je 0x415797
lea eax, [ebp - 0xc]
push eax
push edi
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call esi
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov dword [eax], ecx
mov eax, dword [ebp - 0xc]
pop ebx
leave
ret
Function at 0x415cfe
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
and dword [ebp - 4], 0
push edi
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x415d32
xor eax, eax
jmp 0x415d77
push 0x258
lea eax, [ebp - 0x260]
push eax
push 0x42f310
call fcn.00413410
add esp, 0xc
push 0
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x260]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
pop edi
leave
ret

Function at 0x41611c
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2810
call fcn.00421df0
push esi
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push dword [ebp + 0x14]
mov esi, eax
lea eax, [ebp - 0x2810]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x10
lea eax, [ebp - 0x10]
push 0
push eax
call fcn.00421c60
add esp, 0xc
push dword [ebp + 0x10]
mov word [ebp - 0x10], 2
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0xe], ax
mov eax, dword [ebp + 0xc]
push 0x10
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
push 0
push esi
lea eax, [ebp - 0x2810]
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_sendto]
pop esi
leave
ret
Function at 0x41a0bd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
and dword [ebp + 8], 0
push ebx
push esi
push edi
mov edi, 0x10000
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + edx*4]
mov edx, ecx
and ecx, 0xffff
shr edx, 0x10
mov esi, ecx
mov dword [ebp - 8], ecx
mov ecx, edx
imul ecx, edx
mov dword [eax + 4], ecx
mov ecx, esi
imul ecx, esi
mov dword [eax], ecx
mov ebx, edx
sub ebx, esi
sub esi, edx
mov ecx, esi
imul ecx, ebx
xor esi, ebx
mov ebx, dword [eax + 4]
and esi, edi
neg esi
mov dword [ebp - 4], edx
mov edx, ecx
neg edx
sbb edx, edx
and edx, esi
add ecx, ebx
cmp ecx, ebx
sbb esi, esi
and esi, edi
add edx, esi
mov esi, dword [eax]
add ecx, esi
cmp ecx, esi
sbb esi, esi
and esi, edi
add edx, esi
mov esi, ecx
shl esi, 0x10
add dword [eax], esi
cmp dword [eax], esi
sbb esi, esi
neg esi
shr ecx, 0x10
add esi, ebx
add ecx, esi
add ecx, edx
mov dword [eax + 4], ecx
add eax, 8
inc dword [ebp + 8]
mov ecx, dword [ebp + 8]
cmp ecx, dword [ebp + 0x10]
jl 0x41a0d1
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41a15e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x14]
and dword [ebp - 4], 0
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0x14], eax
shr dword [ebp + 0x14], 0x10
and eax, 0xffff
push esi
mov dword [ebp + 0xc], eax
push edi
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov edi, dword [eax + edx*4]
mov ecx, dword [ebp + 0x14]
mov esi, edi
and edi, 0xffff
shr esi, 0x10
mov edx, edi
imul edx, dword [ebp + 0xc]
mov dword [ebp - 8], esi
imul esi, ecx
sub edi, dword [ebp - 8]
sub ecx, dword [ebp + 0xc]
mov eax, edi
imul eax, ecx
mov dword [ebp - 0xc], ecx
xor edi, dword [ebp - 0xc]
mov ecx, eax
and edi, 0x10000
neg edi
neg ecx
sbb ecx, ecx
and ecx, edi
add eax, esi
cmp eax, esi
sbb edi, edi
add eax, edx
and edi, 0x10000
add ecx, edi
cmp eax, edx
sbb edi, edi
and edi, 0x10000
add ecx, edi
mov edi, eax
shl edi, 0x10
add edx, edi
cmp edx, edi
sbb edi, edi
shr eax, 0x10
neg edi
add edi, ecx
add eax, edi
add esi, eax
mov eax, dword [ebx]
lea ecx, [edx + edx]
add eax, ecx
cmp eax, ecx
sbb edi, edi
neg edi
cmp ecx, edx
sbb ecx, ecx
neg ecx
add ecx, dword [ebp - 4]
mov dword [ebx], eax
add ebx, 4
mov eax, dword [ebx]
lea edx, [ecx + edi]
lea edi, [esi + esi]
add eax, edi
cmp eax, edi
sbb ecx, ecx
neg ecx
cmp edi, esi
sbb esi, esi
add edx, eax
neg esi
add ecx, esi
cmp edx, eax
sbb eax, eax
neg eax
add eax, ecx
inc dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0x18]
mov dword [ebx], edx
jl 0x41a186
add ebx, 4
cmp dword [ebp - 4], 0
pop edi
pop esi
je 0x41a27e
mov edx, dword [ebp + 0x18]
add edx, edx
cmp dword [ebp + 8], edx
jge 0x41a27e
mov eax, dword [ebx]
mov ecx, dword [ebp - 4]
add ecx, eax
cmp ecx, eax
sbb eax, eax
neg eax
mov dword [ebx], ecx
add ebx, 4
inc dword [ebp + 8]
test eax, eax
mov dword [ebp - 4], eax
jne 0x41a25d
pop ebx
leave
ret
Function at 0x41a836
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x40a0
call fcn.00421df0
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, 0x45a2d8
push esi
call edi
push eax
push dword [0x4490ac]
call fcn.0041b3b2
pop ecx
pop ecx
push eax
push dword [0x4490b0]
push esi
call edi
push eax
push esi
push dword [0x4490ac]
lea eax, [ebp - 0x40a0]
push eax
call fcn.0041b594
add esp, 0x18
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 1
push accept
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
jne 0x41a8ad
xor eax, eax
jmp 0x41a931
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
lea ecx, [ebp - 8]
push ecx
mov edi, 0x400
push edi
lea ecx, [ebp - 0x408]
push ecx
push eax
jmp 0x41a8fa
mov eax, dword [ebp - 8]
cmp eax, ebx
jbe 0x41a900
shl eax, 3
push ebx
push eax
lea eax, [ebp - 0x408]
push eax
lea eax, [ebp - 0x40a0]
push eax
call fcn.0041b8d7
add esp, 0x10
push ebx
lea eax, [ebp - 8]
push eax
push edi
lea eax, [ebp - 0x408]
push eax
push dword [ebp - 4]
call esi
test eax, eax
jne 0x41a8c8
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x40a0]
push ebx
push eax
call fcn.0041bb4a
mov esi, dword [ebp + 0xc]
push 0x40
lea eax, [ebp - 0x4058]
push eax
push esi
call fcn.00421920
xor eax, eax
add esp, 0x14
mov byte [esi + 0x40], bl
inc eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41b477
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
mov edi, dword [ebp + 0x14]
xor edx, edx
cmp edi, edx
je 0x41b591
mov eax, dword [ebp + 0xc]
mov ecx, eax
and ecx, 7
push ebx
push esi
mov dword [ebp - 4], edx
je 0x41b4b5
mov ebx, dword [ebp + 8]
mov edx, ecx
mov esi, eax
shr esi, 3
mov bl, byte [esi + ebx]
mov cl, 8
sub cl, dl
shr bl, cl
movzx cx, bl
mov word [ebp - 4], cx
add edi, 7
shr eax, 3
shr edi, 3
xor esi, esi
test edi, edi
mov dword [ebp - 0xc], eax
jle 0x41b58f
lea eax, [edi - 1]
cmp esi, eax
je 0x41b4e6
mov eax, dword [ebp + 0x10]
movzx ax, byte [esi + eax]
xor ecx, ecx
mov ch, byte [ebp - 4]
xor eax, ecx
add edx, 8
jmp 0x41b516
mov eax, dword [ebp + 0x14]
and eax, 7
mov dword [ebp - 8], 8
je 0x41b4f8
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
movzx eax, byte [esi + eax]
mov ebx, dword [ebp - 4]
mov cl, 8
sub cl, byte [ebp - 8]
shr al, cl
mov ecx, dword [ebp - 8]
shl ebx, cl
movzx ax, al
or eax, ebx
add edx, ecx
mov dword [ebp - 4], eax
xor ecx, ecx
lea eax, [edi - 1]
cmp esi, eax
setne cl
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
xor eax, eax
cmp edx, 8
setge al
test ecx, eax
jne 0x41b54a
xor ecx, ecx
lea eax, [edi - 1]
cmp esi, eax
sete cl
xor ebx, ebx
test edx, edx
setg bl
test ebx, ecx
je 0x41b586
push 8
pop eax
cmp edx, eax
mov dword [ebp - 8], eax
jg 0x41b557
mov dword [ebp - 8], edx
mov ebx, dword [ebp - 4]
mov cl, dl
sub cl, byte [ebp - 8]
shr bx, cl
mov ecx, eax
sub ecx, dword [ebp - 8]
mov eax, 0xff00
shl bl, cl
mov ecx, dword [ebp - 8]
sar eax, cl
mov ecx, dword [ebp - 0xc]
and bl, al
mov eax, dword [ebp + 8]
inc dword [ebp - 0xc]
sub edx, dword [ebp - 8]
mov byte [ecx + eax], bl
jmp 0x41b526
inc esi
cmp esi, edi
jl 0x41b4ce
pop esi
pop ebx
pop edi
leave
ret

Function at 0x41bda5
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x28
push 0x45af68
push str.skype.exe
mov byte [ebp - 1], 0
call fcn.0041425e
add esp, 0xc
test eax, eax
mov dword [0x45b00c], eax
jg 0x41bdce
xor al, al
leave
ret
lea eax, [ebp - 1]
push eax
push 0x41bd1b
call dword [sym.imp.USER32.dll_EnumWindows]
cmp byte [ebp - 1], 0
jne 0x41bdee
push 0x3a98
call dword [sym.imp.KERNEL32.dll_Sleep]
mov al, byte [ebp - 1]
leave
ret
Function at 0x41bdf3
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
je 0x41be87
push ebx
push edi
push esi
call fcn.00410bf4
pop ecx
mov ebx, eax
push ebx
push esi
push 0
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoA
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0x42a3b0
push ebx
call sub.VERSION.dll_VerQueryValueA
mov eax, dword [ebp - 4]
mov esi, dword [eax + 8]
mov edi, dword [eax + 0xc]
push ebx
call fcn.00410c3b
push esi
push str.Higher:__x_n
call fcn.00422b3d
push edi
push str.Lower:__x_n
call fcn.00422b3d
mov ecx, dword [ebp + 0xc]
mov eax, esi
shr eax, 0x10
mov dword [ecx], eax
mov ecx, dword [ebp + 0x10]
movzx eax, si
mov dword [ecx], eax
mov ecx, dword [ebp + 0x14]
mov eax, edi
shr eax, 0x10
mov dword [ecx], eax
mov ecx, dword [ebp + 0x18]
movzx eax, di
add esp, 0x14
mov dword [ecx], eax
xor eax, eax
pop edi
inc eax
pop ebx
pop esi
leave
ret

Function at 0x41f298
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_RegisterWindowMessageA]
push edi
push 0x3f
pop ecx
xor eax, eax
xor ebx, ebx
mov byte [ebp - 0x100], bl
lea edi, [ebp - 0xff]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.SkypeControlAPIAttach
mov byte [0x449320], 1
mov byte [0x45b038], 1
stosb byte es:[edi], al
call esi
push str.SkypeControlAPIDiscover
mov dword [0x45b0e4], eax
call esi
mov dword [0x45b0e8], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push ebx
push 0x40
call dword [0x458b44]
cmp dword [0x45b0e4], ebx
mov dword [0x45b058], eax
je 0x41f3dd
cmp dword [0x45b0e8], ebx
je 0x41f3dd
push ebx
push ebx
push ebx
push 0x41f114
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x41f331
push 0xa
call esi
cmp dword [0x45b054], ebx
je 0x41f32d
push ebx
push 0x3e8
push ebx
push ebx
push dword [0x45b054]
push dword [0x45b0e8]
push 0xffff
call dword [sym.imp.USER32.dll_SendMessageTimeoutA]
xor edi, edi
jmp 0x41f366
cmp edi, 0x64
jge 0x41f39e
push 0xa
inc edi
call esi
cmp dword [0x45b0ec], ebx
je 0x41f35c
jmp 0x41f39e
lea eax, [ebp - 0x100]
push eax
push dword [0x45a348]
call fcn.004141e6
test eax, eax
pop ecx
pop ecx
jne 0x41f38f
push ebx
call fcn.0040c674
pop ecx
push ebx
call fcn.00414776
mov dword [esp], 0x2710
call esi
cmp byte [0x463918], bl
jne 0x41f370
push dword [0x45b058]
push 0x45b060
call dword [sym.imp.USER32.dll_UnregisterClassA]
push dword [0x45b058]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x45b054]
cmp eax, ebx
mov dword [0x45b058], ebx
je 0x41f3dd
push ebx
push ebx
push 0x12
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
lea eax, [ebp - 0x100]
push eax
push dword [0x45a348]
call fcn.004141e6
test eax, eax
pop ecx
pop ecx
jne 0x41f3fc
push ebx
call fcn.0040c674
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4200f9
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push esi
mov esi, ecx
push edi
mov dword [esi], eax
mov byte [esi + 0xa8], bl
mov byte [esi + 0xa9], bl
mov dword [esi + 0xac], ebx
mov dword [esi + 0x10], 0x64
mov dword [esi + 0x14], ebx
mov byte [esi + 0x27], bl
push dword [eax + 4]
call fcn.0041dafd
mov edi, eax
mov eax, dword [esi]
push dword [eax + 4]
call fcn.0041db51
cmp edi, ebx
pop ecx
pop ecx
mov dword [ebp + 8], eax
je 0x42016e
call fcn.0041411e
mov ecx, dword [0x45b688]
sub ecx, dword [edi + 8]
lea eax, [eax + ecx - 0x15180]
cmp eax, 0x4f1a00
ja 0x42016e
cmp dword [ebp + 8], 3
jb 0x42016e
mov byte [esi + 0x24], bl
jmp 0x420172
mov byte [esi + 0x24], 1
cmp edi, ebx
je 0x42019e
call fcn.0041411e
mov ecx, dword [0x45b688]
sub ecx, dword [edi + 8]
lea eax, [eax + ecx - 0x15180]
cmp eax, 0x7080
ja 0x42019e
cmp dword [ebp + 8], 0x64
jbe 0x42019e
mov byte [esi + 0x25], 1
jmp 0x4201a1
mov byte [esi + 0x25], bl
cmp edi, ebx
je 0x4201c7
call fcn.0041411e
mov ecx, dword [0x45b688]
sub ecx, dword [edi + 8]
lea eax, [eax + ecx - 0x15180]
cmp eax, 0x5dc
ja 0x4201c7
mov byte [esi + 0x26], 1
jmp 0x4201ca
mov byte [esi + 0x26], bl
mov eax, dword [esi]
push dword [eax + 4]
lea eax, [ebp - 0x40]
push str.CHAT_CREATE__s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x40]
push eax
call fcn.0041d048
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 0x10
push 0x7d0
jmp 0x420207
lea eax, [ebp - 0x40]
push eax
call fcn.0041d048
mov dword [esp], 0x1388
call edi
mov eax, dword [esi]
push dword [eax + 4]
call fcn.0041d208
cmp eax, ebx
pop ecx
mov dword [esi + 4], eax
je 0x4201f7
mov ecx, dword [eax + 0xc]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], ecx
mov dword [esi + 0x18], ebx
push dword [eax + 0xc]
call fcn.0041d332
cmp eax, ebx
pop ecx
je 0x42023a
mov eax, dword [eax + 8]
mov dword [esi + 0x18], eax
mov ecx, esi
call fcn.0041ff6d
pop edi
mov dword [esi + 0x20], ebx
mov dword [esi + 0x1c], 0x2710
mov eax, esi
pop esi
pop ebx
leave
ret 4
Function at 0x4202cd
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
cmp dword [ebp + 8], 0
push ebx
mov ebx, ecx
je 0x42039c
push 0x42a784
push dword [ebp + 8]
call fcn.00413761
test eax, eax
pop ecx
pop ecx
jne 0x42039c
cmp byte [ebp + 0xc], 0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
mov byte [ebp - 0x400], al
mov ecx, 0xff
lea edi, [ebp - 0x3ff]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
je 0x420339
mov ecx, ebx
call fcn.00420254
call esi
cmp eax, dword [ebx + 0x14]
jae 0x420339
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x420325
push dword [ebp + 8]
mov eax, dword [ebx + 4]
push dword [eax]
lea eax, [ebp - 0x400]
push str.CHATMESSAGE__s__s
push 0x3e8
push eax
call fcn.00422043
lea eax, [ebp - 0x400]
push eax
call fcn.0041d048
add esp, 0x18
call esi
push eax
call fcn.00421d78
cmp byte [ebp + 0xc], 0
pop ecx
je 0x42039a
call fcn.00421d82
cdq
mov ecx, 0x190
idiv ecx
push dword [ebp + 8]
mov edi, edx
add edi, dword [ebx + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
imul edi, eax
call esi
add edi, eax
mov dword [ebx + 0x14], edi
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x422b93
Capabilities:
Accept command line arguments
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x42b7f8
call fcn.0042238c
mov edi, 0x94
mov eax, edi
call fcn.00421df0
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esi + 0x10]
mov dword [0x463b28], ecx
mov eax, dword [esi + 4]
mov dword [0x463b34], eax
mov edx, dword [esi + 8]
mov dword [0x463b38], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x463b2c], esi
cmp ecx, 2
je 0x422bf3
or esi, 0x8000
mov dword [0x463b2c], esi
shl eax, 8
add eax, edx
mov dword [0x463b30], eax
xor esi, esi
push esi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x422c2e
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x422c2e
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x422c46
cmp eax, 0x20b
je 0x422c33
mov dword [ebp - 0x1c], esi
jmp 0x422c5a
cmp dword [ecx + 0x84], 0xe
jbe 0x422c2e
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x422c54
cmp dword [ecx + 0x74], 0xe
jbe 0x422c2e
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push esi
call fcn.00425b9f
pop ecx
test eax, eax
jne 0x422c86
cmp dword [0x463b08], 1
jne 0x422c73
call fcn.00425354
push 0x1c
call fcn.004251dd
push 0xff
call fcn.00423d5c
pop ecx
pop ecx
call fcn.00425afd
mov dword [ebp - 4], esi
call fcn.00425952
test eax, eax
jge 0x422c9f
push 0x1b
call fcn.00422b6e
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x4650f0], eax
call fcn.00425830
mov dword [0x463b00], eax
call fcn.0042578e
test eax, eax
jge 0x422cc5
push 8
call fcn.00422b6e
pop ecx
call fcn.0042555b
test eax, eax
jge 0x422cd6
push 9
call fcn.00422b6e
pop ecx
push 1
call fcn.00423d8c
pop ecx
mov dword [ebp - 0x28], eax
cmp eax, esi
je 0x422cec
push eax
call fcn.00422b6e
pop ecx
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.004254fe
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x422d0d
movzx eax, word [ebp - 0x40]
jmp 0x422d10
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push esi
push esi
call edi
push eax
call fcn.0040da5b
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x1c], esi
jne 0x422d2e
push edi
call fcn.00423eb7
call fcn.00423ed9
jmp 0x422d60
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.004223c7
ret
Function at 0x423df6
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
inc esi
cmp dword [0x463b68], esi
push edi
jne 0x423e16
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp dword [ebp + 0xc], 0
mov al, byte [ebp + 0x10]
mov dword [0x463b64], esi
mov byte [0x463b60], al
jne 0x423e7c
mov ecx, dword [0x4650e8]
test ecx, ecx
je 0x423e5d
mov eax, dword [0x4650e4]
sub eax, 4
cmp eax, ecx
jmp 0x423e56
mov eax, dword [eax]
test eax, eax
je 0x423e48
call eax
mov eax, dword [0x4650e4]
sub eax, 4
cmp eax, dword [0x4650e8]
mov dword [0x4650e4], eax
jae 0x423e40
mov eax, 0x42e02c
mov esi, 0x42e034
cmp eax, esi
mov edi, eax
jae 0x423e7c
mov eax, dword [edi]
test eax, eax
je 0x423e75
call eax
add edi, 4
cmp edi, esi
jb 0x423e6d
mov eax, 0x42e038
mov esi, 0x42e03c
cmp eax, esi
mov edi, eax
jae 0x423e9b
mov eax, dword [edi]
test eax, eax
je 0x423e94
call eax
add edi, 4
cmp edi, esi
jb 0x423e8c
cmp dword [ebp + 0x10], 0
pop edi
pop esi
jne 0x423eb5
push dword [ebp + 8]
mov dword [0x463b68], 1
call fcn.00423d5c
pop ebp
ret

Function at 0x424093
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4240b3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004270f9
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x4240d4
test byte [esp + 8], 2
je 0x4240d4
mov dword [0x463b1c], 0xd
mov dword [0x463b20], 5
jmp 0x4240af
xor eax, eax
ret
Function at 0x424f32
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.00421df0
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x424fcd
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x463b28]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x424fcd
cmp eax, 1
je 0x424fee
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x424fcd
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x424f9a
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x424fc9
xor eax, eax
inc eax
jmp 0x42500d
cmp edi, eax
jae 0x424fd1
xor eax, eax
jmp 0x42500d
cmp eax, esi
jae 0x424fd8
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x463b28]
jmp 0x424ff1
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret