joyce8/EMBER2024-capa huggingface dataset:
Function at 0x436cd4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
xor eax, 0xffffffff
add ecx, edx
cmp ecx, edx
jbe 0x436d05
mov ebx, dword [0x66eb3c]
mov ebx, dword [ebx]
movzx esi, byte [edx]
xor esi, eax
and esi, 0xff
shl esi, 2
add ebx, esi
mov ebx, dword [ebx]
shr eax, 8
xor ebx, eax
mov eax, ebx
inc edx
cmp ecx, edx
ja 0x436cdf
xor eax, 0xffffffff
pop esi
pop ebx
ret

Function at 0x4370d4
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
add ebx, 0xfffffff8
xor edx, edx
push ebp
push 0x437227
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebx]
cmp byte [eax + 0xc], 0
jne 0x437180
mov eax, dword [ebx]
xor edx, edx
mov dword [eax + 0x20], edx
mov eax, dword [ebx]
cmp dword [eax + 0x2c], 0
jne 0x437139
mov eax, dword [ebx]
mov ecx, dword [eax + 0x40]
mov eax, dword [ebx]
lea edx, [eax + 0x448]
mov eax, dword [ebx]
call fcn.00436d0c
mov eax, dword [ebx]
xor edx, edx
mov dword [eax + 0x40], edx
mov eax, dword [ebx]
mov dword [eax + 0x2c], 0x4000
mov eax, dword [ebx]
add eax, 0x448
mov edx, dword [ebx]
mov dword [edx + 0x28], eax
mov eax, dword [ebx]
mov esi, dword [eax + 0x30]
mov eax, dword [ebx]
add eax, 0x1c
mov edx, 4
call fcn.00405f00
mov edx, dword [ebx]
mov edx, dword [edx + 0x30]
sub edx, esi
mov ecx, dword [ebx]
add dword [ecx + 0x40], edx
dec eax
jne 0x437101
mov eax, dword [ebx]
mov eax, dword [eax + 0x40]
test eax, eax
jle 0x437176
mov ecx, eax
mov eax, dword [ebx]
lea edx, [eax + 0x448]
mov eax, dword [ebx]
call fcn.00436d0c
mov eax, dword [ebx]
add eax, 0x1c
call fcn.00405cbc
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebx]
add edx, 0x48
add edx, 0x10
mov dword [edx], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x30]
mov edx, dword [ebx]
add edx, 0x48
add edx, 0x14
mov dword [edx], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x24]
mov edx, dword [ebx]
add edx, 0x48
add edx, 0x18
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0xc]
mov eax, dword [ebx]
lea edx, [eax + 0x48]
mov eax, dword [ebx]
mov eax, dword [eax + 0x14]
call fcn.0064e488
mov eax, dword [ebx]
mov eax, dword [eax + 0x10]
call fcn.006514d4
mov esi, eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x44]
add edx, 0xe
mov eax, dword [ebx]
mov eax, dword [eax + 0x10]
xor ecx, ecx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 4]
mov eax, dword [ebx]
call fcn.00436d30
mov eax, dword [ebx]
mov edx, dword [eax + 0x30]
mov eax, dword [ebx]
call fcn.00436d30
mov eax, dword [ebx]
mov edx, dword [eax + 0x24]
mov eax, dword [ebx]
call fcn.00436d30
mov eax, dword [ebx]
mov eax, dword [eax + 0x10]
xor ecx, ecx
mov edx, esi
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebx]
inc dword [eax + 0x18]
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x437233
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x437b0c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x437d14
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x436bb0]
call fcn.00436d58
mov edi, eax
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.00436d90
test al, al
je 0x437cd6
mov bl, 1
cmp dword [0x672540], 0
je 0x437b9a
lea edx, [ebp - 0x10]
xor eax, eax
call fcn.0061cd68
mov edx, dword [0x672540]
mov eax, dword [ebp - 0x10]
call fcn.0061c950
mov byte [edi + 0xc], 1
mov ecx, 0x437d28
mov edx, dword [ebp - 0x10]
mov eax, edi
call fcn.0043723c
mov byte [edi + 0xc], 0
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_DeleteFileW
call fcn.0064d630
mov dword [ebp - 0xc], eax
push 0
mov ecx, dword [ebp - 0xc]
mov edx, 0x437d40
mov eax, dword [ebp - 4]
call fcn.00621f70
mov eax, dword [ebp - 0xc]
call fcn.00650f38
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x24]
dec eax
test eax, eax
jl 0x437cc5
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x20]
mov edx, dword [ebp - 0x18]
lea eax, [eax + edx*4]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x20]
mov edx, dword [edx]
call fcn.004038bc
cmp dword [0x672544], 0
je 0x437c31
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
mov eax, dword [0x672544]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov esi, eax
cmp esi, 0xffffffff
je 0x437c31
mov edx, esi
mov eax, dword [0x672544]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edx, dword [0x672548]
mov edx, dword [edx + 0x18]
mov edx, dword [edx + eax*4]
lea eax, [ebp - 0x10]
call fcn.004038bc
cmp byte [0x67254c], 0
je 0x437c76
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
call fcn.0065530c
mov esi, 0xfffffffd
mov ebx, 0x65f20c
lea eax, [ebp - 0x24]
mov edx, dword [ebx]
call fcn.00403990
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
call fcn.00655078
test al, al
je 0x437c70
mov byte [edi + 0xc], 1
jmp 0x437c76
sub ebx, 4
inc esi
jne 0x437c51
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 4]
call fcn.00403aa8
mov edx, eax
inc edx
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
call fcn.006547d0
mov eax, dword [ebp - 0x28]
mov cx, 0x2f
mov dx, 0x5c
call fcn.00653ce4
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x10]
mov eax, edi
call fcn.0043723c
mov ebx, eax
mov byte [edi + 0xc], 0
test bl, bl
je 0x437cc5
inc dword [ebp - 0x18]
dec dword [ebp - 0x1c]
jne 0x437bd6
mov eax, dword [ebp - 0xc]
call fcn.004028c0
mov eax, edi
call fcn.00437540
jmp 0x437cd8
xor ebx, ebx
test bl, bl
jne 0x437ce5
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_DeleteFileW
mov eax, edi
call fcn.004028c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x437d1b
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00403898
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00403898
ret
Function at 0x44396c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov ebx, eax
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x1fc]
call fcn.00643864
mov esi, eax
cmp byte [ebx + 0x170], 1
jne 0x443a21
push 0x51
push 0
push 0
lea edx, [esp + 0xc]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov ecx, dword [esp + 0x10]
mov eax, dword [ebx + 0x168]
cdq
idiv dword [ebx + 0x14c]
sub eax, dword [ebx + 0x158]
mov ebp, dword [ebx + 0x160]
imul ebp
add ecx, eax
mov eax, ebp
mov ebp, 3
cdq
idiv ebp
sub ecx, eax
push ecx
lea edx, [esp + 0x18]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov ecx, dword [esp + 0x18]
mov eax, dword [ebx + 0x168]
cdq
idiv dword [ebx + 0x14c]
mov edi, dword [ebx + 0x15c]
imul edx, edi
add ecx, edx
mov eax, edi
mov ebx, 3
cdq
idiv ebx
sub ecx, eax
push ecx
push 0
push esi
call sub.user32.dll_SetWindowPos
push 1
push 0
push 0
push esi
call sub.user32.dll_RedrawWindow
push esi
call sub.user32.dll_UpdateWindow
jmp 0x443a29
push 0
push esi
call sub.user32.dll_ShowWindow
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x44b168
Capabilities:
Hide graphical window

Disassembly:
cmp byte [0x672644], 0
je 0x44b1a4
mov eax, dword [0x672640]
call fcn.0063fe74
push 0
mov eax, dword [0x672640]
mov eax, dword [eax + 0x198]
call fcn.00643864
push eax
call sub.user32.dll_ShowWindow
mov byte [0x672644], 0
mov eax, 0x672648
call fcn.00403274
ret
Function at 0x4617f8
Capabilities:
Delete file
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd14
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x2d8], edx
mov dword [ebp - 0x2dc], edx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4619f6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [esi + 0x18c]
push eax
call sub.user32.dll_DestroyIcon
lea edx, [ebp - 4]
mov eax, dword [esi + 0x268]
call fcn.00565534
mov eax, dword [ebp - 4]
call fcn.00654ea8
mov byte [ebp - 5], al
mov al, byte [ebp - 5]
xor al, 1
test al, al
je 0x46188a
lea edx, [ebp - 0x2dc]
mov eax, dword [ebp - 4]
call fcn.0065530c
mov eax, dword [ebp - 0x2dc]
lea edx, [ebp - 0x2d8]
call fcn.0061cd24
mov edx, dword [ebp - 0x2d8]
lea eax, [ebp - 4]
call fcn.004038bc
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0061c950
push 0x101
push 0x2b4
lea eax, [ebp - 0x2c0]
push eax
push 0
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_SHGetFileInfoW
lea eax, [ebp - 0x2d4]
push eax
mov eax, dword [ebp - 0x2c0]
push eax
call sub.user32.dll_GetIconInfo
mov eax, dword [ebp - 0x2c4]
push eax
call sub.gdi32.dll_DeleteObject
call fcn.006475c8
mov edi, eax
mov edx, dword [ebp - 0x2c8]
mov eax, edi
call fcn.0064b718
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x1c]
push eax
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x28]
pop edx
call fcn.0064760c
mov ebx, eax
mov eax, ebx
call fcn.0064ad58
mov eax, dword [eax + 0x14]
mov edx, dword [0x66eaa4]
mov edx, dword [edx]
call fcn.00647c78
push 3
mov eax, ebx
call fcn.0064ad58
mov eax, dword [eax + 0x14]
call fcn.00647cac
push eax
push 0
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x1c]
push eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x28]
push eax
mov eax, dword [ebp - 0x2c0]
push eax
push 0
push 0
mov eax, ebx
call fcn.0064ad58
call fcn.00648678
push eax
call sub.user32.dll_DrawIconEx
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x44]
mov dword [ebp - 0x2c4], eax
mov eax, edi
call fcn.0064ad58
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x2ec]
mov eax, dword [ebp - 0xc]
call fcn.00648654
lea ecx, [ebp - 0x2ec]
xor edx, edx
mov eax, dword [ebp - 0xc]
call fcn.0064818c
lea eax, [ebp - 0x2d4]
push eax
call sub.user32.dll_CreateIconIndirect
mov dword [esi + 0x18c], eax
mov eax, ebx
call fcn.004028c0
mov eax, edi
call fcn.004028c0
mov eax, dword [ebp - 0x2c0]
push eax
call sub.user32.dll_DestroyIcon
mov eax, dword [esi + 0x18c]
push eax
xor ecx, ecx
mov edx, 0x80
mov eax, esi
call fcn.00641784
mov al, byte [ebp - 5]
xor al, 1
test al, al
je 0x4619d0
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_DeleteFileW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4619fd
lea eax, [ebp - 0x2dc]
mov edx, 2
call fcn.00403898
lea eax, [ebp - 4]
call fcn.00403880
ret
Function at 0x466560
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4666fa
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.004306f4
mov dx, word [edi + 4]
call fcn.004300c8
and byte [esi + 0x30], 0xfe
mov eax, dword [edi + 8]
call fcn.00639b3c
mov byte [ebp - 5], al
mov al, byte [0x466708]
and al, byte [ebp - 5]
mov dl, byte [0x46670c]
cmp dl, al
sete byte [ebp - 6]
push 0x90
call sub.user32.dll_GetKeyState
mov ebx, eax
and bl, 1
cmp byte [ebp - 6], 0
je 0x4665f4
test bl, bl
jne 0x4665e3
mov ax, word [edi + 4]
sub ax, 0xc
je 0x4665f8
add eax, 0xffffffeb
sub ax, 8
jb 0x4665f8
sub ax, 4
je 0x4665f8
test bl, bl
je 0x4665f4
mov ax, word [edi + 4]
add eax, 0xffffffa0
sub ax, 0xa
jb 0x4665f8
xor eax, eax
jmp 0x4665fa
mov al, 1
mov byte [esi + 0x31], al
cmp word [edi + 4], 0x58
jne 0x46666b
mov byte [esi + 0x32], 0
call fcn.00539564
test eax, eax
setne al
and al, byte [ebp - 6]
je 0x4666e4
xor eax, eax
mov dword [ebp - 4], eax
mov al, byte [0x46670c]
mov byte [ebp - 4], al
mov byte [ebp - 3], 0x58
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.004667bc
test eax, eax
jge 0x466659
or byte [esi + 0x30], 1
call fcn.004651e4
mov edx, 0x466718
call fcn.00464b98
mov dword [edi + 0xc], 1
jmp 0x4666e4
mov cl, byte [edi + 4]
mov dl, byte [ebp - 5]
mov eax, esi
call fcn.00465fa4
mov dword [edi + 0xc], eax
jmp 0x4666e4
call fcn.00539564
test eax, eax
setne al
and al, byte [ebp - 6]
je 0x4666c3
test bl, bl
je 0x4666c3
mov ax, word [edi + 4]
add eax, 0xffffffa0
sub ax, 0xa
jae 0x4666c3
cmp byte [esi + 0x32], 0
jne 0x466699
lea eax, [esi + 0x34]
call fcn.00403274
mov byte [esi + 0x32], 1
lea eax, [ebp - 0xc]
mov dx, word [edi + 4]
sub dl, 0x60
add dl, 0x30
call fcn.00403418
mov edx, dword [ebp - 0xc]
lea eax, [esi + 0x34]
call fcn.00403524
mov dword [edi + 0xc], 1
jmp 0x4666e4
mov byte [esi + 0x32], 0
mov ax, word [edi + 4]
add eax, 0xfffffff0
sub ax, 3
jb 0x4666e4
mov cl, byte [edi + 4]
mov dl, byte [ebp - 5]
mov eax, esi
call fcn.00465fa4
mov dword [edi + 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x466701
lea eax, [ebp - 0xc]
call fcn.00403274
ret

Function at 0x466750
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
mov bx, word [edi + 4]
call fcn.004306f4
mov edx, ebx
call fcn.004300c8
test byte [esi + 0x30], 1
jne 0x4667b6
cmp bx, 0x61
jb 0x4667a0
mov eax, dword [0x66ec98]
mov eax, dword [eax]
call fcn.006262b4
mov eax, dword [0x66ec98]
mov eax, dword [eax]
mov eax, dword [eax + 0x20]
mov edx, dword [0x66ec98]
mov edx, dword [edx]
mov edx, dword [edx + 0x1c]
mov eax, dword [edx + eax*4]
push eax
push ebx
call sub.user32.dll_VkKeyScanExW
mov ebx, eax
mov eax, dword [edi + 8]
call fcn.00639b3c
mov edx, eax
mov ecx, ebx
mov eax, esi
call fcn.00465fa4
mov dword [edi + 0xc], eax
pop edi
pop esi
pop ebx
ret
Function at 0x49f3a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
xor eax, eax
push ebp
push 0x49f53b
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x672c0c], 0
je 0x49f3e1
mov eax, dword [0x66e924]
mov eax, dword [eax]
mov cx, word [0x49f548]
mov dl, 3
call fcn.0061fbb0
cmp ax, 6
jne 0x49f518
xor ecx, ecx
mov dl, 1
mov eax, dword [0x49eb60]
call fcn.00622e60
mov esi, eax
mov eax, esi
call fcn.0063c388
dec eax
jne 0x49f511
lea edx, [ebp - 8]
mov eax, dword [esi + 0x1a4]
call fcn.0063fa54
mov edx, dword [ebp - 8]
mov eax, 0x672c0c
call fcn.004032c8
lea edx, [ebp - 0xc]
mov eax, dword [esi + 0x1a0]
call fcn.0063faa4
mov edx, dword [ebp - 0xc]
mov eax, 0x672c10
call fcn.004038bc
mov eax, dword [0x672c10]
call fcn.00403aa8
mov ecx, eax
add ecx, ecx
lea eax, [ebp - 4]
mov edx, dword [0x672c10]
call fcn.00403358
mov eax, dword [ebp - 4]
call fcn.0040351c
mov ebx, eax
cmp ebx, 1
jl 0x49f47b
lea eax, [ebp - 4]
call fcn.004036ec
mov edx, dword [ebp - 4]
mov dl, byte [edx + ebx - 1]
xor dl, 0x17
mov byte [eax + ebx - 1], dl
dec ebx
test ebx, ebx
jne 0x49f460
mov eax, dword [0x66f914]
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
mov dl, 4
call fcn.00618b38
lea eax, [ebp - 4]
mov edx, dword [0x672c0c]
call fcn.0040330c
mov eax, dword [ebp - 4]
call fcn.0040351c
mov ebx, eax
cmp ebx, 1
jl 0x49f4c4
lea eax, [ebp - 4]
call fcn.004036ec
mov edx, dword [ebp - 4]
mov dl, byte [edx + ebx - 1]
xor dl, 0x17
mov byte [eax + ebx - 1], dl
dec ebx
test ebx, ebx
jne 0x49f4a9
mov eax, dword [0x66f914]
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
mov dl, 5
call fcn.00618b38
mov eax, dword [0x66f914]
mov eax, dword [eax]
call fcn.00618c48
mov eax, dword [0x66ee6c]
mov edx, dword [0x66fabc]
mov edx, dword [edx]
call fcn.00403438
call fcn.00506a54
call fcn.00504044
mov edx, dword [0x66ee6c]
mov edx, dword [edx]
mov eax, dword [0x66ea7c]
mov eax, dword [eax]
call fcn.0063cac4
mov eax, esi
call fcn.004028c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49f542
lea eax, [ebp - 0xc]
call fcn.00403880
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403298
ret
Function at 0x4a1a74
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push esi
push edi
push ebp
mov edi, edx
mov esi, eax
mov al, byte [edi + 4]
mov byte [esi + 4], al
mov al, byte [edi + 5]
mov byte [esi + 5], al
mov al, byte [edi + 6]
mov byte [esi + 6], al
mov al, byte [edi + 7]
mov byte [esi + 7], al
mov al, byte [edi + 8]
mov byte [esi + 8], al
mov al, byte [edi + 9]
mov byte [esi + 9], al
mov al, byte [edi + 0xa]
mov byte [esi + 0xa], al
mov edx, dword [edi + 0xc]
mov eax, dword [esi + 0xc]
call fcn.0064e950
mov al, byte [edi + 0xb]
mov byte [esi + 0xb], al
mov al, byte [edi + 0x10]
mov byte [esi + 0x10], al
mov al, byte [edi + 0x11]
mov byte [esi + 0x11], al
mov edx, dword [edi + 0x14]
mov eax, dword [esi + 0x14]
call fcn.0064e950
mov edx, dword [edi + 0x18]
mov eax, dword [esi + 0x18]
call fcn.0064e950
mov bl, 0x1f
mov ebp, ebx
and ebp, 0x7f
cmp dword [edi + ebp*4 + 0x1c], 0
jne 0x4a1af2
lea eax, [esi + ebp*4 + 0x1c]
call fcn.00652f6c
jmp 0x4a1b0f
cmp dword [esi + ebp*4 + 0x1c], 0
jne 0x4a1b02
call fcn.0064e78c
mov dword [esi + ebp*4 + 0x1c], eax
mov edx, dword [edi + ebp*4 + 0x1c]
mov eax, dword [esi + ebp*4 + 0x1c]
call fcn.0064e950
dec ebx
cmp bl, 0xff
jne 0x4a1adb
mov eax, dword [edi + 0xa0]
mov dword [esi + 0xa0], eax
mov edx, dword [edi + 0xa4]
mov eax, dword [esi + 0xa4]
mov ecx, dword [eax]
call dword [ecx]
pop ebp
pop edi
pop esi
pop ebx
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4ab353
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00658fe8
sub eax, dword [ebx + 8]
cmp eax, 0xbb8
jl 0x4ab335
lea eax, [ebp - 8]
push eax
mov eax, dword [0x66ebb4]
movzx eax, byte [eax]
mov eax, dword [eax*4 + 0x667b1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 6
mov dword [ebp - 0x10], esi
mov byte [ebp - 0xc], 0xb
lea edx, [ebp - 0x18]
mov eax, 0x4ab360
mov ecx, 1
call fcn.00655a28
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.00654c74
mov eax, dword [ebp - 4]
call fcn.00620f3c
mov eax, 0x206c
call fcn.004ab0f8
call fcn.00658fe8
mov dword [ebx + 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ab35a
lea eax, [ebp - 8]
call fcn.00403274
lea eax, [ebp - 4]
call fcn.00403880
ret
Function at 0x4b71c0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4b726c
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x4b7249
mov edx, ebx
mov eax, dword [0x672cec]
mov ecx, dword [eax]
call dword [ecx + 0x44]
inc eax
jne 0x4b7249
mov eax, ebx
call fcn.00654ea8
test al, al
je 0x4b7249
lea edx, [ebp - 0xc]
mov eax, dword [0x672cec]
mov eax, dword [eax + 0x24]
call fcn.00655ce4
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.00654c74
mov ecx, dword [ebp - 8]
lea eax, [ebp - 4]
mov edx, dword [0x672cf0]
call fcn.00403b14
mov edx, ebx
mov eax, dword [0x672cec]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov edx, dword [ebp - 4]
mov eax, dword [0x672cec]
mov ecx, dword [eax]
call dword [ecx + 0x30]
push 0
mov eax, dword [ebp - 4]
push eax
push ebx
call sub.kernel32.dll_CopyFileW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b7273
lea eax, [ebp - 0xc]
call fcn.00403274
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403898
ret

Function at 0x4b742c
Capabilities:
Copy file

Disassembly:
push ebx
push esi
push edi
mov edi, 0x672cec
cmp byte [0x672ce8], 0
je 0x4b747b
call fcn.0052fdcc
mov esi, eax
mov eax, dword [esi + 8]
call fcn.0064ecc8
xor ebx, ebx
jmp 0x4b746d
push 0
mov eax, dword [edi]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + ebx*4]
push eax
mov eax, dword [edi]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + ebx*4 + 4]
push eax
call sub.kernel32.dll_CopyFileW
add ebx, 2
mov eax, dword [edi]
cmp ebx, dword [eax + 0x24]
jl 0x4b7450
mov eax, esi
call fcn.00529440
pop edi
pop esi
pop ebx
ret
Function at 0x4ceb40
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4cec60
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [0x66fc14]
mov edx, dword [edx]
lea eax, [ebp - 4]
mov ecx, 0x4cec70
call fcn.00403b14
mov eax, dword [ebp - 4]
call fcn.00654ea8
test al, al
jne 0x4ceb88
lea edx, [ebp - 4]
mov eax, 0x4cec70
call fcn.00621908
mov eax, dword [ebp - 4]
call fcn.00654ea8
test al, al
jne 0x4cebf8
mov eax, dword [0x66fdf8]
mov eax, dword [eax]
mov cl, 0x2c
mov dl, 3
call fcn.006200d0
cmp ax, 6
jne 0x4cebf8
call fcn.00506a54
mov ecx, dword [0x66f548]
mov ecx, dword [ecx]
xor edx, edx
call fcn.00503ed0
mov eax, dword [ebp - 4]
push eax
mov eax, dword [0x66fc38]
mov eax, dword [eax]
push eax
mov al, byte [0x4cec8c]
push eax
lea edx, [ebp - 0xc]
mov eax, 0x4cec90
call fcn.00654d58
mov edx, dword [ebp - 0xc]
mov ecx, 0x4cecb4
xor eax, eax
call fcn.00437f04
call fcn.00506a54
xor edx, edx
call fcn.00503f2c
mov eax, dword [ebp - 4]
call fcn.00654ea8
test al, al
je 0x4cec45
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
mov edx, dword [0x66ebf8]
mov edx, dword [edx + 0x33]
call fcn.00403a24
mov eax, dword [ebp - 0xc]
mov ecx, ebx
mov edx, 0x4cece8
call fcn.00654908
push 5
push 0
mov eax, dword [ebp - 8]
call fcn.00403a98
push eax
mov eax, dword [ebp - 4]
push eax
push 0x4cecf0
push 0
call sub.shell32.dll_ShellExecuteW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cec67
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00403898
ret

