joyce8/EMBER2024-capa huggingface dataset:
Function at 0x444d60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x444d77
add esp, 0xfffffff0
call fcn.00404974
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041ffc4
mov eax, dword [0x494a5c]
cmp word [eax + 2], 0
jne 0x444d9f
mov eax, dword [0x494a5c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004467a4
mov eax, dword [0x494b3c]
cmp word [eax + 2], 0
jne 0x444db9
mov eax, dword [0x494b3c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004469b0
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x417410]
call fcn.00404620
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x417410]
call fcn.00404620
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x417410]
call fcn.00404620
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x4237e4]
call fcn.0042aec8
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x444f70
mov eax, dword [0x494950]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_GetLocalTime
mov edx, eax
mov eax, esi
call fcn.0042b29c
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x447074
push 0x100
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x494950]
mov eax, dword [eax]
push eax
call fcn.00407b00
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.KERNEL32.DLL_GetTempPathA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040ea38
test eax, eax
je 0x444ec0
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040a8bc
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040ea6c
test eax, eax
je 0x444ed4
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call fcn.00407fa8
push eax
call fcn.00407f80
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, 0x100
call fcn.004057a0
mov byte [ebx + 0xd4], 0
push ebx
push 0x446488
call fcn.00421140
mov dword [ebx + 0xc8], eax
mov eax, dword [0x4947e8]
cmp byte [eax], 0
jne 0x444f25
mov eax, ebx
call fcn.004450b4
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.0044724c
mov eax, ebx
call fcn.00447db0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x444f65
call fcn.004049cc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4450b4
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
xor edx, edx
mov dword [ebp - 0x2c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x445250
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebx + 0xac], 0
jne 0x44523a
mov eax, dword [0x494ba0]
cmp byte [eax], 0
jne 0x44523a
push ebx
push fcn.004458cc
call fcn.00421084
mov dword [ebx + 0x40], eax
mov eax, fcn.00408000
mov dword [fcn.00408000], eax
lea eax, [ebp - 0x28]
push eax
mov eax, dword [0x492620]
push eax
mov eax, dword [0x4977f8]
push eax
call fcn.00408100
test eax, eax
jne 0x445156
mov eax, dword [0x4977f8]
mov dword [0x49260c], eax
push 0x4925fc
call sub.KERNEL32.DLL_GlobalAddAtomA
test ax, ax
jne 0x445156
lea edx, [ebp - 0x2c]
mov eax, dword [0x494874]
call fcn.00407550
mov ecx, dword [ebp - 0x2c]
mov dl, 1
mov eax, dword [0x417354]
call fcn.0040dafc
call fcn.00404ec4
push 0x84ca0000
push 0
mov eax, dword [0x494970]
mov eax, dword [eax]
call eax
sar eax, 1
jns 0x44516d
adc eax, 0
push eax
push 1
mov eax, dword [0x494970]
mov eax, dword [eax]
call eax
sar eax, 1
jns 0x445180
adc eax, 0
push eax
push 0
push 0
push 0
push 0
mov eax, dword [0x4977f8]
push eax
push 0
mov eax, dword [ebx + 0x8c]
call fcn.004059dc
mov ecx, eax
mov edx, dword [0x492620]
mov eax, 0x8000000
call fcn.0040857c
mov dword [ebx + 0x30], eax
mov byte [ebx + 0xac], 1
mov eax, dword [ebx + 0x40]
push eax
push 0xfffffffffffffffc
mov eax, dword [ebx + 0x30]
push eax
call sub.KERNEL32.DLL_SetEndOfFile
mov eax, dword [0x494a10]
cmp byte [eax], 0
je 0x4451fc
mov eax, ebx
call fcn.00445f74
push eax
push 1
push 0x80
mov eax, dword [ebx + 0x30]
push eax
call sub.KERNEL32.DLL_HeapFree
mov eax, ebx
call fcn.00445f74
push eax
push 0xfffffffffffffff2
mov eax, dword [ebx + 0x30]
push eax
call sub.KERNEL32.DLL_LoadLibraryA
push 0
mov eax, dword [ebx + 0x30]
push eax
call sub.KERNEL32.DLL_FileTimeToDosDateTime
mov ebx, eax
push 0
push 0xf030
push ebx
call fcn.00408008
push 0
push 0xf000
push ebx
call fcn.00408008
mov eax, dword [0x494a10]
cmp byte [eax], 0
je 0x44523a
push 0
push 0xf010
push ebx
call fcn.00408008
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x445257
lea eax, [ebp - 0x2c]
call fcn.00405530
ret
Function at 0x445334
Capabilities:
Create thread
Set file attributes

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x4453d3
cmp dword [ebx + 0x94], 0
jne 0x4453cd
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4452bc
call fcn.004080b8
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4453cd
push 3
mov eax, dword [esp + 4]
push eax
call sub.KERNEL32.DLL_CreateThread
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.KERNEL32.DLL_FindFirstFileA
test al, 8
je 0x445393
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4453cd
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00419898
push eax
call sub.KERNEL32.DLL_SetFileAttributesA
dec esi
cmp esi, 0xffffffff
jne 0x4453a2
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x445490
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
mov ebx, eax
cmp dword [ebx + 0x30], 0
je 0x4454f4
cmp dword [ebx + 0x94], 0
jle 0x4454f4
dec dword [ebx + 0x94]
cmp dword [ebx + 0x94], 0
jne 0x4454f4
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4454e9
push 0x213
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00419898
push eax
call sub.KERNEL32.DLL_SetFileAttributesA
dec esi
cmp esi, 0xffffffff
jne 0x4454c1
mov eax, dword [ebx + 0x90]
mov edx, dword [eax]
call dword [edx + 8]
pop esi
pop ebx
ret
Function at 0x445f90
Capabilities:
Set file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 0x30]
call fcn.0043b75c
test eax, eax
jne 0x44606c
mov byte [0x499c2c], 1
mov eax, ebx
call fcn.00445430
mov eax, dword [ebx + 0x30]
push eax
call sub.KERNEL32.DLL_IsBadReadPtr
xor edx, edx
mov eax, ebx
call fcn.004455ec
cmp dword [ebx + 0x44], 0
je 0x446047
cmp byte [ebx + 0x5b], 0
jne 0x445fd8
mov eax, dword [ebx + 0x44]
cmp byte [eax + 0x57], 0
je 0x446047
mov eax, dword [ebx + 0x44]
call fcn.004585f8
push eax
call sub.KERNEL32.DLL_GetExitCodeProcess
test eax, eax
je 0x446047
mov eax, ebx
call fcn.0044821c
test al, al
je 0x446001
mov dl, 1
mov eax, dword [ebx + 0x44]
call fcn.0043fdb4
jmp 0x446054
push pe_nt_image_headers32
push 0
mov eax, dword [ebx + 0x44]
mov eax, dword [eax + 0x48]
push eax
mov eax, dword [ebx + 0x44]
call fcn.0043dfbc
push eax
mov eax, dword [ebx + 0x44]
call fcn.0043df9c
push eax
mov eax, dword [ebx + 0x44]
call fcn.004585f8
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.KERNEL32.DLL_SetFileAttributesA
push 0
push 0xf020
push 0x112
mov eax, dword [ebx + 0x30]
push eax
call fcn.00408000
jmp 0x446054
mov edx, 6
mov eax, dword [ebx + 0x30]
call fcn.00444c44
cmp word [ebx + 0x142], 0
je 0x44606c
mov edx, ebx
mov eax, dword [ebx + 0x144]
call dword [ebx + 0x140]
pop ebx
ret

Function at 0x446070
Capabilities:
Extract resource via kernel32 functions
Set file attributes

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 0x30]
call fcn.0043b75c
test eax, eax
je 0x44619d
mov byte [0x499c2c], 0
mov eax, dword [ebx + 0x30]
push eax
call sub.KERNEL32.DLL_IsBadReadPtr
cmp dword [ebx + 0x44], 0
je 0x446137
mov eax, ebx
call fcn.0044821c
test al, al
je 0x4460bb
push 9
mov eax, dword [ebx + 0x44]
call fcn.004585f8
push eax
call sub.KERNEL32.DLL_SetThreadLocale
jmp 0x446137
cmp byte [ebx + 0x5b], 0
jne 0x4460ca
mov eax, dword [ebx + 0x44]
cmp byte [eax + 0x57], 0
je 0x4460f3
mov eax, dword [ebx + 0x44]
call fcn.004585f8
push eax
call sub.KERNEL32.DLL_GetExitCodeProcess
test eax, eax
je 0x4460f3
push 0
push 0xf120
push 0x112
mov eax, dword [ebx + 0x30]
push eax
call fcn.00408000
jmp 0x446100
mov edx, 9
mov eax, dword [ebx + 0x30]
call fcn.00444c44
push pe_nt_image_headers32
push 0
push 0
push 1
mov eax, dword [0x494970]
mov eax, dword [eax]
call eax
sar eax, 1
jns 0x446118
adc eax, 0
push eax
push 0
mov eax, dword [0x494970]
mov eax, dword [eax]
call eax
sar eax, 1
jns 0x44612b
adc eax, 0
push eax
push 0
mov eax, dword [ebx + 0x30]
push eax
call sub.KERNEL32.DLL_SetFileAttributesA
mov eax, dword [ebx + 0x44]
test eax, eax
je 0x44615c
cmp byte [eax + 0x273], 1
jne 0x44615c
cmp byte [eax + 0x57], 0
jne 0x44615c
xor edx, edx
call fcn.0043fdb4
mov eax, dword [ebx + 0x44]
call fcn.00442bac
mov eax, ebx
call fcn.00445490
mov dl, 1
mov eax, ebx
call fcn.004455ec
mov eax, dword [0x499c20]
mov esi, dword [eax + 0x64]
test esi, esi
je 0x446185
mov eax, esi
call fcn.004585f8
push eax
call sub.KERNEL32.DLL_LockResource
cmp word [ebx + 0x14a], 0
je 0x44619d
mov edx, ebx
mov eax, dword [ebx + 0x14c]
call dword [ebx + 0x148]
pop esi
pop ebx
ret
Function at 0x446834
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00447be4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x446861
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x30]
jmp 0x446864
mov ebx, dword [ebp - 0x10]
push 2
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [0x494a20]
mov eax, dword [eax]
call eax
mov dword [ebp - 0x18], eax
push 2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
push eax
mov eax, dword [0x494a20]
mov eax, dword [eax]
call eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x1c]
je 0x4468f3
mov dword [ebp - 0x48], 0x28
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [0x494948]
mov eax, dword [eax]
call eax
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
push eax
call sub.KERNEL32.DLL_FormatMessageA
push 0x1d
push 0
push 0
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x40]
sub ecx, edx
sar ecx, 1
jns 0x4468d0
adc ecx, 0
add ecx, edx
push ecx
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x44]
sub edx, eax
sar edx, 1
jns 0x4468e2
adc edx, 0
add edx, eax
push edx
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
push eax
call sub.KERNEL32.DLL_SetFileAttributesA
mov eax, dword [ebp - 0x10]
call fcn.0043b920
mov dword [ebp - 0x14], eax
call fcn.0043b77c
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
call fcn.00445750
test al, al
je 0x446918
or esi, 0x100000
xor ecx, ecx
push ebp
push 0x44699c
push dword fs:[ecx]
mov dword fs:[ecx], esp
push esi
mov eax, dword [ebp - 8]
push eax
push edi
push ebx
call sub.KERNEL32.DLL_GetStdHandle
mov dword [ebp - 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4469a3
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x1c]
je 0x446982
push 0x1d
push 0
push 0
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x54]
sub ecx, edx
sar ecx, 1
jns 0x44695f
adc ecx, 0
add ecx, edx
push ecx
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x58]
sub edx, eax
sar edx, 1
jns 0x446971
adc edx, 0
add edx, eax
push edx
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
push eax
call sub.KERNEL32.DLL_SetFileAttributesA
mov eax, dword [ebp - 0x14]
call fcn.0043b9e4
mov eax, dword [ebp - 0x10]
push eax
call sub.KERNEL32.DLL_IsBadReadPtr
mov eax, dword [ebp - 0x20]
call fcn.0043b784
ret
Function at 0x446dec
Capabilities:
Get file attributes

Disassembly:
push ebx
push esi
push edi
mov eax, dword [0x499c20]
call fcn.00443e20
mov esi, eax
dec esi
test esi, esi
jl 0x446e4c
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [0x499c20]
call fcn.00443e0c
mov ebx, eax
mov eax, ebx
call fcn.00458904
test al, al
je 0x446e48
mov eax, ebx
call fcn.004585f8
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
test eax, eax
je 0x446e48
mov eax, ebx
call fcn.004585f8
push eax
call sub.KERNEL32.DLL_GetExitCodeProcess
test eax, eax
je 0x446e48
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0xec]
inc edi
dec esi
jne 0x446e03
pop edi
pop esi
pop ebx
ret

Function at 0x446edc
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x447029
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00446e50
mov ebx, eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x88], 0
je 0x446f25
mov eax, dword [ebp - 4]
cmp dword [eax + 0x48], 0
jne 0x446f25
mov eax, dword [ebp - 4]
call fcn.004474a4
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.004449d0
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.0044d5a8
mov edx, dword [ebp - 0xc]
mov eax, dword [0x499c1c]
call fcn.004470d4
mov byte [ebp - 5], 1
xor eax, eax
push ebp
push 0x446fd0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp word [eax + 0x12a], 0
je 0x446f7b
lea ecx, [ebp - 5]
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x12c]
call dword [ebx + 0x128]
cmp byte [ebp - 5], 0
je 0x446fc6
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0xc0]
test ebx, ebx
jg 0x446f98
mov eax, dword [ebp - 4]
call fcn.00446dec
jmp 0x446fc6
cmp dword [0x499c48], 0
jne 0x446fc6
push 0x446e74
push ebx
push 0
push 0
call sub.KERNEL32.DLL_ResumeThread
mov dword [0x499c48], eax
cmp dword [0x499c48], 0
jne 0x446fc6
mov eax, dword [ebp - 4]
call fcn.00446dec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x446fe5
call fcn.00407a90
mov edx, dword [0x494d20]
cmp eax, dword [edx]
jne 0x447003
xor eax, eax
call fcn.0041f7b4
test al, al
je 0x447003
mov byte [ebp - 5], 0
cmp byte [ebp - 5], 0
je 0x44700e
call sub.KERNEL32.DLL_VirtualProtect
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x447030
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00405554
ret

Function at 0x447168
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x30]
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 1
sbb eax, eax
inc eax
cmp al, byte [0x492624]
jne 0x4471be
cmp bl, byte [0x492624]
je 0x4471be
movzx eax, bl
movzx eax, word [eax*2 + 0x492628]
push eax
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x30]
push eax
call sub.KERNEL32.DLL_SetFileAttributesA
mov byte [0x492624], bl
pop ebx
pop ebp
ret
Function at 0x44726c
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
mov esi, edx
mov edi, eax
mov eax, edi
call fcn.004472b0
push 0x444a28
push esi
push 0
push 0
call sub.KERNEL32.DLL_ResumeThread
mov word [edi + 0x8a], ax
mov byte [edi + 0x89], bl
cmp word [edi + 0x8a], 0
jne 0x4472a9
mov eax, edi
call fcn.004474a4
pop edi
pop esi
pop ebx
ret

Function at 0x4472d8
Capabilities:
Get disk information

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffd4
mov ebp, ecx
mov ebx, edx
mov esi, eax
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xc]
mov dword [esp + 0x10], eax
movsx eax, word [esp + 0xe]
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x24]
lea edx, [esp + 0x10]
mov eax, ebx
call fcn.00450324
lea eax, [esp + 0x24]
mov dl, 1
call fcn.0044ee0c
call fcn.00444a08
mov edi, eax
test edi, edi
je 0x44732c
cmp byte [edi + 0x8d], 0
jne 0x447338
mov eax, esi
call fcn.004474a4
jmp 0x4473f0
cmp edi, dword [esi + 0x60]
je 0x447341
mov al, 1
jmp 0x447381
mov eax, dword [ebp + 8]
mov dword [esp + 0x18], eax
movsx eax, word [esp + 0x18]
mov dword [esp + 0x1c], eax
movsx eax, word [esp + 0x1a]
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x24]
lea edx, [esp + 0x1c]
mov eax, ebx
call fcn.00450324
push dword [esp + 0x28]
push dword [esp + 0x28]
lea eax, [esi + 0x64]
push eax
call sub.KERNEL32.DLL_GetVolumeInformationA
cmp eax, 1
sbb eax, eax
neg eax
test al, al
je 0x4473f0
movzx ebx, byte [esi + 0x58]
test bl, bl
je 0x447398
mov eax, dword [esi + 0x80]
mov dword [esp], eax
jmp 0x44739e
mov eax, dword [esi + 0x78]
mov dword [esp], eax
mov eax, esp
push eax
movzx ecx, bl
mov edx, 0xb041
mov eax, edi
call fcn.00451b4c
test bl, bl
je 0x4473d7
cmp dword [esp], 0
jne 0x4473d7
mov byte [esi + 0x58], bl
mov dword [esi + 0x60], edi
lea eax, [esp + 4]
push eax
call sub.KERNEL32.DLL_RaiseException
lea edx, [esp + 4]
mov eax, esi
call fcn.00447744
jmp 0x4473f0
mov eax, esi
call fcn.004474a4
mov byte [esi + 0x58], bl
mov dword [esi + 0x60], edi
xor ecx, ecx
mov edx, dword [esp]
mov eax, esi
call fcn.0044726c
add esp, 0x2c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x447430
Capabilities:
Get file attributes

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44749e
mov eax, esi
call fcn.00458904
test al, al
je 0x44749e
mov eax, dword [ebx + 0x84]
call fcn.004585f8
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
test eax, eax
je 0x44749e
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x447492
push 0
mov eax, dword [ebx + 0x84]
call fcn.004585f8
push eax
call sub.KERNEL32.DLL_SetThreadLocale
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.004507b4
jmp 0x44749e
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0044726c
pop esi
pop ebx
ret
Function at 0x44d830
Capabilities:
Accept command line arguments
Create thread

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, eax
xor edi, edi
mov eax, dword [ebx + 8]
test eax, eax
je 0x44d88c
dec eax
jne 0x44d84f
xor edx, edx
mov eax, ebx
call fcn.00419898
mov edi, dword [eax]
jmp 0x44d88c
call sub.KERNEL32.DLL_GetCommandLineA
push eax
call sub.KERNEL32.DLL_FileTimeToSystemTime
mov esi, eax
jmp 0x44d884
mov ecx, esp
mov edx, esi
mov eax, ebx
call fcn.0044d714
test al, al
je 0x44d87a
mov eax, dword [ebx + 4]
mov edx, dword [esp]
mov eax, dword [eax + edx*4]
mov edi, dword [eax]
jmp 0x44d884
push 2
push esi
call sub.KERNEL32.DLL_CreateThread
mov esi, eax
test edi, edi
jne 0x44d88c
test esi, esi
jne 0x44d85e
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x44de6c
Capabilities:
Create thread
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
push edi
mov ebx, eax
mov byte [ebp - 1], 1
mov eax, dword [ebp + 8]
add eax, 0xfffffff7
call fcn.0044e2b4
mov esi, eax
mov dword [ebp - 0x14], esi
push 4
push esi
call sub.KERNEL32.DLL_CreateThread
mov edx, dword [0x494b0c]
mov edx, dword [edx]
cmp eax, dword [edx + 0x30]
je 0x44dec7
mov eax, dword [ebp - 0x14]
call fcn.0044d2f4
mov esi, eax
test esi, esi
je 0x44dffa
jmp 0x44deb6
mov esi, eax
mov eax, dword [esi + 0x30]
test eax, eax
jne 0x44deb4
mov eax, esi
call fcn.004585f8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x44dffa
mov esi, ebx
jmp 0x44ded7
mov esi, eax
mov eax, dword [esi + 0x30]
test eax, eax
jne 0x44ded5
mov eax, esi
call fcn.004585f8
mov edi, eax
mov dword [ebp - 0x18], edi
cmp edi, dword [ebp - 0x14]
je 0x44dffa
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
mov eax, dword [eax + 0x30]
test eax, eax
je 0x44df1c
mov edx, dword [ebp + 8]
mov esi, eax
jmp 0x44df09
mov esi, eax
mov eax, dword [esi + 0x30]
test eax, eax
jne 0x44df07
mov eax, esi
call fcn.004585f8
mov dword [ebp - 0x1c], eax
jmp 0x44df46
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
mov edx, dword [0x44c860]
call fcn.004047dc
test al, al
je 0x44df41
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
call fcn.004585f8
mov dword [ebp - 0x1c], eax
jmp 0x44df46
xor eax, eax
mov dword [ebp - 0x1c], eax
mov byte [ebp - 8], 0
mov eax, dword [ebp + 8]
mov edx, dword [eax - 9]
mov dword [ebp - 0x10], edx
mov edx, dword [eax - 5]
mov dword [ebp - 0xc], edx
lea eax, [ebp - 0x1c]
push eax
push 0x44de00
call fcn.00407a90
push eax
call fcn.004080b0
cmp byte [ebp - 8], 0
je 0x44dffa
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.KERNEL32.DLL_FormatMessageA
mov eax, dword [ebp + 8]
add eax, 0xfffffff7
push eax
mov eax, dword [ebp + 8]
dec eax
push eax
lea ecx, [ebp - 0x3c]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x10]
mov eax, ebx
mov si, 0xffbc
call fcn.0040484c
mov eax, dword [0x499c84]
mov edx, dword [0x44b014]
call fcn.004047dc
test al, al
je 0x44dfe1
mov eax, dword [0x499c84]
mov eax, dword [eax + 0x40]
cmp dword [eax + 0x94], 0
je 0x44dfe1
mov eax, dword [0x499c84]
mov eax, dword [eax + 0x40]
mov eax, dword [eax + 0x94]
call fcn.004585f8
cmp eax, dword [ebp - 0x14]
je 0x44dffa
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x2c]
push eax
call sub.KERNEL32.DLL_GetComputerNameA
test eax, eax
je 0x44dffa
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44e04c
Capabilities:
Get disk information
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x499ca8], 0
je 0x44e195
push 0x11
call sub.KERNEL32.DLL_WideCharToMultiByte
test ax, 0x8000
setne al
mov edx, dword [0x494b0c]
mov edx, dword [edx]
xor al, byte [edx + 0xbc]
je 0x44e195
mov eax, dword [0x499cac]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x499ca8]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x44e164
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x499ca8]
call fcn.00419898
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x44e15c
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1da], 0
je 0x44e15c
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x44e15c
mov eax, dword [ebp - 0x14]
call fcn.004585f8
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
test eax, eax
je 0x44e15c
push ebp
call fcn.0044e008
pop ecx
test al, al
jne 0x44e15c
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.0040484c
test al, al
je 0x44e15c
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbc
call fcn.0040484c
cmp byte [ebp - 1], 0
je 0x44e15c
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.KERNEL32.DLL_GetVolumeInformationA
test eax, eax
je 0x44e15c
mov edx, dword [ebp - 0x14]
mov eax, dword [0x499cac]
call fcn.0044d778
inc edi
dec ebx
jne 0x44e0b1
mov eax, dword [0x499cac]
cmp dword [eax + 8], 0
jle 0x44e17c
mov eax, dword [0x499cac]
call fcn.0044d830
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x44e195
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0044de6c
pop ecx
test al, al
jne 0x44e195
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret