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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x444c13
add esp, 0xfffffff0
call fcn.00404974
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041fe70
mov eax, dword [0x491554]
cmp word [eax + 2], 0
jne 0x444c3b
mov eax, dword [0x491554]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00446640
mov eax, dword [0x491674]
cmp word [eax + 2], 0
jne 0x444c55
mov eax, dword [0x491674]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044684c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x417380]
call fcn.00404620
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x417380]
call fcn.00404620
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x417380]
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 [0x423690]
call fcn.0042ad74
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x444e0c
mov eax, dword [0x491430]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_GetLocalTime
mov edx, eax
mov eax, esi
call fcn.0042b148
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x446f10
push 0x100
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x491430]
mov eax, dword [eax]
push eax
call fcn.00407acc
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.0040e9a8
test eax, eax
je 0x444d5c
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040a82c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040e9dc
test eax, eax
je 0x444d70
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call fcn.00407f6c
push eax
call fcn.00407f44
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, 0x100
call fcn.004057a0
mov byte [ebx + 0xd4], 0
push ebx
push 0x446324
call fcn.00420fec
mov dword [ebx + 0xc8], eax
mov eax, dword [0x4912a0]
cmp byte [eax], 0
jne 0x444dc1
mov eax, ebx
call fcn.00444f50
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.004470e8
mov eax, ebx
call fcn.00447c4c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x444e01
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 0x444f50
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 0x4450ec
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebx + 0xac], 0
jne 0x4450d6
mov eax, dword [0x4916e0]
cmp byte [eax], 0
jne 0x4450d6
push ebx
push fcn.00445768
call fcn.00420f30
mov dword [ebx + 0x40], eax
mov eax, fcn.00407fc4
mov dword [fcn.00407fc4], eax
lea eax, [ebp - 0x28]
push eax
mov eax, dword [0x48f620]
push eax
mov eax, dword [0x4947f8]
push eax
call fcn.004080c4
test eax, eax
jne 0x444ff2
mov eax, dword [0x4947f8]
mov dword [0x48f60c], eax
push 0x48f5fc
call sub.KERNEL32.DLL_GlobalAddAtomA
test ax, ax
jne 0x444ff2
lea edx, [ebp - 0x2c]
mov eax, dword [0x491348]
call fcn.00407524
mov ecx, dword [ebp - 0x2c]
mov dl, 1
mov eax, dword [0x4172c4]
call fcn.0040da6c
call fcn.00404ec4
push 0x84ca0000
push 0
mov eax, dword [0x491450]
mov eax, dword [eax]
call eax
sar eax, 1
jns 0x445009
adc eax, 0
push eax
push 1
mov eax, dword [0x491450]
mov eax, dword [eax]
call eax
sar eax, 1
jns 0x44501c
adc eax, 0
push eax
push 0
push 0
push 0
push 0
mov eax, dword [0x4947f8]
push eax
push 0
mov eax, dword [ebx + 0x8c]
call fcn.004059c0
mov ecx, eax
mov edx, dword [0x48f620]
mov eax, 0x8000000
call fcn.00408540
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 [0x4914f8]
cmp byte [eax], 0
je 0x445098
mov eax, ebx
call fcn.00445e10
push eax
push 1
push 0x80
mov eax, dword [ebx + 0x30]
push eax
call sub.KERNEL32.DLL_HeapFree
mov eax, ebx
call fcn.00445e10
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.00407fcc
push 0
push 0xf000
push ebx
call fcn.00407fcc
mov eax, dword [0x4914f8]
cmp byte [eax], 0
je 0x4450d6
push 0
push 0xf010
push ebx
call fcn.00407fcc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4450f3
lea eax, [ebp - 0x2c]
call fcn.00405530
ret
Function at 0x4451d0
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 0x44526f
cmp dword [ebx + 0x94], 0
jne 0x445269
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x445158
call fcn.0040807c
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x445269
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 0x44522f
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x445269
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.00419808
push eax
call sub.KERNEL32.DLL_SetFileAttributesA
dec esi
cmp esi, 0xffffffff
jne 0x44523e
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44532c
Capabilities:
Set file attributes

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

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 0x30]
call fcn.0043b5f8
test eax, eax
jne 0x445f08
mov byte [0x496c2c], 1
mov eax, ebx
call fcn.004452cc
mov eax, dword [ebx + 0x30]
push eax
call sub.KERNEL32.DLL_IsBadReadPtr
xor edx, edx
mov eax, ebx
call fcn.00445488
cmp dword [ebx + 0x44], 0
je 0x445ee3
cmp byte [ebx + 0x5b], 0
jne 0x445e74
mov eax, dword [ebx + 0x44]
cmp byte [eax + 0x57], 0
je 0x445ee3
mov eax, dword [ebx + 0x44]
call fcn.00458494
push eax
call sub.KERNEL32.DLL_GetExitCodeProcess
test eax, eax
je 0x445ee3
mov eax, ebx
call fcn.004480b8
test al, al
je 0x445e9d
mov dl, 1
mov eax, dword [ebx + 0x44]
call fcn.0043fc50
jmp 0x445ef0
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.0043de58
push eax
mov eax, dword [ebx + 0x44]
call fcn.0043de38
push eax
mov eax, dword [ebx + 0x44]
call fcn.00458494
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.00407fc4
jmp 0x445ef0
mov edx, 6
mov eax, dword [ebx + 0x30]
call fcn.00444ae0
cmp word [ebx + 0x142], 0
je 0x445f08
mov edx, ebx
mov eax, dword [ebx + 0x144]
call dword [ebx + 0x140]
pop ebx
ret

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

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 0x30]
call fcn.0043b5f8
test eax, eax
je 0x446039
mov byte [0x496c2c], 0
mov eax, dword [ebx + 0x30]
push eax
call sub.KERNEL32.DLL_IsBadReadPtr
cmp dword [ebx + 0x44], 0
je 0x445fd3
mov eax, ebx
call fcn.004480b8
test al, al
je 0x445f57
push 9
mov eax, dword [ebx + 0x44]
call fcn.00458494
push eax
call sub.KERNEL32.DLL_SetThreadLocale
jmp 0x445fd3
cmp byte [ebx + 0x5b], 0
jne 0x445f66
mov eax, dword [ebx + 0x44]
cmp byte [eax + 0x57], 0
je 0x445f8f
mov eax, dword [ebx + 0x44]
call fcn.00458494
push eax
call sub.KERNEL32.DLL_GetExitCodeProcess
test eax, eax
je 0x445f8f
push 0
push 0xf120
push 0x112
mov eax, dword [ebx + 0x30]
push eax
call fcn.00407fc4
jmp 0x445f9c
mov edx, 9
mov eax, dword [ebx + 0x30]
call fcn.00444ae0
push pe_nt_image_headers32
push 0
push 0
push 1
mov eax, dword [0x491450]
mov eax, dword [eax]
call eax
sar eax, 1
jns 0x445fb4
adc eax, 0
push eax
push 0
mov eax, dword [0x491450]
mov eax, dword [eax]
call eax
sar eax, 1
jns 0x445fc7
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 0x445ff8
cmp byte [eax + 0x273], 1
jne 0x445ff8
cmp byte [eax + 0x57], 0
jne 0x445ff8
xor edx, edx
call fcn.0043fc50
mov eax, dword [ebx + 0x44]
call fcn.00442a48
mov eax, ebx
call fcn.0044532c
mov dl, 1
mov eax, ebx
call fcn.00445488
mov eax, dword [0x496c20]
mov esi, dword [eax + 0x64]
test esi, esi
je 0x446021
mov eax, esi
call fcn.00458494
push eax
call sub.KERNEL32.DLL_LockResource
cmp word [ebx + 0x14a], 0
je 0x446039
mov edx, ebx
mov eax, dword [ebx + 0x14c]
call dword [ebx + 0x148]
pop esi
pop ebx
ret
Function at 0x4466d0
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.00447a80
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4466fd
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x30]
jmp 0x446700
mov ebx, dword [ebp - 0x10]
push 2
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [0x491514]
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 [0x491514]
mov eax, dword [eax]
call eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x1c]
je 0x44678f
mov dword [ebp - 0x48], 0x28
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [0x491428]
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 0x44676c
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 0x44677e
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.0043b7bc
mov dword [ebp - 0x14], eax
call fcn.0043b618
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
call fcn.004455ec
test al, al
je 0x4467b4
or esi, 0x100000
xor ecx, ecx
push ebp
push 0x446838
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 0x44683f
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x1c]
je 0x44681e
push 0x1d
push 0
push 0
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x54]
sub ecx, edx
sar ecx, 1
jns 0x4467fb
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 0x44680d
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.0043b880
mov eax, dword [ebp - 0x10]
push eax
call sub.KERNEL32.DLL_IsBadReadPtr
mov eax, dword [ebp - 0x20]
call fcn.0043b620
ret
Function at 0x446c88
Capabilities:
Get file attributes

Disassembly:
push ebx
push esi
push edi
mov eax, dword [0x496c20]
call fcn.00443cbc
mov esi, eax
dec esi
test esi, esi
jl 0x446ce8
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [0x496c20]
call fcn.00443ca8
mov ebx, eax
mov eax, ebx
call fcn.004587a0
test al, al
je 0x446ce4
mov eax, ebx
call fcn.00458494
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
test eax, eax
je 0x446ce4
mov eax, ebx
call fcn.00458494
push eax
call sub.KERNEL32.DLL_GetExitCodeProcess
test eax, eax
je 0x446ce4
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0xec]
inc edi
dec esi
jne 0x446c9f
pop edi
pop esi
pop ebx
ret

Function at 0x446d78
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 0x446ec5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00446cec
mov ebx, eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x88], 0
je 0x446dc1
mov eax, dword [ebp - 4]
cmp dword [eax + 0x48], 0
jne 0x446dc1
mov eax, dword [ebp - 4]
call fcn.00447340
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.0044486c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.0044d444
mov edx, dword [ebp - 0xc]
mov eax, dword [0x496c1c]
call fcn.00446f70
mov byte [ebp - 5], 1
xor eax, eax
push ebp
push 0x446e6c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp word [eax + 0x12a], 0
je 0x446e17
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 0x446e62
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0xc0]
test ebx, ebx
jg 0x446e34
mov eax, dword [ebp - 4]
call fcn.00446c88
jmp 0x446e62
cmp dword [0x496c48], 0
jne 0x446e62
push 0x446d10
push ebx
push 0
push 0
call sub.KERNEL32.DLL_ResumeThread
mov dword [0x496c48], eax
cmp dword [0x496c48], 0
jne 0x446e62
mov eax, dword [ebp - 4]
call fcn.00446c88
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x446e81
call fcn.00407a5c
mov edx, dword [0x491860]
cmp eax, dword [edx]
jne 0x446e9f
xor eax, eax
call fcn.0041f660
test al, al
je 0x446e9f
mov byte [ebp - 5], 0
cmp byte [ebp - 5], 0
je 0x446eaa
call sub.KERNEL32.DLL_VirtualProtect
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x446ecc
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00405554
ret

Function at 0x447004
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 [0x48f624]
jne 0x44705a
cmp bl, byte [0x48f624]
je 0x44705a
movzx eax, bl
movzx eax, word [eax*2 + 0x48f628]
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 [0x48f624], bl
pop ebx
pop ebp
ret
Function at 0x447108
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
mov esi, edx
mov edi, eax
mov eax, edi
call fcn.0044714c
push 0x4448c4
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 0x447145
mov eax, edi
call fcn.00447340
pop edi
pop esi
pop ebx
ret

Function at 0x4472cc
Capabilities:
Get file attributes

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44733a
mov eax, esi
call fcn.004587a0
test al, al
je 0x44733a
mov eax, dword [ebx + 0x84]
call fcn.00458494
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
test eax, eax
je 0x44733a
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x44732e
push 0
mov eax, dword [ebx + 0x84]
call fcn.00458494
push eax
call sub.KERNEL32.DLL_SetThreadLocale
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00450650
jmp 0x44733a
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.00447108
pop esi
pop ebx
ret

Function at 0x447378
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
push 0xe
mov eax, dword [0x491450]
mov eax, dword [eax]
call eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x28]
push eax
call sub.KERNEL32.DLL_TlsSetValue
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
test eax, eax
je 0x4474c3
xor edx, edx
push ebp
push 0x4474bc
push dword fs:[edx]
mov dword fs:[edx], esp
lea ecx, [ebp - 0xc]
lea edx, [ebp - 8]
mov eax, dword [ebp - 0x1c]
call fcn.00426880
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0xc]
call fcn.00402ee8
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x44748d
push dword fs:[edx]
mov dword fs:[edx], esp
mov ebx, dword [ebp - 0x10]
add ebx, dword [ebp - 8]
push ebx
mov esi, dword [ebp - 0x10]
mov ecx, esi
xor edx, edx
mov eax, dword [ebp - 0x1c]
call fcn.0042693c
test al, al
je 0x447471
mov eax, dword [ebp - 0x10]
cmp word [eax + 0xe], 1
jne 0x447471
mov eax, dword [esi + 4]
mov edx, eax
movzx ecx, word [esi + 0xe]
imul edx, ecx
add edx, 0x1f
and edx, 0xffffffe0
test edx, edx
jns 0x44741b
add edx, 7
sar edx, 3
mov dword [ebp - 0x14], edx
mov edi, eax
imul edi, dword [ebp - 0x14]
add ebx, dword [ebp - 0xc]
sub ebx, edi
mov ecx, 0xff
mov edx, edi
mov eax, ebx
call fcn.00447368
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x44745f
mov eax, dword [esi + 8]
mov edx, dword [esi + 4]
add edx, edx
cmp eax, edx
jl 0x44745f
mov eax, ebx
sub eax, edi
xor ecx, ecx
mov edx, edi
call fcn.00447368
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
cdq
idiv ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x20]
sub dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x447494
mov edx, dword [ebp - 8]
add edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
call fcn.00402f1c
ret
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44d6cc
Capabilities:
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 0x44d728
dec eax
jne 0x44d6eb
xor edx, edx
mov eax, ebx
call fcn.00419808
mov edi, dword [eax]
jmp 0x44d728
call sub.KERNEL32.DLL_UnhandledExceptionFilter
push eax
call sub.KERNEL32.DLL_FileTimeToSystemTime
mov esi, eax
jmp 0x44d720
mov ecx, esp
mov edx, esi
mov eax, ebx
call fcn.0044d5b0
test al, al
je 0x44d716
mov eax, dword [ebx + 4]
mov edx, dword [esp]
mov eax, dword [eax + edx*4]
mov edi, dword [eax]
jmp 0x44d720
push 2
push esi
call sub.KERNEL32.DLL_CreateThread
mov esi, eax
test edi, edi
jne 0x44d728
test esi, esi
jne 0x44d6fa
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x44dd08
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.0044e150
mov esi, eax
mov dword [ebp - 0x14], esi
push 4
push esi
call sub.KERNEL32.DLL_CreateThread
mov edx, dword [0x491638]
mov edx, dword [edx]
cmp eax, dword [edx + 0x30]
je 0x44dd63
mov eax, dword [ebp - 0x14]
call fcn.0044d190
mov esi, eax
test esi, esi
je 0x44de96
jmp 0x44dd52
mov esi, eax
mov eax, dword [esi + 0x30]
test eax, eax
jne 0x44dd50
mov eax, esi
call fcn.00458494
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x44de96
mov esi, ebx
jmp 0x44dd73
mov esi, eax
mov eax, dword [esi + 0x30]
test eax, eax
jne 0x44dd71
mov eax, esi
call fcn.00458494
mov edi, eax
mov dword [ebp - 0x18], edi
cmp edi, dword [ebp - 0x14]
je 0x44de96
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
mov eax, dword [eax + 0x30]
test eax, eax
je 0x44ddb8
mov edx, dword [ebp + 8]
mov esi, eax
jmp 0x44dda5
mov esi, eax
mov eax, dword [esi + 0x30]
test eax, eax
jne 0x44dda3
mov eax, esi
call fcn.00458494
mov dword [ebp - 0x1c], eax
jmp 0x44dde2
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
mov edx, dword [0x44c6fc]
call fcn.004047dc
test al, al
je 0x44dddd
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
call fcn.00458494
mov dword [ebp - 0x1c], eax
jmp 0x44dde2
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 0x44dc9c
call fcn.00407a5c
push eax
call fcn.00408074
cmp byte [ebp - 8], 0
je 0x44de96
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 [0x496c84]
mov edx, dword [0x44aeb0]
call fcn.004047dc
test al, al
je 0x44de7d
mov eax, dword [0x496c84]
mov eax, dword [eax + 0x40]
cmp dword [eax + 0x94], 0
je 0x44de7d
mov eax, dword [0x496c84]
mov eax, dword [eax + 0x40]
mov eax, dword [eax + 0x94]
call fcn.00458494
cmp eax, dword [ebp - 0x14]
je 0x44de96
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 0x44de96
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44dee8
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 [0x496ca8], 0
je 0x44e031
push 0x11
call sub.KERNEL32.DLL_lstrlenA
test ax, 0x8000
setne al
mov edx, dword [0x491638]
mov edx, dword [edx]
xor al, byte [edx + 0xbc]
je 0x44e031
mov eax, dword [0x496cac]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x496ca8]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x44e000
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x496ca8]
call fcn.00419808
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x44dff8
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1da], 0
je 0x44dff8
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x44dff8
mov eax, dword [ebp - 0x14]
call fcn.00458494
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
test eax, eax
je 0x44dff8
push ebp
call fcn.0044dea4
pop ecx
test al, al
jne 0x44dff8
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.0040484c
test al, al
je 0x44dff8
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 0x44dff8
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.KERNEL32.DLL_GetVolumeInformationA
test eax, eax
je 0x44dff8
mov edx, dword [ebp - 0x14]
mov eax, dword [0x496cac]
call fcn.0044d614
inc edi
dec ebx
jne 0x44df4d
mov eax, dword [0x496cac]
cmp dword [eax + 8], 0
jle 0x44e018
mov eax, dword [0x496cac]
call fcn.0044d6cc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x44e031
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0044dd08
pop ecx
test al, al
jne 0x44e031
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