joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d977
Capabilities:
Suspend thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
mov dword [eax], 0x5bc9dc
mov ecx, dword [ebp - 0x20]
xor edx, edx
mov dl, byte [ecx + 0x58]
test edx, edx
je 0x40da01
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x40], 0
je 0x40d9ab
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x40]
push edx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x18]
push ecx
call dword [0x6235c0]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 8], 0
jmp 0x40d9d2
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 2
jge 0x40d9f4
push 0x20
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + eax*4 + 0x44]
push edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x18]
push ecx
call dword [0x6235b4]
jmp 0x40d9c9
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x18]
push eax
call dword [0x6235b8]
mov ecx, dword [ebp - 0x20]
xor edx, edx
mov dl, byte [ecx + 0x59]
test edx, edx
je 0x40da5b
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x54]
push ecx
call dword [0x6235bc]
mov dword [ebp - 0xc], 0
jmp 0x40da2c
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 2
jge 0x40da4e
push 0x20
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + eax*4 + 0x44]
push edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x54]
push ecx
call dword [0x6235f0]
jmp 0x40da23
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x54]
push eax
call dword [0x6235c4]
mov dword [ebp - 4], 0
jmp 0x40da6d
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 2
jge 0x40dad9
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + edx*4 + 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.005861f7
add esp, 4
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + eax*4 + 0x44]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.005861f7
add esp, 4
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + ecx*4 + 0x10]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.005861f7
add esp, 4
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + edx*4 + 0x4c]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
push edx
call fcn.005861f7
add esp, 4
jmp 0x40da64
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x20]
cmp dword [ecx + 0x40], 0
je 0x40db18
push 0xffffffffffffffff
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x40]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret
Function at 0x40dc84
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
call dword [0x6235e0]
test eax, eax
jne 0x40dc9e
xor al, al
jmp 0x40dddf
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x40], 0
jne 0x40dccd
lea ecx, [ebp - 0xc]
push ecx
push 4
mov edx, dword [ebp - 0x14]
push edx
push 0x40df9c
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x40], eax
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 8], 0x20000
cmp dword [ebp + 8], 0xffffffff
je 0x40dceb
mov edx, dword [ebp - 8]
or edx, 4
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
push eax
push 0
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x14]
add edx, 0x2c
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x18
push ecx
call dword [0x6235dc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40dd1d
xor al, al
jmp 0x40dddf
mov dword [ebp - 0x10], 0
jmp 0x40dd2f
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 2
jge 0x40dd9f
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + eax*4 + 8]
add edx, 1
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + eax*4 + 0x44]
mov dword [eax], edx
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + ecx*4 + 0x44]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + eax*4 + 0x44]
mov dword [edx + 0x10], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + eax*4 + 0x44]
mov dword [edx + 0x14], 0
push 0x20
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + eax*4 + 0x44]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x18]
push ecx
call dword [0x6235d8]
jmp 0x40dd26
push 0x20
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x1c]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + eax*4 + 0x44]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x18]
push ecx
call dword [0x6235d4]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x18]
push edx
call dword [str._RP_b7_f_ZX]
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x58], 1
mov al, 1
mov esp, ebp
pop ebp
ret 4
Function at 0x410540
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
mov cx, word [eax + 6]
mov word [ebp - 0x24], cx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x88]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x20]
add ecx, 0xf8
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x24]
and edx, 0xffff
mov ax, word [ebp - 0x24]
sub ax, 1
mov word [ebp - 0x24], ax
test edx, edx
je 0x4106b9
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xc]
cmp edx, dword [ebp - 8]
jne 0x4106ab
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x14]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
xor eax, eax
mov ax, word [edx + 0xe]
mov ecx, dword [ebp - 4]
xor edx, edx
mov dx, word [ecx + 0xc]
add eax, edx
mov word [ebp - 0x1c], ax
mov eax, dword [ebp - 4]
add eax, 0x10
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x1c]
and ecx, 0xffff
mov dx, word [ebp - 0x1c]
sub dx, 1
mov word [ebp - 0x1c], dx
test ecx, ecx
je 0x4106a9
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
shr ecx, 0x1f
and ecx, 1
test ecx, ecx
je 0x4106a4
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
and eax, 0x7fffffff
mov ecx, dword [ebp - 4]
add ecx, eax
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
xor eax, eax
mov ax, word [edx]
push eax
push 0x608098
mov ecx, dword [ebp - 0x14]
add ecx, 2
push ecx
call fcn.0045ae10
add esp, 0xc
test eax, eax
jne 0x4106a4
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 4]
shr eax, 0x1f
and eax, 1
test eax, eax
je 0x41065f
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 4]
and edx, 0x7fffffff
mov eax, dword [ebp - 4]
lea ecx, [eax + edx + 0x10]
mov dword [ebp - 0xc], ecx
jmp 0x410637
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
add eax, dword [edx + 4]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 4]
add edx, dword [ecx]
sub edx, dword [ebp - 8]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov word [eax], 0
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x18]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
mov dword [eax], 0
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.00410540
add esp, 4
jmp 0x4106a9
jmp 0x4105d4
jmp 0x4106b9
mov edx, dword [ebp - 0x10]
add edx, 0x28
mov dword [ebp - 0x10], edx
jmp 0x41057b
mov esp, ebp
pop ebp
ret
Function at 0x414b24
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a7320
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x128
mov dword [ebp - 0x12c], ecx
lea ecx, [ebp - 0x10]
call fcn.00401240
mov dword [ebp - 4], 0
cmp dword [0x623eb0], 0
je 0x414baf
mov ecx, dword [0x623eb0]
call fcn.0042b4f5
mov eax, dword [0x623eb0]
mov dword [ebp - 0x120], eax
mov ecx, dword [ebp - 0x120]
mov dword [ebp - 0x11c], ecx
cmp dword [ebp - 0x11c], 0
je 0x414ba5
push 1
mov edx, dword [ebp - 0x11c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x11c]
call dword [eax]
mov dword [ebp - 0x130], eax
jmp 0x414baf
mov dword [ebp - 0x130], 0
push 0xd4
call fcn.005861ce
add esp, 4
mov dword [ebp - 0x128], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x128], 0
je 0x414be2
mov ecx, dword [ebp - 0x128]
call fcn.00429d70
mov dword [ebp - 0x134], eax
jmp 0x414bec
mov dword [ebp - 0x134], 0
mov ecx, dword [ebp - 0x134]
mov dword [ebp - 0x124], ecx
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x124]
mov dword [0x623eb0], edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x12c]
push edx
push 0
mov ecx, dword [0x623eb0]
call fcn.0042a011
and eax, 0xff
test eax, eax
je 0x414d26
push 0x100
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
je 0x414cd7
mov dword [ebp - 0x118], 0
jmp 0x414c7a
mov edx, dword [ebp - 0x118]
add edx, 1
mov dword [ebp - 0x118], edx
mov eax, dword [ebp - 0x114]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0x118]
mov eax, dword [ecx + edx*4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea ecx, [ebp - 0x10]
call fcn.00585f9d
mov edx, dword [ebp - 0x114]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0x114]
movsx edx, word [ecx + 0xa]
mov ecx, dword [ebp - 0x118]
mov eax, dword [eax + ecx*4]
add eax, edx
mov ecx, dword [ebp - 0x114]
cmp eax, dword [ecx]
jb 0x414cc8
jmp 0x414cd7
push 0x6099e4
lea ecx, [ebp - 0x10]
call fcn.00585f9d
jmp 0x414c6b
lea ecx, [ebp - 0x10]
call fcn.00401260
push eax
push 0
mov ecx, dword [0x624490]
add ecx, 0xc4
call fcn.0047a170
mov edx, dword [ebp + 8]
push edx
push 0x6099e8
lea eax, [ebp - 0x10]
push eax
call fcn.0057e262
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.00401260
push eax
push 2
mov ecx, dword [0x624490]
add ecx, 0xc4
call fcn.0047a170
jmp 0x414d81
mov ecx, dword [ebp + 8]
push ecx
push 0x6099f4
lea edx, [ebp - 0x10]
push edx
call fcn.0057e262
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.00401260
push eax
push 0
mov ecx, dword [0x624490]
add ecx, 0xc4
call fcn.0047a170
push 0x609a04
push 2
mov ecx, dword [0x624490]
add ecx, 0xc4
call fcn.0047a170
push 0
push 0x30
lea ecx, [ebp - 0x10]
call fcn.00401260
push eax
call fcn.00590cdf
push 0x609a0c
push 3
mov ecx, dword [0x624490]
add ecx, 0xc4
call fcn.0047a170
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00585bc1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x41b6f0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ecx
mov byte [ebp - 4], 0
mov eax, dword [0x623f00]
add eax, 1
mov dword [0x623f00], eax
mov ecx, dword [0x623f0c]
add ecx, 1
mov dword [0x623f0c], ecx
cmp dword [0x623f0c], 0xa
jge 0x41b724
call fcn.0041b6f0
jmp 0x41b779
mov edx, dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor eax, eax
mov al, byte [edx]
cmp eax, 0xcc
je 0x41b744
mov ecx, dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor edx, edx
mov dl, byte [ecx]
cmp edx, 0x64
je 0x41b748
mov al, 1
jmp 0x41b779
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 4], al
cmp dword [0x623f0c], 0xa
je 0x41b764
mov byte [ebp - 4], 1
mov dword [0x623f0c], 0
mov al, byte [ebp - 4]
mov byte [0x623f04], al
mov al, byte [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x41b77d
Capabilities:
Check for vm using instruction vpcext

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bda70
push 0x45b25c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x1c], 0
mov dword [ebp - 4], 0
push ebx
mov ebx, 0
mov eax, 1
invalid

Function at 0x41b7f1
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bda80
push 0x45b25c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x1c], 1
mov dword [ebp - 4], 0
push edx
push ecx
push ebx
mov eax, 0x564d5868
mov ebx, 0
mov ecx, 0xa
mov edx, 0x5658
in eax, dx
cmp ebx, 0x564d5868
sete byte [ebp - 0x1c]
pop ebx
pop ecx
pop edx
mov dword [ebp - 4], 0xffffffff
jmp 0x41b864
mov al, byte [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x420ae6
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a7d81
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x358
mov dword [ebp - 0x364], ecx
mov dword [ebp - 0x154], 0
push 0x104
push 0
lea eax, [ebp - 0x258]
push eax
call fcn.00459e80
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, dword [ebp + 8]
movsx eax, byte [edx + eax - 1]
cmp eax, 0x5c
je 0x420b4d
mov dword [ebp - 0x154], 0x60bb3c
jmp 0x420b57
mov dword [ebp - 0x154], 0x623f58
mov ecx, dword [ebp - 0x154]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x60bb40
lea eax, [ebp - 0x258]
push eax
call dword [0x62341c]
add esp, 0x10
lea ecx, [ebp - 0x150]
push ecx
lea edx, [ebp - 0x258]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x420b9b
xor al, al
jmp 0x420c7b
movsx eax, byte [ebp - 0x124]
cmp eax, 0x2e
jne 0x420bac
jmp 0x420c56
mov ecx, dword [ebp - 0x150]
and ecx, 0x10
test ecx, ecx
je 0x420bf4
lea edx, [ebp - 0x124]
push edx
mov eax, dword [ebp - 0x154]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x60bb48
lea edx, [ebp - 0x35c]
push edx
call dword [0x62341c]
add esp, 0x14
lea eax, [ebp - 0x35c]
push eax
mov ecx, dword [ebp - 0x364]
call fcn.00420ae6
jmp 0x420c56
lea ecx, [ebp - 0x360]
call fcn.00401240
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x124]
push ecx
mov edx, dword [ebp - 0x154]
push edx
mov eax, dword [ebp + 8]
push eax
push 0x60bb50
lea ecx, [ebp - 0x360]
push ecx
call fcn.0057e262
add esp, 0x14
lea edx, [ebp - 0x360]
push edx
mov ecx, dword [ebp - 0x364]
add ecx, 0xa4
call fcn.004257a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x360]
call fcn.00585bc1
lea eax, [ebp - 0x150]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x420b9b
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x422699
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a7ee8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
mov byte [eax + 0x94d], 1
lea ecx, [ebp - 0x10]
call fcn.00401240
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x2c]
add ecx, 0x80c
call fcn.004062c0
cmp eax, 1
jbe 0x422708
mov ecx, dword [ebp - 0x2c]
add ecx, 0x80c
call fcn.004062c0
push eax
push 0x60bd10
lea ecx, [ebp - 0x10]
push ecx
call fcn.0057e262
add esp, 0xc
jmp 0x422789
push 0
mov ecx, dword [ebp - 0x2c]
add ecx, 0x80c
call fcn.00425aa0
push eax
lea edx, [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x2c]
add ecx, 0x80c
call fcn.0057f06a
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x2c]
add ecx, 0x80c
call fcn.00425aa0
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x80c
call fcn.0057f10f
cmp eax, 1
jne 0x422768
mov eax, dword [ebp - 0x18]
push eax
push 0x60bd28
lea ecx, [ebp - 0x10]
push ecx
call fcn.0057e262
add esp, 0xc
jmp 0x42277d
mov edx, dword [ebp - 0x18]
push edx
push str.AA9___A0_
lea eax, [ebp - 0x10]
push eax
call fcn.0057e262
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00585bc1
push 0x24
push 0x60bd6c
lea ecx, [ebp - 0x10]
call fcn.00401260
push eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x1c]
push edx
call dword [0x623418]
cmp eax, 7
jne 0x4227bf
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00585bc1
jmp 0x4228c8
push 0
mov ecx, dword [ebp - 0x2c]
call fcn.00420c8b
mov ecx, dword [ebp - 0x2c]
add ecx, 0x80c
call fcn.004061f0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x422894
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x80c
call fcn.00406250
mov dword [ebp - 0x1c], eax
push 0
mov ecx, dword [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x24]
push edx
mov ecx, dword [ebp - 0x2c]
add ecx, 0x80c
call fcn.0057f06a
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x2c]
add edx, 0x684
push edx
lea eax, [ebp - 0x20]
push eax
call fcn.00585df0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24]
call fcn.00585bc1
mov ecx, dword [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x2c]
add ecx, 0x80c
call fcn.0057f10f
test eax, eax
je 0x422874
push 0x5c
lea ecx, [ebp - 0x20]
call fcn.00585fc4
lea ecx, [ebp - 0x20]
call fcn.00401260
push eax
mov ecx, dword [ebp - 0x2c]
call fcn.00422f65
jmp 0x422883
lea ecx, [ebp - 0x20]
call fcn.00401260
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00585bc1
jmp 0x4227da
push 1
mov ecx, dword [ebp - 0x2c]
call fcn.00420c8b
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push 0x60bd78
call fcn.00585c2f
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x2c]
call fcn.0041e25c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00585bc1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x422f65
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x454
mov dword [ebp - 0x454], ecx
mov eax, dword [ebp + 8]
push eax
push 0x60bdf0
lea ecx, [ebp - 0x248]
push ecx
call dword [0x62341c]
add esp, 0xc
lea edx, [ebp - 0x144]
push edx
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x422fb1
xor al, al
jmp 0x423062
movsx ecx, byte [ebp - 0x118]
cmp ecx, 0x2e
je 0x42302b
mov edx, dword [ebp - 0x144]
and edx, 0x10
test edx, edx
je 0x422ffe
lea eax, [ebp - 0x118]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x60bdf8
lea edx, [ebp - 0x34c]
push edx
call dword [0x62341c]
add esp, 0x10
lea eax, [ebp - 0x34c]
push eax
mov ecx, dword [ebp - 0x454]
call fcn.00422f65
jmp 0x42302b
lea ecx, [ebp - 0x118]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x60be00
lea eax, [ebp - 0x450]
push eax
call dword [0x62341c]
add esp, 0x10
lea ecx, [ebp - 0x450]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea edx, [ebp - 0x144]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x422fb1
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x423060
xor al, al
jmp 0x423062
mov al, 1
mov esp, ebp
pop ebp
ret 4
Function at 0x426070
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x60c3f4]
sub eax, 4
cmp eax, 0x60c3f4
je 0x42610c
mov dword [ebp - 0xc], str.56783
mov ecx, 0x60c3f7
sub ecx, dword [ebp - 0xc]
xor edx, edx
mov dl, byte [0x60c3f7]
sub ecx, edx
mov byte [ebp - 4], cl
mov eax, dword [ebp - 4]
and eax, 0xff
mov ecx, 0x100
sub ecx, eax
mov byte [ebp - 4], cl
mov dword [ebp - 8], 0x30000
jmp 0x4260c9
mov edx, dword [ebp - 8]
sub edx, 1
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0
jle 0x42610c
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x4260e2
cmp dword [ebp - 8], 0x20000
jge 0x4260e2
jmp 0x42610c
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp - 4]
and eax, 0xff
xor edx, eax
mov ecx, dword [ebp - 0xc]
mov byte [ecx], dl
mov dl, byte [ebp - 4]
add dl, 1
mov byte [ebp - 4], dl
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
jmp 0x4260c0
call fcn.0045b5d4
mov esp, ebp
pop ebp
ret

Function at 0x426233
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0
jmp 0x42624b
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x100
jge 0x4262a5
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], 0
jmp 0x42626c
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 8
jge 0x426296
mov eax, dword [ebp - 4]
and eax, 1
test eax, eax
je 0x42628c
mov ecx, dword [ebp - 4]
shr ecx, 1
xor ecx, 0xedb88320
mov dword [ebp - 4], ecx
jmp 0x426294
mov edx, dword [ebp - 4]
shr edx, 1
mov dword [ebp - 4], edx
jmp 0x426263
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dword [eax*4 + 0x623f98], ecx
jmp 0x426242
mov esp, ebp
pop ebp
ret

Function at 0x42638b
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0
push 0x8000000
push 3
push 0
push 3
push 0x80000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x10], eax
push 0
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x200000
jbe 0x4263cf
mov dword [ebp - 8], 0x200000
mov edx, dword [ebp - 8]
push edx
call fcn.005861ce
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
push 0
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.004262a9
add esp, 0xc
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.005861f7
add esp, 4
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret