joyce8/EMBER2024-capa huggingface dataset:
Function at 0x9a30bc
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x29], 0
mov eax, dword [ebx + 0x50]
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x28], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov byte [eax + 0x291], 0
call fcn.00780148
xor eax, eax
push ebp
push 0x9a3178
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.008413cc
mov eax, dword [ebp - 4]
call fcn.009a27d8
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0xc]
mov edx, dword [ebx + 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov edx, dword [ebx + 0x30]
mov eax, dword [ebp - 4]
call fcn.009a2ed4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.008411b4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
xor ecx, ecx
mov edx, 1
call fcn.00767b98
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x9a317f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.0078017c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov byte [eax + 0x291], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x28], 1
ret

Function at 0x9a780c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov esi, ecx
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.0040a3bc
xor eax, eax
push ebp
push 0x9a7923
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [esi + 8]
mov dl, 1
mov eax, dword [0x8e2584]
call fcn.008e4678
mov ebx, eax
mov eax, dword [esi + 0x30]
mov edx, ebx
call fcn.004b36d4
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 8]
dec eax
mov dword [ebx + 0x290], eax
xor edx, edx
mov eax, ebx
call fcn.006150b4
mov edx, 0xff00000f
mov eax, ebx
call fcn.0061536c
mov edx, dword [esi + 8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x84]
mov edx, dword [esi + 0xc]
mov eax, ebx
call fcn.00615170
mov dl, 1
mov eax, ebx
call fcn.0061ccb8
mov eax, dword [esi + 8]
mov edx, dword [eax + 0x6c]
mov eax, dword [ebx + 0x6c]
mov ecx, dword [eax]
call dword [ecx + 8]
mov edx, dword [esi + 0x28]
mov eax, ebx
call fcn.006147c8
mov edx, dword [esi + 0x2c]
mov eax, ebx
call fcn.006147fc
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00614794
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.00614760
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.008e48c0
mov dword [ebx + 0xdc], esi
mov dword [ebx + 0xd8], 0x9a8dcc
mov dword [ebx + 0xcc], esi
mov dword [ebx + 0xc8], 0x9a8cb0
mov dword [ebx + 0xd4], esi
mov dword [ebx + 0xd0], 0x9a8da4
mov dl, 1
mov eax, ebx
call fcn.006150b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x9a792a
lea eax, [ebp - 4]
call fcn.0040a2d8
ret
Function at 0x9d26fc
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor ecx, ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040a3bc
xor eax, eax
push ebp
push 0x9d2799
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebp - 4]
push 0x9d27b4
push 0x9d27b4
lea eax, [ebp - 8]
mov edx, 3
call fcn.0040b694
lea eax, [ebp - 0x26]
xor ecx, ecx
mov edx, 0x1e
call fcn.004075cc
mov dword [ebp - 0x22], 3
mov eax, dword [ebp - 8]
call fcn.0040b3a0
mov dword [ebp - 0x1e], eax
test bl, bl
je 0x9d276a
mov word [ebp - 0x16], 0x40
jmp 0x9d2770
mov word [ebp - 0x16], 0x54
lea eax, [ebp - 0x26]
push eax
call sub.shell32.dll_SHFileOperationW
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x9d27a0
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040a338
ret

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

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040a3bc
xor eax, eax
push ebp
push 0x9d2a87
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040b3a0
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x9d29e9
test al, 0x10
jne 0x9d29ed
xor eax, eax
jmp 0x9d29ef
mov al, 1
test al, al
jne 0x9d2a6c
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.009d2e60
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
call fcn.0040a700
mov eax, dword [ebp - 4]
test eax, eax
je 0x9d2a15
sub eax, 4
mov eax, dword [eax]
cmp eax, 2
jle 0x9d2a33
mov ecx, 1
mov edx, dword [ebp - 4]
mov eax, 0x9d2aa0
call fcn.0040b9ec
test eax, eax
setne al
jmp 0x9d2a35
xor eax, eax
test al, al
je 0x9d2a64
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00428404
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.0040b7a4
je 0x9d2a64
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00428404
mov eax, dword [ebp - 0x10]
call fcn.009d29b0
mov eax, dword [ebp - 4]
call fcn.004287e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x9d2a8e
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.0040a338
ret
Function at 0x9fd8b8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x9fd98c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x408]
mov eax, dword [eax + 0x2bc]
call fcn.00578b20
cmp esi, eax
jge 0x9fd976
mov eax, dword [ebx + 0x408]
mov eax, dword [eax + 0x2bc]
mov edx, esi
call fcn.00578b6c
mov edx, dword [eax + 0x2c]
mov eax, dword [ebx + 0x4c4]
call fcn.009fd0cc
mov esi, eax
cmp byte [esi + 5], 0
je 0x9fd948
push 1
lea edx, [ebp - 4]
mov eax, dword [esi + 8]
call fcn.00428404
mov eax, dword [ebp - 4]
call fcn.0040b3a0
push eax
push 0
mov eax, dword [esi + 8]
call fcn.0040b3a0
push eax
push 0x9fd998
mov eax, ebx
call fcn.0061e3c8
push eax
call sub.shell32.dll_ShellExecuteW
jmp 0x9fd976
cmp byte [esi + 6], 0
je 0x9fd976
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x3a4]
call fcn.009dfee0
mov esi, eax
test esi, esi
je 0x9fd976
mov edx, esi
mov eax, dword [ebx + 0x3a4]
call fcn.009e0028
mov eax, esi
call fcn.00408618
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x9fd993
lea eax, [ebp - 4]
call fcn.0040a2d8
ret

Function at 0xa32dcc
Capabilities:
Encode data using xor

Disassembly:
test ecx, ecx
je 0xa32de8
push esi
mov esi, edx
mov edx, eax
lodsb al, byte [esi]
xor edx, eax
shr eax, 8
shl edx, 2
xor eax, dword [edx + 0xb361f0]
dec ecx
jne 0xa32dd3
pop esi
ret

Function at 0xa32e5c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov esi, eax
mov edi, 0xb365f0
mov dword [esp], esi
mov ebx, dword [esp]
xor ebx, 0xffffffff
lea edx, [esp + 4]
mov eax, esp
mov ecx, 4
call fcn.00406734
xor eax, eax
mov edx, ebx
shl edx, 8
shr ebx, 0x18
xor edx, dword [edi + ebx*4]
mov ecx, 3
sub ecx, eax
movzx ecx, byte [esp + ecx + 4]
xor edx, ecx
mov ebx, edx
inc eax
cmp eax, 4
jne 0xa32e84
not esi
mov dword [esp], esi
lea edx, [esp + 4]
mov eax, esp
mov ecx, 4
call fcn.00406734
xor eax, eax
mov edx, ebx
shl edx, 8
shr ebx, 0x18
xor edx, dword [edi + ebx*4]
mov ecx, 3
sub ecx, eax
movzx ecx, byte [esp + ecx + 4]
xor edx, ecx
mov ebx, edx
inc eax
cmp eax, 4
jne 0xa32ebc
mov eax, ebx
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0xa44fc8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov ebx, ecx
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
call fcn.0040a3bc
xor eax, eax
push ebp
push 0xa45132
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00a453bc
mov eax, dword [ebp - 8]
add eax, 4
mov edx, dword [ebp - 4]
call fcn.0040a6b8
xor eax, eax
push ebp
push 0xa450cb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov dword [eax + 0xc], 0x16
mov ecx, ebx
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x10]
mov eax, dword [ebp - 8]
call fcn.00a44944
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x10]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3c]
mov eax, dword [eax + 0x58]
call fcn.00a184c4
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x38]
mov eax, dword [eax + 0x2f0]
call fcn.0056d97c
xor eax, eax
push ebp
push 0xa450ba
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.00a43754
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x18]
call fcn.00a323e4
mov eax, dword [ebp - 8]
call fcn.00a45140
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.00a452dc
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
call fcn.0089e75c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xa450c1
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x38]
mov eax, dword [eax + 0x2f0]
call fcn.0056d9c8
ret
Function at 0xa51d58
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0xa51e21
push dword fs:[eax]
mov dword fs:[eax], esp
mov cl, 1
mov dl, 1
mov eax, dword [0x993614]
call fcn.009936d0
mov ebx, eax
mov eax, dword [esi + 8]
mov dword [ebx + 0x68], eax
mov eax, dword [esi + 0xc]
mov dword [ebx + 0x6c], eax
lea eax, [ebx + 0x44]
mov edx, 0xa51e3c
call fcn.0040a6b8
lea edx, [ebp - 4]
mov eax, esi
call fcn.00a51a20
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 4]
mov edx, 0xa51ea0
call fcn.0040b60c
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
mov ecx, 0
call fcn.0040af68
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.00993c24
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 8]
call fcn.0040b478
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 0x50]
mov ecx, dword [eax]
call dword [ecx + 0x30]
xor edx, edx
mov eax, ebx
call fcn.004c95e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xa51e28
lea eax, [ebp - 0x14]
call fcn.0040a2d8
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.0040a368
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040a338
ret

Function at 0xa5d954
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
lea eax, [ebp - 0x100]
push eax
call sub.user32.dll_GetKeyboardState
movzx eax, byte [ebp - 0xec]
and al, 1
cmp al, 1
jne 0xa5d99b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x3b8]
mov eax, dword [eax + 0x290]
mov edx, 4
call fcn.006afc58
mov dl, 1
call fcn.006afb30
jmp 0xa5d9be
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x3b8]
mov eax, dword [eax + 0x290]
mov edx, 4
call fcn.006afc58
xor edx, edx
call fcn.006afb30
movzx eax, byte [ebp - 0x70]
and al, 1
cmp al, 1
jne 0xa5d9ed
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x3b8]
mov eax, dword [eax + 0x290]
mov edx, 5
call fcn.006afc58
mov dl, 1
call fcn.006afb30
jmp 0xa5da10
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x3b8]
mov eax, dword [eax + 0x290]
mov edx, 5
call fcn.006afc58
xor edx, edx
call fcn.006afb30
mov esp, ebp
pop ebp
ret

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
jne 0x42e01e
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00401219
Function at 0x41bd00
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
mov eax, edx
and eax, 1
dec eax
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x424c80], ecx
inc edx
cmp edx, 0x100
jb 0x41bd02
cmp edx, 0x800
jae 0x41bdd9
lea esp, [esp]
mov eax, dword [edx*4 + 0x424880]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x424c80]
inc edx
mov dword [edx*4 + 0x424c7c], eax
cmp edx, 0x800
jb 0x41bdb0
mov eax, 0x41c5e0
mov dword [0x424c7c], eax
mov dword [0x426c80], eax
mov dword [0x424c78], 0x41c500
call fcn.0041c010
test eax, eax
jne 0x41be05
mov dword [0x426c80], 0x41c500
ret

Function at 0x7c599d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x7cd388
cmp edx, dword [eax]
je 0x7c59bf
add eax, 8
inc ecx
cmp eax, 0x7cd418
jl 0x7c59b0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x7cd388]
jne 0x7c5aed
mov eax, dword [0xbcfce4]
cmp eax, 1
je 0x7c5ac7
test eax, eax
jne 0x7c59f0
cmp dword [0x7cd2b4], 1
je 0x7c5ac7
cmp edx, 0xfc
je 0x7c5aed
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x7c5a27
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.007c6380
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.007c6810
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x7c5a6a
lea eax, [ebp - 0x1a4]
push eax
call fcn.007c6810
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x7ca7ac
push edi
call fcn.007c86e0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.007c6380
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.007c6390
lea eax, [ebp - 0xa0]
push 0x7ca78c
push eax
call fcn.007c6390
push dword [esi + 0x7cd38c]
lea eax, [ebp - 0xa0]
push eax
call fcn.007c6390
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.007c8654
add esp, 0x2c
pop edi
jmp 0x7c5aed
lea eax, [ebp + 8]
lea esi, [esi + 0x7cd38c]
push 0
push eax
push dword [esi]
call fcn.007c6810
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
mov ebx, 0x40de38
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x53946593
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
loop 0x433060
nop
nop
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x4330d2
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x5c5c321a
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4330c0
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0xbb4058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00bb41a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xbb407e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xbb406a
add dl, dl
jne 0xbb4089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xbb40dc
xor eax, eax
add dl, dl
jne 0xbb4096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xbb417d
add dl, dl
jne 0xbb40a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbb40b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbb40bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbb40c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xbb40d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xbb4075
mov eax, 1
add dl, dl
jne 0xbb40ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbb40f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xbb40e1
sub eax, ebx
mov ebx, 1
jne 0xbb4128
mov ecx, 1
add dl, dl
jne 0xbb410e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xbb4119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xbb4105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xbb4075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xbb413f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xbb414a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xbb4136
cmp eax, 0x7d00
jae 0xbb416d
cmp eax, 0x500
jb 0xbb4168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xbb4075
cmp eax, 0x7f
ja 0xbb4170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xbb4075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xbb419e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xbb4075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x402ffb
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 8], esi
test edi, edi
jne 0x403018
mov dword [ebp - 8], 0x8000
and dword [ebp - 4], 0
mov dword [ebp - 0xc], edi
test edi, edi
jne 0x40302a
mov dword [ebp - 0xc], 0x421428
mov eax, dword [ebp + 8]
test eax, eax
jl 0x40303f
mov ecx, dword [0x42f478]
add ecx, eax
push ecx
call fcn.00403223
lea eax, [ebp + 0x14]
push 4
push eax
call fcn.0040320d
test eax, eax
je 0x4031fb
test byte [ebp + 0x17], 0x80
je 0x4031a6
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
and dword [0x40bd8c], 0
and dword [0x40bd88], 0
and dword [ebp + 0x14], 0x7fffffff
mov dword [ebp - 0x10], eax
mov eax, 0x40d410
mov dword [0x40b870], 8
mov dword [0x415418], eax
mov dword [0x415414], eax
mov eax, dword [ebp + 0x14]
mov dword [0x415410], 0x415410
mov dword [ebp + 8], eax
jle 0x403203
mov esi, 0x4000
cmp dword [ebp + 0x14], esi
jge 0x4030b8
mov esi, dword [ebp + 0x14]
mov edi, 0x41d428
push esi
push edi
call fcn.0040320d
test eax, eax
je 0x4031fb
sub dword [ebp + 0x14], esi
mov dword [0x40b860], edi
mov dword [0x40b864], esi
mov edi, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
push 0x40b860
mov dword [0x40b868], edi
mov dword [0x40b86c], eax
call fcn.004064cd
test eax, eax
mov dword [ebp - 0x14], eax
jl 0x40319e
mov esi, dword [0x40b868]
sub esi, edi
call ebx
test byte [0x42f4d4], 1
mov edi, eax
je 0x403159
sub eax, dword [ebp - 0x10]
cmp eax, 0xc8
ja 0x403126
cmp dword [ebp + 0x14], 0
jne 0x403159
mov eax, dword [ebp + 8]
push dword [ebp + 8]
sub eax, dword [ebp + 0x14]
push 0x64
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
push eax
lea eax, [ebp - 0x54]
push str....__d__
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x54]
push eax
push 0
call fcn.00405137
mov dword [ebp - 0x10], edi
test esi, esi
je 0x403192
cmp dword [ebp + 0x10], 0
jne 0x403178
push esi
push dword [ebp - 0xc]
push dword [ebp + 0xc]
call fcn.00405c50
test eax, eax
je 0x4031a2
add dword [ebp - 4], esi
jmp 0x403186
mov eax, dword [0x40b868]
add dword [ebp - 4], esi
sub dword [ebp - 8], esi
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x14], 1
jne 0x4030db
jmp 0x403203
cmp dword [ebp + 0x14], 0
jg 0x4030ab
jmp 0x403203
push 0xfffffffffffffffc
jmp 0x4031fd
push 0xfffffffffffffffe
jmp 0x4031fd
test edi, edi
jne 0x4031e8
cmp dword [ebp + 0x14], edi
jle 0x403203
mov ebx, dword [ebp - 8]
cmp dword [ebp + 0x14], ebx
mov esi, dword [ebp + 0x14]
jl 0x4031bc
mov esi, ebx
mov edi, 0x41d428
push esi
push edi
call fcn.0040320d
test eax, eax
je 0x4031fb
push esi
push edi
push dword [ebp + 0xc]
call fcn.00405c50
test eax, eax
je 0x4031a2
add dword [ebp - 4], esi
sub dword [ebp + 0x14], esi
cmp dword [ebp + 0x14], 0
jg 0x4031b2
jmp 0x403203
cmp dword [ebp + 0x14], esi
jge 0x4031f0
mov esi, dword [ebp + 0x14]
push esi
push edi
call fcn.0040320d
test eax, eax
jne 0x403200
push 0xfffffffffffffffd
pop eax
jmp 0x403206
mov dword [ebp - 4], esi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x4055fd
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, 0x40837c
and byte [ebp - 0x1f], 0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
and dword [ebp - 0x14], 0
and dword [ebp - 4], 0
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push esi
push eax
mov byte [ebp - 0x20], 1
push dword [ebp + 8]
mov word [ebp - 0x1e], 4
mov dword [ebp - 0x10], 0x40836c
mov dword [ebp - 0xc], 0xc
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x40564e
xor eax, eax
jmp 0x405675
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0xb7
jne 0x405675
lea eax, [ebp - 0x20]
push eax
push 0x80000007
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_SetFileSecurityA]
test eax, eax
jne 0x40564a
call esi
pop esi
leave
ret 4

Function at 0x4056af
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
mov dword [0x42c078], 0x44
push eax
xor eax, eax
push 0x42c078
push eax
push eax
push 0x4000000
push eax
push eax
push eax
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x4056ee
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 4

Function at 0x4056f2
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
push eax
and dword [eax + 0x24], 0
mov dword [eax], 0x3c
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
ret 4

Function at 0x405790
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
push esi
call fcn.00405b84
mov edi, eax
cmp edi, 0xffffffff
je 0x4057d1
test byte [esp + 0x10], 1
push esi
je 0x4057b3
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
jmp 0x4057b9
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x4057c2
xor eax, eax
inc eax
jmp 0x4057d3
test byte [esp + 0x10], 4
jne 0x4057d1
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
xor eax, eax
pop edi
pop esi
ret 8