Function at 0x4d4138
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4d4270
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4d4250
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x104
lea eax, [ebp - 0x216]
push eax
lea eax, [ebp - 0x21c]
mov edx, esi
call fcn.00403980
lea eax, [ebp - 0x21c]
mov edx, 0x4d4284
call fcn.00403ab4
mov eax, dword [ebp - 0x21c]
push eax
call sub.kernel32.dll_GetVolumeInformationW
test eax, eax
je 0x4d41d9
lea eax, [ebp - 0x216]
push eax
call sub.kernel32.dll_lstrlenW
mov ecx, eax
lea edx, [ebp - 0x216]
mov eax, ebx
call fcn.00403964
jmp 0x4d41e0
mov eax, ebx
call fcn.00403880
cmp si, 0x61
jae 0x4d4202
lea edx, [ebp - 0x21c]
mov eax, dword [ebx]
call fcn.00654710
mov edx, dword [ebp - 0x21c]
mov eax, ebx
call fcn.004038bc
jmp 0x4d421c
lea edx, [ebp - 0x21c]
mov eax, dword [ebx]
call fcn.006546a0
mov edx, dword [ebp - 0x21c]
mov eax, ebx
call fcn.004038bc
cmp dword [ebx], 0
je 0x4d4239
push 0x4d4290
push dword [ebx]
push 0x4d4298
mov eax, ebx
mov edx, 3
call fcn.00403b78
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d4257
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret