joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47c6fc
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x47c72a
mov eax, ebx
call fcn.0047d1b0
cmp dword [ebx + 0x40], 0
je 0x47c723
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x47c79b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x47c78d
cmp dword [ebx + 8], 0
je 0x47c74c
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x47c75e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x47c78d
cmp dword [ebx + 8], 0
je 0x47c73f
cmp eax, 3
je 0x47c771
dec eax
jne 0x47c73f
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x47c73f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x47c73f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x47c7b9
cmp dword [ebx + 0x14], 0xcc
je 0x47c7b9
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0047c7c4
pop ebx
ret

Function at 0x490250
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00405240
xor eax, eax
push ebp
push 0x49034c
push dword fs:[eax]
mov dword fs:[eax], esp
mov ax, word [esi + 4]
mov word [ebx + 4], ax
mov ax, word [esi + 6]
mov word [ebx + 6], ax
mov ax, word [esi + 8]
mov word [ebx + 8], ax
mov ax, word [esi + 0xa]
mov word [ebx + 0x64], ax
mov eax, dword [esi + 0xc]
call fcn.00491f4c
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x18], eax
mov ax, word [esi + 0x1c]
mov word [ebx + 0x1c], ax
mov ax, word [esi + 0x1e]
mov word [ebx + 0x1e], ax
mov ax, word [esi + 0x20]
mov word [ebx + 0x22], ax
mov ax, word [esi + 0x22]
mov word [ebx + 0x24], ax
mov ax, word [esi + 0x24]
mov word [ebx + 0x26], ax
mov eax, dword [esi + 0x26]
mov dword [ebx + 0x28], eax
mov eax, dword [esi + 0x2a]
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0048e11c
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00490f58
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0048e0d0
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.00490fd0
lea eax, [ebx + 0x50]
call fcn.00404d90
mov byte [ebx + 0x54], 0
mov byte [ebx + 0x56], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x490353
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404db4
ret
Function at 0x49035c
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00405240
xor eax, eax
push ebp
push 0x490468
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebx + 4], 0
mov ax, word [esi + 4]
mov word [ebx + 6], ax
mov ax, word [esi + 6]
mov word [ebx + 8], ax
mov ax, word [esi + 8]
mov word [ebx + 0x64], ax
mov eax, dword [esi + 0xa]
call fcn.00491f4c
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0xe]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x12]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x16]
mov dword [ebx + 0x18], eax
mov ax, word [esi + 0x1a]
mov word [ebx + 0x1c], ax
mov ax, word [esi + 0x1c]
mov word [ebx + 0x20], ax
mov word [ebx + 0x22], 0
mov word [ebx + 0x24], 0
mov word [ebx + 0x26], 0
xor eax, eax
mov dword [ebx + 0x28], eax
xor eax, eax
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
cmp dword [ebp - 4], 0
je 0x49042b
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0048e11c
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00490f58
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0048e0d0
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.00490fd0
jmp 0x49043d
xor edx, edx
mov eax, ebx
call fcn.00490f58
xor edx, edx
mov eax, ebx
call fcn.00490fd0
lea eax, [ebx + 0x50]
call fcn.00404d90
mov byte [ebx + 0x54], 0
mov byte [ebx + 0x56], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49046f
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404db4
ret

Function at 0x492060
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405240
xor eax, eax
push ebp
push 0x4920b9
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [ebp - 4]
call fcn.00405250
mov esi, eax
push esi
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
je 0x4920a1
push esi
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 5
jne 0x4920a3
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4920c0
lea eax, [ebp - 4]
call fcn.00404d90
ret

Function at 0x4920c8
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405240
xor eax, eax
push ebp
push 0x49212c
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 0xe
lea eax, [ebp - 0x1a]
push eax
mov eax, dword [ebp - 4]
call fcn.00405250
push eax
call sub.kernel32.dll_GetVolumeInformationA
mov edx, ebx
lea eax, [ebp - 0x1a]
call fcn.0040a91c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x492133
lea eax, [ebp - 4]
call fcn.00404d90
ret
Function at 0x4924a9
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0xefcdab89
mov edx, dword [ebp + 8]
mov dword [edx + 0x10], 0x98badcfe
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x14], 0x10325476
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 0xc3d2e1f0
pop ebp
ret

Function at 0x493d0e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x9c], 0xffffffff
je 0x493dbc
mov edx, dword [ebp + 0x10]
cmp dword [edx + 0x9c], 0x40
jbe 0x493d4d
mov ecx, dword [ebp + 0x10]
add ecx, 0x40
push ecx
push dword [ebp + 0x10]
call fcn.00492589
add esp, 8
mov eax, dword [ebp + 0x10]
mov dword [eax + 0x9c], 0x14
mov edx, 0x40
mov ecx, dword [ebp + 0x10]
sub edx, dword [ecx + 0x9c]
push edx
push 0
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x10]
add eax, dword [edx + 0x9c]
push eax
call fcn.00492184
add esp, 0xc
xor ecx, ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0x10]
xor dword [edx + eax*4], 0x36363636
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x10
jb 0x493d78
mov ecx, dword [ebp + 0x10]
add ecx, 0x40
push ecx
call fcn.004924a9
pop ecx
mov eax, dword [ebp + 0x10]
add eax, 0x40
push eax
push 0x40
push dword [ebp + 0x10]
call fcn.004924ed
add esp, 0xc
mov edx, dword [ebp + 0x10]
mov dword [edx + 0x9c], 0xffffffff
cmp dword [ebp + 0xc], 0
je 0x493dd7
mov ecx, dword [ebp + 0x10]
add ecx, 0x40
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004924ed
add esp, 0xc
pop ecx
pop ebp
ret

Function at 0x493dda
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x9c], 0xffffffff
je 0x493dfb
push dword [ebp + 0x10]
push 0
push 0
call fcn.00493d0e
add esp, 0xc
mov edx, dword [ebp + 0x10]
add edx, 0x40
push edx
lea ecx, [ebp - 0x18]
push ecx
call fcn.00492589
add esp, 8
xor eax, eax
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
xor dword [ecx + edx*4], 0x6a6a6a6a
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x10
jb 0x493e13
mov eax, dword [ebp + 0x10]
add eax, 0x40
push eax
call fcn.004924a9
pop ecx
mov edx, dword [ebp + 0x10]
add edx, 0x40
push edx
push 0x40
push dword [ebp + 0x10]
call fcn.004924ed
add esp, 0xc
mov ecx, dword [ebp + 0x10]
add ecx, 0x40
push ecx
push 0x14
lea eax, [ebp - 0x18]
push eax
call fcn.004924ed
add esp, 0xc
mov edx, dword [ebp + 0x10]
add edx, 0x40
push edx
lea ecx, [ebp - 0x18]
push ecx
call fcn.00492589
add esp, 8
xor eax, eax
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
cmp edx, dword [ebp + 0xc]
jae 0x493e9a
mov ecx, dword [ebp - 4]
mov al, byte [ebp + ecx - 0x18]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov byte [edx + ecx], al
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0xc]
jb 0x493e7f
mov esp, ebp
pop ebp
ret
Function at 0x495340
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde8
lea eax, [ebp - 0xd8]
push eax
call fcn.00493c5c
pop ecx
lea edx, [ebp - 0xd8]
push edx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00493c73
add esp, 0xc
push 0xa0
lea ecx, [ebp - 0xd8]
push ecx
lea eax, [ebp - 0x178]
push eax
call fcn.0049219c
add esp, 0xc
lea edx, [ebp - 0x178]
push edx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.00493d0e
add esp, 0xc
mov eax, dword [ebp + 0x20]
dec eax
mov ecx, 0x14
xor edx, edx
div ecx
inc eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jae 0x4954d4
push 0x14
push 0
lea ecx, [ebp - 0x38]
push ecx
call fcn.00492184
add esp, 0xc
push 0xa0
lea eax, [ebp - 0x178]
push eax
lea edx, [ebp - 0x218]
push edx
call fcn.0049219c
add esp, 0xc
mov ecx, dword [ebp - 4]
inc ecx
shr ecx, 0x18
mov byte [ebp - 0x24], cl
mov eax, dword [ebp - 4]
inc eax
shr eax, 0x10
mov byte [ebp - 0x23], al
mov edx, dword [ebp - 4]
inc edx
shr edx, 8
mov byte [ebp - 0x22], dl
mov cl, byte [ebp - 4]
inc ecx
mov byte [ebp - 0x21], cl
xor eax, eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 4
mov edx, dword [ebp - 8]
cmp edx, dword [ebp + 0x18]
jae 0x49548e
lea ecx, [ebp - 0x218]
push ecx
push dword [ebp - 0xc]
lea eax, [ebp - 0x24]
push eax
call fcn.00493d0e
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
push 0x14
lea ecx, [ebp - 0x24]
push ecx
call fcn.00493dda
add esp, 0xc
xor eax, eax
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
mov cl, byte [ebp + edx - 0x24]
mov eax, dword [ebp - 0xc]
xor byte [ebp + eax - 0x38], cl
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0x14
jb 0x495451
push 0xa0
lea edx, [ebp - 0xd8]
push edx
lea ecx, [ebp - 0x218]
push ecx
call fcn.0049219c
add esp, 0xc
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0x18]
jb 0x495421
xor edx, edx
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 4]
shl ecx, 2
lea ecx, [ecx + ecx*4]
mov dword [ebp - 0xc], ecx
jmp 0x4954b7
mov eax, dword [ebp - 8]
mov dl, byte [ebp + eax - 0x38]
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ebp - 0xc]
mov byte [ecx + eax], dl
inc dword [ebp - 8]
inc dword [ebp - 0xc]
cmp dword [ebp - 8], 0x14
jae 0x4954c5
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp + 0x20]
jb 0x4954a1
inc dword [ebp - 4]
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jb 0x4953bd
mov esp, ebp
pop ebp
ret

Function at 0x49acc0
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
mov ecx, dword [edi + 0x170]
mov edx, ebx
mov eax, edi
call fcn.0049af10
mov esi, eax
mov dword [edi + 0x170], esi
and esi, 0xff
add dword [edi + 0x174], esi
imul esi, dword [edi + 0x174], 0x8088405
inc esi
mov dword [edi + 0x174], esi
mov edx, esi
shr edx, 0x18
mov ecx, dword [edi + 0x178]
mov eax, edi
call fcn.0049af10
mov dword [edi + 0x178], eax
pop edi
pop esi
pop ebx
ret
Function at 0x49ad34
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [esi + 0x110]
cmp byte [eax + 0x4c], 0
jne 0x49ad67
mov edi, ecx
dec edi
test edi, edi
jl 0x49ad78
inc edi
mov eax, esi
call fcn.0049ad18
xor byte [ebx], al
mov dl, byte [ebx]
mov eax, esi
call fcn.0049acc0
inc ebx
dec edi
jne 0x49ad4f
jmp 0x49ad78
lea eax, [esi + 0x3bc]
push eax
push ecx
push ebx
call fcn.0049291c
add esp, 0xc
pop edi
pop esi
pop ebx
ret

Function at 0x49ae04
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov esi, ecx
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.00405240
xor eax, eax
push ebp
push 0x49ae79
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.0049ad7c
mov dword [ebp - 8], 0xc
lea esi, [ebp - 0x14]
mov eax, edi
call fcn.0049ad18
mov ebx, eax
xor bl, byte [esi]
mov edx, ebx
mov eax, edi
call fcn.0049acc0
mov byte [esi], bl
inc esi
dec dword [ebp - 8]
jne 0x49ae44
mov bl, byte [ebp - 9]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49ae80
lea eax, [ebp - 4]
call fcn.00404d90
ret
Function at 0x49bbc0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49bda9
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 0xffffffff
jle 0x49bd65
mov eax, dword [ebp - 4]
call fcn.0049d46c
cmp ebx, eax
jge 0x49bd65
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x118]
mov edx, ebx
call fcn.0048f68c
mov edx, dword [0x48fc88]
call fcn.0040413c
mov esi, eax
mov eax, esi
call fcn.00490ebc
test al, al
je 0x49bd5b
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov eax, dword [esi + 0x50]
call fcn.00405050
test eax, eax
jne 0x49bd4e
xor eax, eax
push ebp
push 0x49bd47
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0049c14c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
call fcn.0041d0c8
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
push dword [esi + 0x34]
push dword [esi + 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x18]
lea edx, [ebp - 0x46]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov ecx, 0x2e
mov esi, dword [eax]
call dword [esi + 0xc]
movzx eax, word [ebp - 0x2a]
movzx edx, word [ebp - 0x28]
add eax, edx
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x18]
movzx esi, word [ebp - 0x26]
mov eax, dword [ebp - 8]
mov edx, esi
call fcn.004053dc
mov eax, dword [ebp - 8]
call fcn.004052a8
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov ecx, esi
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x158]
mov al, byte [eax + 0x28]
mov byte [ebp - 9], al
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0049bf28
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x158]
mov dl, byte [ebp - 9]
mov byte [eax + 0x28], dl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49bd93
push dword [ebp - 0x14]
push dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, al
jne 0x49bd46
mov eax, dword [ebp - 4]
call fcn.0049c1d0
ret
mov eax, dword [ebp - 8]
mov edx, dword [esi + 0x50]
call fcn.00404de4
jmp 0x49bd93
mov eax, dword [ebp - 8]
call fcn.00404d90
jmp 0x49bd93
mov dword [ebp - 0x50], ebx
mov byte [ebp - 0x4c], 0
lea eax, [ebp - 0x50]
push eax
push 0
lea edx, [ebp - 0x54]
mov eax, 0xb3
call fcn.00409da0
mov ecx, dword [ebp - 0x54]
mov dl, 1
mov eax, dword [0x418560]
call fcn.0040de0c
call fcn.00404720
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49bdb0
lea eax, [ebp - 0x54]
call fcn.00404d90
ret
Function at 0x4ab324
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov ebx, ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00405240
xor eax, eax
push ebp
push 0x4ab420
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404d90
mov dl, 1
mov eax, dword [0x4667f4]
call fcn.00466960
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x4ab3fe
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.00466a3c
lea eax, [ebp - 8]
mov edx, 0x4ab438
call fcn.00404e28
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.00466aa4
test al, al
jne 0x4ab3a6
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.00466bc8
test al, al
je 0x4ab3b7
mov ecx, ebx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.00467004
cmp dword [ebx], 0
jne 0x4ab3e8
mov ecx, 0x4ab484
mov dl, 1
mov eax, dword [0x46685c]
call fcn.00467244
mov esi, eax
push 0
push ebx
mov ecx, dword [ebp - 4]
mov edx, 0x4ab4c0
mov eax, esi
call fcn.004672d8
mov eax, esi
call fcn.00403f80
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ab405
mov eax, dword [ebp - 0xc]
call fcn.00403f80
ret

