joyce8/EMBER2024-capa huggingface dataset:
Function at 0x484a54
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x4083c8]
call fcn.00405cbc
xor eax, eax
push ebp
push 0x484bf5
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4e7dd8], 0
jne 0x484aaf
mov ecx, dword [0x4eceb4]
mov dl, 1
mov eax, dword [0x408a30]
call fcn.0040ea1c
call fcn.00404bb0
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x10
call fcn.00403b98
mov eax, ebx
call fcn.00405b6c
mov dword [ebp - 0x24], eax
mov esi, 0x484c04
lea edi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x38]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.00406e54
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.00405b7c
test eax, eax
jle 0x484b98
mov dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x48]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x484b84
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.0040548c
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x484b2a
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x50]
mov edx, ebx
call fcn.004054a4
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x484b40
sub esi, 4
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x54]
mov edx, ebx
call fcn.004054a4
mov eax, dword [ebp - 0x54]
call fcn.004056ac
push eax
push edi
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.0040548c
mov eax, dword [ebp - 0x58]
call fcn.004056ac
push eax
push 1
push 0x400
call sub.kernel32.dll_CompareStringA_1
sub eax, 2
test eax, eax
sete al
jmp 0x484b86
xor eax, eax
test al, al
je 0x484b91
mov ebx, 0x15
jmp 0x484b9d
mov ebx, 0x10
jmp 0x484b9d
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
push ebx
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [0x4e7dd8]
call fcn.004848d4
mov eax, dword [ebp - 4]
call fcn.004848d4
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.00406e6c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x484bfc
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.00405240
lea eax, [ebp - 0xc]
mov edx, dword [0x4083c8]
call fcn.00405d8c
ret
Function at 0x48eaec
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x48ec5d
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 0x48ec38
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x111], 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x105
lea eax, [ebp - 0x111]
push eax
lea eax, [ebp - 0x118]
mov edx, ebx
call fcn.00405404
lea eax, [ebp - 0x118]
mov edx, 0x48ec74
call fcn.004054e8
mov eax, dword [ebp - 0x118]
call fcn.004056ac
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x48ebaa
lea eax, [ebp - 0x111]
call fcn.0040af88
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.0040530c
jmp 0x48ebb1
mov eax, esi
call fcn.0040521c
cmp bl, 0x61
jae 0x48ebd2
lea edx, [ebp - 0x11c]
mov eax, dword [esi]
call fcn.0040f860
mov edx, dword [ebp - 0x11c]
mov eax, esi
call fcn.00405270
jmp 0x48ebec
lea edx, [ebp - 0x120]
mov eax, dword [esi]
call fcn.0040f7cc
mov edx, dword [ebp - 0x120]
mov eax, esi
call fcn.00405270
lea eax, [ebp - 0x124]
push eax
mov eax, dword [esi]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x128], 0xb
lea edx, [ebp - 0x12c]
xor ecx, ecx
mov eax, 0x48ec80
call fcn.0040ba70
mov edx, dword [ebp - 0x124]
mov eax, esi
call fcn.00405270
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48ec3f
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x4951c4
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040569c
xor eax, eax
push ebp
push 0x495222
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 4]
call fcn.00495344
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
je 0x49520a
lea eax, [ebp - 4]
call fcn.00495344
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 5
jne 0x49520c
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x495229
lea eax, [ebp - 4]
call fcn.0040521c
ret

Function at 0x495230
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.0040569c
xor eax, eax
push ebp
push 0x495294
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
lea eax, [ebp - 4]
call fcn.00495344
push eax
call sub.kernel32.dll_GetVolumeInformationA
mov edx, ebx
lea eax, [ebp - 0x1a]
call fcn.0040b1e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49529b
lea eax, [ebp - 4]
call fcn.0040521c
ret
Function at 0x4952a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040569c
xor eax, eax
push ebp
push 0x495304
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x104]
push eax
push 0
push 0x495310
lea eax, [ebp - 4]
call fcn.00495344
push eax
call sub.kernel32.dll_GetTempFileNameA
mov edx, ebx
lea eax, [ebp - 0x104]
call fcn.00495084
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49530b
lea eax, [ebp - 4]
call fcn.0040521c
ret

Function at 0x495c78
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.0040569c
xor eax, eax
push ebp
push 0x495d71
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, word [esi + 4]
mov word [ebx + 4], ax
movzx eax, word [esi + 6]
mov word [ebx + 6], ax
movzx eax, word [esi + 8]
mov word [ebx + 8], ax
movzx eax, word [esi + 0xa]
mov word [ebx + 0xa], ax
mov eax, dword [esi + 0xc]
call fcn.00494a80
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
movzx eax, word [esi + 0x1c]
mov word [ebx + 0x1c], ax
movzx eax, word [esi + 0x1e]
mov word [ebx + 0x1e], ax
movzx eax, word [esi + 0x20]
mov word [ebx + 0x22], ax
movzx eax, word [esi + 0x22]
mov word [ebx + 0x24], ax
movzx eax, 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.0040acc4
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00496ed4
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0040ab84
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.00496f4c
xor eax, eax
mov dword [ebx + 0x44], eax
mov byte [ebx + 0x48], 0
mov byte [ebx + 0x4a], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x495d78
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405240
ret
Function at 0x495d80
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.0040569c
xor eax, eax
push ebp
push 0x495e89
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebx + 4], 0
movzx eax, word [esi + 4]
mov word [ebx + 6], ax
movzx eax, word [esi + 6]
mov word [ebx + 8], ax
movzx eax, word [esi + 8]
mov word [ebx + 0xa], ax
mov eax, dword [esi + 0xa]
call fcn.00494a80
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
movzx eax, word [esi + 0x1a]
mov word [ebx + 0x1c], ax
movzx eax, 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 0x495e4f
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0040acc4
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00496ed4
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0040ab84
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.00496f4c
jmp 0x495e61
xor edx, edx
mov eax, ebx
call fcn.00496ed4
xor edx, edx
mov eax, ebx
call fcn.00496f4c
xor eax, eax
mov dword [ebx + 0x44], eax
mov byte [ebx + 0x48], 0
mov byte [ebx + 0x4a], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x495e90
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405240
ret

Function at 0x49d3e4
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.0049d620
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.0049d620
mov dword [edi + 0x178], eax
pop edi
pop esi
pop ebx
ret

Function at 0x49d458
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
mov esi, ecx
dec esi
test esi, esi
jl 0x49d47e
inc esi
mov eax, edi
call fcn.0049d43c
xor byte [ebx], al
movzx edx, byte [ebx]
mov eax, edi
call fcn.0049d3e4
inc ebx
dec esi
jne 0x49d467
pop edi
pop esi
pop ebx
ret
Function at 0x49d514
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.0040569c
xor eax, eax
push ebp
push 0x49d58a
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.0049d484
mov dword [ebp - 8], 0xc
lea esi, [ebp - 0x14]
mov eax, edi
call fcn.0049d43c
mov ebx, eax
xor bl, byte [esi]
mov edx, ebx
mov eax, edi
call fcn.0049d3e4
mov byte [esi], bl
inc esi
dec dword [ebp - 8]
jne 0x49d554
movzx ebx, byte [ebp - 9]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49d591
lea eax, [ebp - 4]
call fcn.0040521c
ret
Function at 0x49e2fc
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
push esi
push edi
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 0x49e4e2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 0xffffffff
jle 0x49e49e
mov eax, dword [ebp - 4]
call fcn.0049fcb0
cmp ebx, eax
jge 0x49e49e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x118]
mov edx, ebx
call fcn.00492a1c
mov edx, dword [0x495718]
call fcn.004044ac
mov esi, eax
mov eax, esi
call fcn.00496e40
test al, al
je 0x49e494
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov edi, dword [esi + 0x44]
test edi, edi
jne 0x49e488
xor eax, eax
push ebp
push 0x49e481
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0049e8b8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
call fcn.0041e934
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.0040593c
mov eax, dword [ebp - 8]
call fcn.0040570c
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]
movzx eax, 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.0049e678
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x158]
movzx edx, byte [ebp - 9]
mov byte [eax + 0x28], dl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49e4cc
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 0x49e480
mov eax, dword [ebp - 4]
call fcn.0049e93c
ret
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.0040b1e4
jmp 0x49e4cc
mov eax, dword [ebp - 8]
call fcn.0040521c
jmp 0x49e4cc
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.0040a50c
mov ecx, dword [ebp - 0x54]
mov dl, 1
mov eax, dword [0x4192d4]
call fcn.0040e99c
call fcn.00404bb0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49e4e9
lea eax, [ebp - 0x54]
call fcn.0040521c
ret
Function at 0x4a20f4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x2c]
mov edi, dword [ebx + 0x3c]
sub edi, dword [ebx + 0x74]
sub edi, dword [ebx + 0x6c]
jmp 0x4a2121
mov eax, dword [ebx + 0x2c]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x6c]
ja 0x4a21a0
push esi
mov eax, dword [ebx + 0x38]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.00499164
add esp, 0xc
sub dword [ebx + 0x70], esi
sub dword [ebx + 0x6c], esi
sub dword [ebx + 0x5c], ebp
mov eax, dword [ebx + 0x4c]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x44]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x4a216e
mov cx, word [esp]
sub cx, si
jmp 0x4a2170
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x4a2157
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x40]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x4a2196
mov cx, word [esp]
sub cx, si
jmp 0x4a2198
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x4a217f
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x4a21fd
mov edx, dword [ebx + 0x38]
mov ecx, edi
add edx, dword [ebx + 0x6c]
mov eax, ebp
add edx, dword [ebx + 0x74]
call fcn.004a1dc8
add dword [ebx + 0x74], eax
cmp dword [ebx + 0x74], 3
jb 0x4a21e8
mov eax, dword [ebx + 0x38]
mov edx, dword [ebx + 0x6c]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x48], eax
mov ecx, dword [ebx + 0x58]
shl eax, cl
mov edx, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x6c]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x54]
mov dword [ebx + 0x48], eax
cmp dword [ebx + 0x74], 0x106
jae 0x4a21fd
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x4a20fe
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4a6e78
Capabilities:
Get disk size

Disassembly:
push ebx
add esp, 0xffffffc4
mov ebx, eax
call fcn.004a6d20
test al, al
je 0x4a6ea5
lea edx, [esp + 0x10]
mov eax, ebx
call fcn.004a6e18
test al, al
jne 0x4a6e9b
call fcn.0041023c
mov eax, dword [esp + 0x14]
imul dword [esp + 0x18]
jmp 0x4a6ed6
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0xc]
push eax
mov eax, ebx
call fcn.004056ac
push eax
call sub.kernel32.dll_GetDiskFreeSpaceA
test eax, eax
jne 0x4a6ecf
call fcn.0041023c
mov eax, dword [esp]
imul dword [esp + 4]
add esp, 0x3c
pop ebx
ret
Function at 0x4a9490
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4a956d
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x4a953f
inc ebx
xor esi, esi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
cmp word [eax + 0x20a], 0
je 0x4a950b
mov byte [ebp - 1], 0
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov edi, dword [eax - 4]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 4]
mov eax, dword [edi + 0x20c]
call dword [edi + 0x208]
cmp byte [ebp - 1], 0
jne 0x4a953b
lea ecx, [ebp - 0xc]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov edi, dword [ebp - 0xc]
mov dword [ebp - 0x10], edi
mov eax, dword [ebp - 0x10]
call fcn.004056ac
push eax
call sub.kernel32.dll_DeleteFileA_1
cmp eax, 1
sbb eax, eax
inc eax
inc esi
dec ebx
jne 0x4a94c8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
call fcn.004042fc
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax - 0xc], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a9574
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00405240
ret
Function at 0x4ab078
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4ab22e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x1d8]
movzx eax, byte [eax + 0x21]
test al, al
je 0x4ab213
cmp al, 1
jne 0x4ab15e
mov eax, dword [ebx + 0x284]
call fcn.004042fc
xor eax, eax
mov dword [ebx + 0x284], eax
mov eax, ebx
call fcn.004aafa0
lea ecx, [ebx + 0x2a8]
mov edx, dword [ebx + 0x12c]
add edx, 2
mov eax, ebx
call fcn.0049fd6c
cmp dword [ebx + 0x2a8], 0
jne 0x4ab104
lea edx, [ebp - 8]
mov eax, 0xbb
call fcn.0040a50c
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x4980f8]
call fcn.0040e960
call fcn.00404bb0
inc dword [ebx + 0x12c]
mov eax, dword [ebx + 0x2a8]
call fcn.0040a730
test al, al
je 0x4ab12a
mov eax, dword [ebx + 0x2a8]
call fcn.004056ac
push eax
call sub.kernel32.dll_DeleteFileA_1
cmp word [ebx + 0x232], 0
je 0x4ab149
mov ecx, dword [ebx + 0x12c]
inc ecx
mov edx, ebx
mov eax, dword [ebx + 0x234]
call dword [ebx + 0x230]
mov eax, ebx
call fcn.004aaedc
mov dword [ebx + 0x260], eax
mov dword [ebx + 0x264], edx
jmp 0x4ab1c6
mov eax, dword [ebx + 0x284]
call fcn.004042fc
xor eax, eax
mov dword [ebx + 0x284], eax
lea eax, [ebp - 4]
mov edx, dword [ebx + 0x2a8]
call fcn.004052b4
lea eax, [ebx + 0x2a8]
mov edx, dword [ebx + 0x1a8]
call fcn.00405270
push 1
mov ecx, dword [ebx + 0x12c]
add ecx, 2
lea edx, [ebx + 0x2a8]
mov eax, ebx
call fcn.0049fefc
inc dword [ebx + 0x12c]
mov eax, dword [ebx + 0x1d8]
mov edx, dword [eax + 8]
mov dword [ebx + 0x260], edx
mov edx, dword [eax + 0xc]
mov dword [ebx + 0x264], edx
push 0xffff
movzx eax, byte [ebx + 0x105]
push eax
mov eax, dword [ebx + 0x108]
push eax
mov ecx, dword [ebx + 0x2a8]
mov dl, 1
mov eax, dword [0x493cbc]
call fcn.00493e34
mov dword [ebx + 0x284], eax
mov dword [ebx + 0x258], 0
mov dword [ebx + 0x25c], 0
xor edx, edx
mov eax, dword [ebx + 0x2a0]
call fcn.004976a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ab235
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405240
ret
Function at 0x4acf48
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
add esp, 0xfffffed0
mov esi, edx
mov ebx, eax
cmp dword [ebx + 0x1e0], 0
je 0x4acf6c
mov eax, dword [ebx + 0x1e0]
call fcn.00494cfc
test al, al
jne 0x4acf82
push esp
push 0x12d
call sub.kernel32.dll_GetTempPathA
mov edx, esi
mov eax, esp
call fcn.00495084
jmp 0x4acf8f
mov eax, esi
mov edx, dword [ebx + 0x1e0]
call fcn.00405270
add esp, 0x130
pop esi
pop ebx
ret

Function at 0x4ca848
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x4ca8a2
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.004ca838
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.004c8490
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.004c7fa8
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ca8a9
lea eax, [ebp - 4]
call fcn.0040521c
ret
Function at 0x4df8e0
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef4
mov ebx, eax
push esp
push 5
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov eax, ebx
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.0040548c
add esp, 0x10c
pop ebx
ret

Function at 0x4dfb30
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebx
add esp, 0xfffffef4
mov ebx, eax
push esp
push 0x26
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov edx, ebx
lea eax, [esp + 4]
call fcn.0040b1e4
add esp, 0x10c
pop ebx
ret
Function at 0x4e134c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4e14bb
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x11], 0
lea eax, [ebp - 4]
mov edx, 0x4e14d8
call fcn.004052b4
lea eax, [ebp - 8]
mov ecx, 0x4e14e8
mov edx, dword [0x4f4158]
call fcn.00405534
mov eax, dword [ebp - 8]
call fcn.0040a754
test al, al
jne 0x4e13a5
mov eax, dword [ebp - 8]
call fcn.0040a778
xor eax, eax
push ebp
push 0x4e141b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x4e14f8
mov eax, dword [ebp - 0x10]
call fcn.004e10f8
push dword [ebp - 8]
push 0x4e1530
push dword [ebp - 4]
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.004055b0
mov ecx, dword [ebp - 0x1c]
mov dl, 1
mov eax, dword [0x428b20]
call fcn.00428bd8
mov dword [ebp - 0x18], eax
push 0
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [0x4f4154]
mov edx, 0x4e153c
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx]
lea eax, [ebp - 0x18]
call fcn.00410730
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e1425
push dword [ebp - 8]
push 0x4e1530
push dword [ebp - 4]
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.004055b0
mov eax, dword [ebp - 0x20]
call fcn.004056ac
push eax
call sub.kernel32.dll_DeleteFileA_1
mov eax, dword [ebp - 8]
call fcn.0040af70
cmp dword [ebp - 0xc], 0
je 0x4e148c
xor eax, eax
push ebp
push 0x4e1480
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
call fcn.004e12ac
mov byte [ebp - 0x11], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e1493
mov byte [0x4ece50], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e14c2
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00405240
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405240
ret