joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5ce4d8
Capabilities:
Check internet connectivity via wininet
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
test dl, dl
je 0x5ce607
mov eax, dword [ebp - 4]
cmp byte [eax + 0x39], 0
jne 0x5ce63e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
test eax, eax
je 0x5ce506
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x5ce511
mov ebx, 3
jmp 0x5ce513
xor ebx, ebx
push 0
call sub.wininet.dll_InternetAttemptConnect
test eax, eax
je 0x5ce523
call fcn.0040fe84
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
call fcn.0040592c
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
call fcn.0040592c
push eax
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
call fcn.0040592c
push eax
call sub.wininet.dll_InternetOpenA
mov esi, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x70], esi
test esi, esi
setne dl
xor dl, 1
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.005cdfb8
xor eax, eax
push ebp
push 0x5ce5e2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
push eax
push 0
push 3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.0040592c
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
call fcn.0040592c
push eax
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x60]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
call fcn.0040592c
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x70]
push eax
call sub.wininet.dll_InternetConnectA
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x74], ebx
test ebx, ebx
setne dl
xor dl, 1
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.005cdfb8
mov eax, dword [ebp - 4]
mov byte [eax + 0x39], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5ce63e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x74]
test eax, eax
je 0x5ce617
push eax
call sub.wininet.dll_InternetCloseHandle
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x74], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x70]
test eax, eax
je 0x5ce62f
push eax
call sub.wininet.dll_InternetCloseHandle
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x70], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0x39], 0
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x5ebfa8
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 0x5ec119
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 0x5ec0f4
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.00405650
lea eax, [ebp - 0x118]
mov edx, 0x5ec130
call fcn.00405734
mov eax, dword [ebp - 0x118]
call fcn.0040592c
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x5ec066
lea eax, [ebp - 0x111]
call fcn.0040c070
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.00405558
jmp 0x5ec06d
mov eax, esi
call fcn.00405468
cmp bl, 0x61
jae 0x5ec08e
lea edx, [ebp - 0x11c]
mov eax, dword [esi]
call fcn.00410d40
mov edx, dword [ebp - 0x11c]
mov eax, esi
call fcn.004054bc
jmp 0x5ec0a8
lea edx, [ebp - 0x120]
mov eax, dword [esi]
call fcn.00410cac
mov edx, dword [ebp - 0x120]
mov eax, esi
call fcn.004054bc
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, 0x5ec13c
call fcn.0040c7e4
mov edx, dword [ebp - 0x124]
mov eax, esi
call fcn.004054bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ec0fb
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x5f2f24
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040591c
xor eax, eax
push ebp
push 0x5f2f87
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea eax, [ebp - 4]
call fcn.005f30b4
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
je 0x5f2f6d
lea eax, [ebp - 4]
call fcn.005f30b4
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 5
jne 0x5f2f71
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f2f8e
lea eax, [ebp - 4]
call fcn.00405468
ret

Function at 0x5f2f98
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040591c
xor eax, eax
push ebp
push 0x5f2ffd
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0xe
lea eax, [ebp - 0x1e]
push eax
lea eax, [ebp - 4]
call fcn.005f30b4
push eax
call sub.kernel32.dll_GetVolumeInformationA
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x1e]
call fcn.0040c2f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f3004
lea eax, [ebp - 4]
call fcn.00405468
ret
Function at 0x5f3008
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040591c
xor eax, eax
push ebp
push 0x5f306d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x108]
push eax
push 0
push 0x5f3078
lea eax, [ebp - 4]
call fcn.005f30b4
push eax
call sub.kernel32.dll_GetTempFileNameA
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x108]
call fcn.005f2db4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f3074
lea eax, [ebp - 4]
call fcn.00405468
ret

Function at 0x5f3ba8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
call fcn.0040591c
xor eax, eax
push ebp
push 0x5f3d0f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov ax, word [eax + 4]
mov edx, dword [ebp - 4]
mov word [edx + 4], ax
mov eax, dword [ebp - 8]
mov ax, word [eax + 6]
mov edx, dword [ebp - 4]
mov word [edx + 6], ax
mov eax, dword [ebp - 8]
mov ax, word [eax + 8]
mov edx, dword [ebp - 4]
mov word [edx + 8], ax
mov eax, dword [ebp - 8]
mov ax, word [eax + 0xa]
mov edx, dword [ebp - 4]
mov word [edx + 0xa], ax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
call fcn.005f2710
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 8]
mov ax, word [eax + 0x1c]
mov edx, dword [ebp - 4]
mov word [edx + 0x1c], ax
mov eax, dword [ebp - 8]
mov ax, word [eax + 0x1e]
mov edx, dword [ebp - 4]
mov word [edx + 0x1e], ax
mov eax, dword [ebp - 8]
mov ax, word [eax + 0x20]
mov edx, dword [ebp - 4]
mov word [edx + 0x22], ax
mov eax, dword [ebp - 8]
mov ax, word [eax + 0x22]
mov edx, dword [ebp - 4]
mov word [edx + 0x24], ax
mov eax, dword [ebp - 8]
mov ax, word [eax + 0x24]
mov edx, dword [ebp - 4]
mov word [edx + 0x26], ax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x26]
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x2a]
mov edx, dword [ebp - 4]
mov dword [edx + 0x2c], eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.0040bdb8
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.005f4fa8
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.0040bc78
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.005f5050
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x44], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0x48], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x4a], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f3d16
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.0040548c
ret
Function at 0x5f3d1c
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
call fcn.0040591c
xor eax, eax
push ebp
push 0x5f3e83
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov word [eax + 4], 0
mov eax, dword [ebp - 8]
mov ax, word [eax + 4]
mov edx, dword [ebp - 4]
mov word [edx + 6], ax
mov eax, dword [ebp - 8]
mov ax, word [eax + 6]
mov edx, dword [ebp - 4]
mov word [edx + 8], ax
mov eax, dword [ebp - 8]
mov ax, word [eax + 8]
mov edx, dword [ebp - 4]
mov word [edx + 0xa], ax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xa]
call fcn.005f2710
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xe]
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x12]
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x16]
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 8]
mov ax, word [eax + 0x1a]
mov edx, dword [ebp - 4]
mov word [edx + 0x1c], ax
mov eax, dword [ebp - 8]
mov ax, word [eax + 0x1c]
mov edx, dword [ebp - 4]
mov word [edx + 0x20], ax
mov eax, dword [ebp - 4]
mov word [eax + 0x22], 0
mov eax, dword [ebp - 4]
mov word [eax + 0x24], 0
mov eax, dword [ebp - 4]
mov word [eax + 0x26], 0
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x28], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x2c], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0
cmp dword [ebp - 0xc], 0
je 0x5f3e3e
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.0040bdb8
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.005f4fa8
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.0040bc78
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.005f5050
jmp 0x5f3e52
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.005f4fa8
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.005f5050
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x44], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0x48], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x4a], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f3e8a
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.0040548c
ret
Function at 0x5fc1d0
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x170]
mov dl, byte [ebp - 5]
mov eax, dword [ebp - 4]
call fcn.005fc4ac
mov edx, dword [ebp - 4]
mov dword [edx + 0x170], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x170]
and eax, 0xff
mov edx, dword [ebp - 4]
add dword [edx + 0x174], eax
mov eax, dword [ebp - 4]
imul eax, dword [eax + 0x174], 0x8088405
inc eax
mov edx, dword [ebp - 4]
mov dword [edx + 0x174], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x174]
shr edx, 0x18
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x178]
mov eax, dword [ebp - 4]
call fcn.005fc4ac
mov edx, dword [ebp - 4]
mov dword [edx + 0x178], eax
pop ecx
pop ecx
pop ebp
ret

Function at 0x5fc28c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x5fc2d3
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 4]
call fcn.005fc254
mov edx, dword [ebp - 8]
xor byte [edx], al
mov eax, dword [ebp - 8]
mov dl, byte [eax]
mov eax, dword [ebp - 4]
call fcn.005fc1d0
inc dword [ebp - 8]
inc dword [ebp - 0x10]
dec dword [ebp - 0x14]
jne 0x5fc2ae
mov esp, ebp
pop ebp
ret