Function at 0x4ab4d0
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xffffffe8
mov ebx, edx
lea eax, [esp + 4]
mov dword [esp], eax
push 0x14
mov eax, dword [esp + 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov edx, ebx
mov eax, dword [esp]
call fcn.0040a91c
add esp, 0x18
pop ebx
ret

Function at 0x4ab4f8
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xffffffe8
mov ebx, edx
lea eax, [esp + 4]
mov dword [esp], eax
push 0x14
mov eax, dword [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov edx, ebx
mov eax, dword [esp]
call fcn.0040a91c
add esp, 0x18
pop ebx
ret
Function at 0x4abc2c
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00405240
mov eax, dword [ebp - 8]
call fcn.00405240
xor eax, eax
push ebp
push 0x4abd83
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0xc]
mov edx, 0x4abd98
mov eax, ebx
call fcn.004ab324
cmp dword [ebp - 0xc], 0
jne 0x4abc88
lea ecx, [ebp - 0xc]
mov edx, 0x4abdb4
mov eax, ebx
call fcn.004ab324
lea eax, [ebp - 0xc]
mov edx, 0x4abdc8
call fcn.00405058
cmp dword [ebp - 4], 0
je 0x4abcb3
push dword [ebp - 0xc]
push 0x4abddc
push dword [ebp - 4]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405110
push dword [ebp - 0xc]
push 0x4abddc
push dword [ebp - 8]
push 0x4abde8
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00405110
mov eax, dword [ebp - 0x10]
call fcn.00409f38
test al, al
je 0x4abcff
push 0x64
mov eax, dword [ebp - 0x10]
call fcn.00405250
mov edx, eax
lea eax, [ebp - 0x18]
call fcn.00404f88
mov edx, dword [ebp - 0x18]
mov ecx, 0xa
mov eax, ebx
call fcn.004ad948
mov dl, 1
mov eax, dword [0x418ba4]
call fcn.00403f50
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x4abd59
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov eax, ebx
call fcn.004aae44
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jg 0x4abd43
mov eax, dword [ebp - 0xc]
call fcn.00405250
push eax
call sub.kernel32.dll_RemoveDirectoryA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4abd60
mov eax, dword [ebp - 0x14]
call fcn.00403f80
ret
Function at 0x4abea8
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff90
push ebx
mov byte [ebp - 5], cl
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00405240
xor eax, eax
push ebp
push 0x4abfa7
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x70]
xor ecx, ecx
mov edx, 0xc
call fcn.00403670
mov dword [ebp - 0x70], 0xc
mov dword [ebp - 0x68], 0xffffffff
xor eax, eax
mov dword [ebp - 0x6c], eax
push 0
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
call sub.kernel32.dll_CreatePipe
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
je 0x4abf91
lea eax, [ebp - 0x54]
xor ecx, ecx
mov edx, 0x44
call fcn.00403670
mov dword [ebp - 0x54], 0x44
cmp byte [ebp - 5], 0
je 0x4abf32
mov word [ebp - 0x24], 1
jmp 0x4abf38
mov word [ebp - 0x24], 0
mov dword [ebp - 0x28], 0x101
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
push 0xfffffffffffffff6
call sub.kernel32.dll_GetStdHandle_1
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x54]
push eax
push 0
push 0
push 0x10
push 0xffffffffffffffff
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00405250
push eax
push 0
call sub.kernel32.dll_CreateProcessA
cmp eax, 1
sbb ebx, ebx
inc ebx
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4abfae
lea eax, [ebp - 4]
call fcn.00404d90
ret

Function at 0x4abfb8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
mov ebx, ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00405240
xor eax, eax
push ebp
push 0x4ac0ad
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
call fcn.00405250
mov edx, eax
lea eax, [ebp - 0x209]
call fcn.0040a750
lea eax, [ebp - 0x250]
xor ecx, ecx
mov edx, 0x44
call fcn.00403670
mov dword [ebp - 0x250], 0x44
mov dword [ebp - 0x224], 1
test bl, bl
je 0x4ac02c
mov word [ebp - 0x220], 1
jmp 0x4ac035
mov word [ebp - 0x220], 0
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x250]
push eax
push 0
push 0
push 0x30
push 0xffffffffffffffff
push 0
push 0
lea eax, [ebp - 0x209]
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x4ac097
push 0xffffffffffffffff
mov eax, dword [ebp - 0x260]
push eax
call sub.kernel32.dll_WaitForSingleObject
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x260]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x260]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x25c]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ac0b4
lea eax, [ebp - 4]
call fcn.00404d90
ret