Function at 0x5fc384
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push esi
push edi
mov esi, ecx
lea edi, [ebp - 0x1d]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.0040591c
xor eax, eax
push ebp
push 0x5fc40c
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.005fc2d8
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
call fcn.005fc254
mov edx, dword [ebp - 0x10]
xor al, byte [ebp + edx - 0x1d]
mov byte [ebp - 0x11], al
mov dl, byte [ebp - 0x11]
mov eax, dword [ebp - 4]
call fcn.005fc1d0
mov eax, dword [ebp - 0x10]
mov dl, byte [ebp - 0x11]
mov byte [ebp + eax - 0x1d], dl
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0xc
jne 0x5fc3c0
mov al, byte [ebp - 0x12]
mov byte [ebp - 9], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5fc413
lea eax, [ebp - 8]
call fcn.00405468
ret
Function at 0x5fd4b8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
xor ebx, ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5fd6b2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0xffffffff
jle 0x5fd66b
mov eax, dword [ebp - 4]
call fcn.005ff538
cmp eax, dword [ebp - 8]
jle 0x5fd66b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x118]
mov edx, dword [ebp - 8]
call fcn.005effec
mov edx, dword [0x5f34d4]
call fcn.00404618
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
call fcn.005f4e8c
test al, al
je 0x5fd661
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x44], 0
jne 0x5fd651
xor eax, eax
push ebp
push 0x5fd64a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.005fdf50
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
call fcn.00425300
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x10]
push dword [eax + 0x34]
push dword [eax + 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 - 0x4e]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov ecx, 0x2e
mov ebx, dword [eax]
call dword [ebx + 0xc]
movzx eax, word [ebp - 0x32]
movzx edx, word [ebp - 0x30]
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 eax, word [ebp - 0x2e]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
call fcn.00405bb4
mov eax, dword [ebp - 0xc]
call fcn.00405984
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov ecx, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x158]
mov al, byte [eax + 0x28]
mov byte [ebp - 0x15], al
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.005fda98
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x158]
mov dl, byte [ebp - 0x15]
mov byte [eax + 0x28], dl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5fd69c
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
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 0x5fd649
mov eax, dword [ebp - 4]
call fcn.005fdffc
ret
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x44]
call fcn.0040c2f4
jmp 0x5fd69c
mov eax, dword [ebp - 0xc]
call fcn.00405468
jmp 0x5fd69c
mov eax, dword [ebp - 8]
mov dword [ebp - 0x58], eax
mov byte [ebp - 0x54], 0
lea eax, [ebp - 0x58]
push eax
push 0
lea edx, [ebp - 0x5c]
mov eax, 0xb3
call fcn.0040b690
mov ecx, dword [ebp - 0x5c]
mov dl, 1
mov eax, dword [0x41ea9c]
call fcn.0040fee0
call fcn.00404de0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5fd6b9
lea eax, [ebp - 0x5c]
call fcn.00405468
ret
Function at 0x610c2c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x268], 0
jne 0x610dd3
mov eax, dword [ebp - 4]
cmp word [eax + 0x272], 0
je 0x610c65
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x274]
call dword [ebx + 0x270]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0xe8]
lea ecx, [ebp - 0x30]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x44]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
call fcn.0042035c
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00465668
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
add dword [ebp - 8], eax
mov eax, dword [ebp - 4]
call fcn.00610dd8
mov edx, dword [ebp - 4]
imul dword [edx + 0x264]
add eax, 7
add eax, 0x13
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x298], 0
jle 0x610cd2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x298]
mov dword [ebp - 0x10], eax
jmp 0x610cdb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x28]
lea eax, [ebp - 0xc]
call fcn.0060fac0
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x28]
jge 0x610cf4
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x20]
jle 0x610d0b
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x20]
sub dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x24]
jge 0x610d19
mov eax, dword [ebp - 0x24]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x1c]
jle 0x610d30
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
add eax, dword [ebp - 0x14]
sub dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2a4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0x88]
mov eax, dword [ebp - 4]
mov byte [eax + 0x268], 1
push 0x37
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2a4]
call fcn.0046d96c
push eax
call sub.user32.dll_SetWindowPos
push 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2a4]
call fcn.0046d96c
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2a4]
call fcn.0046d96c
push eax
call sub.user32.dll_SetFocus
push 0
push 1
push 0x86
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.0060fd00
call fcn.0046d96c
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x84]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x6134c8
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
mov dword [ebp - 4], eax
call fcn.00613348
test al, al
je 0x6134f9
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 4]
call fcn.0061345c
test al, al
jne 0x6134ee
call fcn.004117b4
mov eax, dword [ebp - 0x40]
imul dword [ebp - 0x3c]
mov dword [ebp - 8], eax
jmp 0x613529
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040592c
push eax
call sub.kernel32.dll_GetDiskFreeSpaceA
test eax, eax
jne 0x613520
call fcn.004117b4
mov eax, dword [ebp - 0xc]
imul dword [ebp - 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x615e5c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x615f4a
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x615f1c
inc eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
cmp word [eax + 0x20a], 0
je 0x615ee0
mov byte [ebp - 5], 0
lea eax, [ebp - 5]
push eax
lea ecx, [ebp - 0x18]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov edx, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp + 8]
mov ebx, dword [eax - 4]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 4]
mov eax, dword [ebx + 0x20c]
call dword [ebx + 0x208]
cmp byte [ebp - 5], 0
jne 0x615f14
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov edx, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
call fcn.0040592c
push eax
call sub.kernel32.dll_DeleteFileA_1
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x11], al
inc dword [ebp - 4]
dec dword [ebp - 0xc]
jne 0x615e9c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
call fcn.00404460
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 0x615f51
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.0040548c
ret