joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410df8
Capabilities:
Delete file
Get common file path
Set current directory

Disassembly:
mov eax, 0x4a76df
call fcn.00483228
sub esp, 0x180
push ebx
push esi
push edi
mov edi, ecx
lea eax, [ebp - 0x18c]
mov dword [ebp - 4], 3
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push dword [ebp + 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
call esi
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
je 0x410e6c
push 0x4dd424
lea ecx, [ebp + 0xc]
call fcn.00496f08
push eax
lea eax, [ebp + 0x10]
push ebx
push eax
lea ecx, [ebp + 0xc]
call fcn.00496d31
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 4
call fcn.0049d9c5
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 3
call fcn.0049d8d8
lea eax, [edi + 8]
lea ecx, [ebp + 0xc]
push eax
call fcn.0049dca4
cmp dword [ebp + 0x20], ebx
je 0x410e86
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
sub esp, 0x14
mov eax, esp
mov dword [ebp + 0x10], esp
push 8
push 0xf
push dword [ebp + 8]
push eax
call fcn.0047977e
add esp, 0x10
lea ecx, [ebp - 0x38]
push dword [0x4e823c]
call fcn.00478476
lea eax, [ebp + 0x18]
push 0x4dd1e4
push eax
lea eax, [ebp + 0x20]
push eax
mov byte [ebp - 4], 5
call fcn.0049db21
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 6
push ecx
push eax
lea eax, [ebp + 0x10]
push eax
call fcn.0049dabb
push dword [eax]
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 7
call fcn.0047973d
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 0xa
call fcn.0049d8d8
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 9
call fcn.0049d8d8
push ebx
lea ecx, [ebp - 0x38]
push dword [ebp + 0x14]
call fcn.00479690
lea eax, [ebp - 0x38]
push ebx
push eax
lea ecx, [ebp - 0x38]
call fcn.004795f0
lea ecx, [ebp - 0x38]
call fcn.0047929d
test eax, eax
jge 0x410f9b
lea ecx, [ebp - 0x60]
call fcn.0047914e
push eax
lea ecx, [edi + 0xc]
call fcn.0049da15
lea eax, [ebp - 0x18c]
push eax
call esi
xor esi, esi
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 5
call fcn.0047854b
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call fcn.004784cf
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 2
call fcn.0049d8d8
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 1
call fcn.0049d8d8
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], bl
call fcn.0049d8d8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x1c]
call fcn.0049d8d8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x1c
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x88]
push eax
call fcn.0047832a
lea ecx, [ebp - 0x60]
mov dword [ebp + 8], eax
call fcn.0047914e
push eax
lea ecx, [edi + 0xc]
call fcn.0049da15
lea eax, [ebp - 0x18c]
push eax
call esi
cmp dword [ebp + 8], ebx
jl 0x410f3c
push 1
pop esi
jmp 0x410f3e
Function at 0x410fd8
Capabilities:
Create directory
Get common file path
Set current directory

Disassembly:
mov eax, 0x4a7727
call fcn.00483228
sub esp, 0x18c
push ebx
push esi
push edi
mov edi, ecx
lea eax, [ebp - 0x198]
mov dword [ebp - 4], 2
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [ebp + 0xc]
push 0x4dd1e4
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0049db21
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
push ecx
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0049dabb
push dword [eax]
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 4
call fcn.0047973d
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 7
call fcn.0049d8d8
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.0049d8d8
sub esp, 0x14
mov eax, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.00479ada
pop ecx
push dword [0x4e823c]
lea ecx, [ebp - 0x44]
call fcn.00478476
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x94]
push eax
mov byte [ebp - 4], 8
call fcn.004786ae
push dword [ebp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
call esi
cmp eax, 0xffffffff
jne 0x4110a7
push 0
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea eax, [ebp - 0x198]
push eax
call esi
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x94]
push eax
call fcn.00479826
lea ecx, [ebp - 0x6c]
mov ebx, eax
call fcn.0047914e
push eax
lea ecx, [edi + 0xc]
call fcn.0049da15
lea eax, [ebp - 0x198]
push eax
call esi
test ebx, ebx
jl 0x4110db
push 1
pop esi
jmp 0x4110dd
xor esi, esi
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 6
call fcn.004784cf
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 2
call fcn.0047854b
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.0049d8d8
and byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.0049d8d8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.0049d8d8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0xc
Function at 0x41112f
Capabilities:
Create directory
Get common file path
Set current directory

Disassembly:
mov eax, 0x4a7777
call fcn.00483228
sub esp, 0x18c
push ebx
push esi
push edi
mov edi, ecx
lea eax, [ebp - 0x198]
mov dword [ebp - 4], 3
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [ebp + 0x10]
push 0x4dd1e4
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0049db21
lea ecx, [ebp + 8]
mov byte [ebp - 4], 4
push ecx
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0049dabb
push dword [eax]
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 5
call fcn.0047973d
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 8
call fcn.0049d8d8
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 7
call fcn.0049d8d8
sub esp, 0x14
mov eax, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.00479ada
pop ecx
push dword [0x4e823c]
lea ecx, [ebp - 0x44]
call fcn.00478476
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x94]
push eax
mov byte [ebp - 4], 9
call fcn.004786ae
lea ecx, [ebp - 0x44]
call fcn.00479bc5
push 1
lea ecx, [ebp - 0x44]
push dword [ebp + 0xc]
call fcn.00479b79
lea ecx, [ebp - 0x44]
call fcn.0047929d
push dword [ebp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
call esi
cmp eax, 0xffffffff
jne 0x41121b
push 0
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea eax, [ebp - 0x198]
push eax
call esi
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x94]
push eax
call fcn.00479826
lea ecx, [ebp - 0x6c]
mov ebx, eax
call fcn.0047914e
push eax
lea ecx, [edi + 0xc]
call fcn.0049da15
lea eax, [ebp - 0x198]
push eax
call esi
test ebx, ebx
jl 0x41124f
push 1
pop esi
jmp 0x411251
xor esi, esi
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 7
call fcn.004784cf
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 3
call fcn.0047854b
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.0049d8d8
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.0049d8d8
and byte [ebp - 4], 0
lea ecx, [ebp + 0x10]
call fcn.0049d8d8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.0049d8d8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x10
Function at 0x4127e1
Capabilities:
Get disk information

Disassembly:
mov eax, 0x4a7ccc
call fcn.00483228
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push dword [ebp + 8]
call fcn.0049d64d
lea eax, [ebp - 0x10]
push eax
call fcn.00447404
pop ecx
pop ecx
push 1
push ecx
xor ebx, ebx
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x4dd1e4
mov dword [ebp - 4], ebx
call fcn.0049d946
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
mov byte [ebp - 4], 1
call fcn.0049d64d
lea eax, [ebp - 0x14]
mov byte [ebp - 4], bl
push eax
call fcn.00447f34
add esp, 0x10
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
lea ecx, [ebp - 0x14]
mov edi, eax
call fcn.0049d8d8
cmp edi, 5
je 0x412876
cmp edi, 2
jne 0x412889
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
cmp al, 0x61
je 0x412876
cmp al, 0x41
je 0x412876
cmp al, 0x62
je 0x412876
cmp al, 0x42
jne 0x41287b
cmp dword [esi + 0x64], ebx
je 0x412880
cmp dword [esi + 0x60], ebx
jne 0x412889
mov ecx, esi
call fcn.00412e97
jmp 0x4128b9
lea eax, [ebp - 0x10]
lea ecx, [esi + 0xcc]
push eax
call fcn.0049d9c5
lea ecx, [esi + 0x78]
call fcn.00402743
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push dword [ebp + 8]
call fcn.0049d64d
lea ecx, [esi + 0xd0]
call fcn.00401ed1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0049d8d8
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x4128d6
Capabilities:
Get common file path
Set current directory

Disassembly:
mov eax, 0x4a7d00
call fcn.00483228
sub esp, 0x114
push ebx
push esi
push edi
mov esi, ecx
call fcn.00499fee
mov eax, dword [0x4e8114]
xor ebx, ebx
cmp eax, ebx
je 0x412953
push ecx
mov edi, 0x4e80c0
mov eax, esp
mov dword [ebp - 0x10], esp
push eax
mov ecx, edi
call fcn.0040d6ed
lea eax, [ebp - 0x10]
push eax
call fcn.0044cdd9
pop ecx
pop ecx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], ebx
cmp dword [eax - 8], ebx
je 0x412947
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.0040d6ed
push eax
lea ecx, [esi + 0x5c]
mov byte [ebp - 4], 1
call fcn.0049d9c5
and byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.0049d8d8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0049d8d8
push ecx
lea edi, [esi + 0x5c]
mov ecx, esp
mov dword [ebp - 0x10], esp
push edi
call fcn.0049d64d
lea eax, [ebp - 0x18]
push eax
call fcn.00447404
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 2
push eax
call fcn.0045df29
mov ecx, dword [esi + 0x60]
add esp, 0xc
mov dword [esi + 0xc8], ecx
mov ecx, dword [esi + 0x64]
mov dword [esi + 0xc4], ecx
mov ecx, dword [edi]
cmp dword [ecx - 8], ebx
je 0x4129fc
cmp eax, ebx
je 0x4129fc
push edi
lea ecx, [esi + 0x11c]
call fcn.0049d9c5
push dword [edi]
mov ebx, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
call ebx
test eax, eax
jne 0x4129f0
mov eax, dword [edi]
cmp dword [eax - 8], 0
je 0x4129f0
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push edi
call fcn.0049d64d
lea eax, [ebp - 0x14]
push eax
call fcn.00447289
pop ecx
pop ecx
push eax
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.0049d9c5
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0049d8d8
push dword [edi]
jmp 0x4129af
push edi
mov ecx, esi
call fcn.004127e1
xor ebx, ebx
jmp 0x412a44
lea eax, [ebp - 0x120]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push edi
lea ecx, [esi + 0x11c]
call fcn.0049d9c5
lea eax, [ebp - 0x120]
lea ecx, [ebp - 0x10]
push eax
call fcn.0049d946
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
mov byte [ebp - 4], 3
call fcn.004127e1
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.0049d8d8
push ebx
push ebx
push 0x147
push dword [esi + 0x94]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
mov dword [esi + 0x68], eax
jne 0x412a62
mov dword [esi + 0x68], ebx
push ebx
mov ecx, esi
call fcn.0049c626
push ebx
mov ecx, esi
call fcn.0049c56e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0049d8d8
mov ecx, dword [ebp - 0xc]
push 1
pop eax
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x413445
Capabilities:
Connect network resource

Disassembly:
mov eax, 0x4a7e40
call fcn.00483228
sub esp, 0x10
push edi
push 0
push ecx
fldz
mov ecx, esp
mov dword [ebp - 0x10], esp
fstp qword [ebp - 0x1c]
push 0x4dd1e8
call fcn.0049d946
mov edi, dword [ebp + 8]
and dword [ebp - 4], 0
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push edi
call fcn.0049d64d
or dword [ebp - 4], 0xffffffff
call fcn.0044c966
add esp, 0xc
test eax, eax
je 0x41350a
lea eax, [ebp + 8]
push eax
call fcn.00447bab
pop ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 1
cmp dword [eax - 8], 0
je 0x4134f4
push 0x4ddbb0
lea ecx, [ebp + 8]
call fcn.0049dc68
push dword [ebp + 8]
mov edi, dword [edi]
push 0x4e7e70
push edi
call sub.MPR.dll_WNetAddConnectionA
test eax, eax
jne 0x4134ec
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.0049d64d
call fcn.00447325
fstp qword [ebp - 0x1c]
pop ecx
push 1
push dword [ebp + 8]
call sub.MPR.dll_WNetCancelConnectionA
jmp 0x4134f9
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4134f9
fldz
fstp qword [ebp - 0x1c]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0049d8d8
fld qword [ebp - 0x1c]
jmp 0x41351c
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push edi
call fcn.0049d64d
call fcn.00447325
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x4158ba
Capabilities:
Set current directory

Disassembly:
mov eax, 0x4a8442
call fcn.00483228
sub esp, 0x134
and dword [ebp - 0x20], 0
push ebx
push esi
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 2
push eax
call fcn.00446e5b
pop ecx
push dword [ebp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov byte [ebp - 4], 3
call esi
test eax, eax
jne 0x415939
push 0x4dd1e4
push ecx
lea eax, [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.0049d64d
lea eax, [ebp - 0x18]
push eax
call fcn.00447404
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 4
call fcn.0049db21
push dword [eax]
call esi
lea ecx, [ebp - 0x1c]
call fcn.0049d8d8
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.0049d8d8
push 0x4e7e70
lea ecx, [ebp - 0x10]
call fcn.0049d946
push 0
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 5
call fcn.00412698
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0xe4]
push eax
mov byte [ebp - 4], 6
call fcn.0049d9c5
push 1
lea ecx, [ebp - 0x140]
pop ebx
mov dword [ebp - 0xe0], ebx
call fcn.00499d69
cmp eax, ebx
jne 0x415997
mov eax, dword [ebp - 0x24]
cmp dword [eax - 8], 0
je 0x415997
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x10]
push eax
call fcn.0049d9c5
push dword [ebp - 0x14]
call esi
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.0049d64d
mov dword [ebp - 0x20], ebx
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 5
call fcn.00412739
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.0049d8d8
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0049d8d8
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], bl
call fcn.0049d8d8
and byte [ebp - 4], 0
lea ecx, [ebp + 0x10]
call fcn.0049d8d8
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0xc
Function at 0x42b515
Capabilities:
Get disk information

Disassembly:
mov eax, 0x4ab5bc
call fcn.00483228
sub esp, 0x24
push ebx
push esi
push edi
mov esi, ecx
push ecx
lea eax, [ebp + 8]
xor ebx, ebx
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
mov dword [ebp - 4], ebx
call fcn.0049d64d
lea eax, [ebp - 0x10]
push eax
call fcn.00447404
pop ecx
pop ecx
push 0x4dd1e4
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0049dc68
push dword [ebp - 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
call edi
cmp dword [esi + 0x1cc], ebx
mov dword [ebp - 0x14], eax
jne 0x42b5d1
cmp eax, 2
je 0x42b62c
cmp eax, 4
je 0x42b62c
push ebx
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.0049d64d
call fcn.004466f0
pop ecx
cmp eax, ebx
pop ecx
je 0x42b62c
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.0049d64d
lea ecx, [ebp - 0x30]
call fcn.004671e4
lea eax, [ebp - 0x30]
lea ecx, [esi + 0x19c]
push eax
mov byte [ebp - 4], 2
call fcn.0042b7c3
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
jmp 0x42b627
push dword [ebp - 0x10]
call edi
cmp eax, 2
je 0x42b62c
push ebx
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.0049d64d
call fcn.004466f0
pop ecx
cmp eax, ebx
pop ecx
je 0x42b62c
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.0049d64d
lea ecx, [ebp - 0x30]
call fcn.004671e4
lea eax, [ebp - 0x30]
lea ecx, [esi + 0x19c]
push eax
mov byte [ebp - 4], 3
call fcn.0042b7c3
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.00467382
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.0049d8d8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0049d8d8
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x43188f
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x4ac8c8
call fcn.00483228
sub esp, 0x10
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
push 1
mov edi, ecx
pop esi
mov dword [ebp - 0x14], edi
push dword [eax]
mov ebx, esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, eax
test ecx, ecx
mov dword [ebp + 0xc], ecx
je 0x4319f6
mov eax, dword [ebp + 8]
sub eax, 0
je 0x4319aa
dec eax
je 0x43196b
dec eax
je 0x431926
dec eax
jne 0x4319eb
push str.PostInstall
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x4319eb
lea eax, [ebp + 8]
mov ecx, 0x4e8330
push eax
call fcn.0040d747
push eax
push 0x4e80c0
push edi
mov dword [ebp - 4], 3
call fcn.00408bc7
push eax
call esi
or dword [ebp - 4], 0xffffffff
mov ebx, eax
lea ecx, [ebp + 8]
jmp 0x4319e6
push str.PostCopy
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x4319eb
lea eax, [ebp - 0x10]
mov ecx, 0x4e8330
push eax
call fcn.0040d747
push eax
push 0x4e80c0
push edi
mov dword [ebp - 4], 2
call fcn.00408bc7
push eax
call esi
or dword [ebp - 4], 0xffffffff
mov ebx, eax
lea ecx, [ebp - 0x10]
jmp 0x4319e6
push str.PreInstall
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x4319eb
lea eax, [ebp - 0x18]
mov ecx, 0x4e8330
push eax
call fcn.0040d747
push eax
push 0x4e80c0
push dword [ebp - 0x14]
mov dword [ebp - 4], esi
call fcn.00408bc7
push eax
call edi
or dword [ebp - 4], 0xffffffff
mov ebx, eax
lea ecx, [ebp - 0x18]
jmp 0x4319e6
push str.Initialize
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x4319eb
lea eax, [ebp - 0x1c]
mov ecx, 0x4e8330
push eax
call fcn.0040d747
and dword [ebp - 4], 0
push eax
push 0x4e80c0
push edi
call fcn.00408bc7
push eax
call esi
or dword [ebp - 4], 0xffffffff
mov ebx, eax
lea ecx, [ebp - 0x1c]
call fcn.0049d8d8
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x431a32
mov eax, dword [0x4e43a4]
mov dword [ebp + 0xc], eax
mov dword [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp + 0xc]
push 0x4dd590
push eax
call fcn.00497249
add esp, 0xc
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.0049d8d8
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x446d96
Capabilities:
Create directory

Disassembly:
mov eax, 0x4af9bc
call fcn.00483228
sub esp, 0xc
push esi
and dword [ebp - 4], 0
push 0x4e7e70
lea ecx, [ebp - 0x10]
call fcn.0049d946
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
mov byte [ebp - 4], 1
call fcn.0049d64d
lea eax, [ebp - 0x14]
push eax
call fcn.00447289
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.0049d9c5
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0049d8d8
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], 0
je 0x446e0a
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.0049d64d
call fcn.00446d96
pop ecx
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.0049d64d
call fcn.00449e37
test eax, eax
pop ecx
jne 0x446e31
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov esi, eax
jmp 0x446e34
push 1
pop esi
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0049d8d8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0049d8d8
mov ecx, dword [ebp - 0xc]
mov eax, esi
mov dword fs:[0], ecx
pop esi
leave
ret

Function at 0x447325
Capabilities:
Get disk size

Disassembly:
mov eax, 0x4afaf8
call fcn.00483228
sub esp, 0x30
push esi
push edi
xor esi, esi
lea eax, [ebp + 8]
push esi
push eax
mov dword [ebp - 4], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
call fcn.00446a1d
pop ecx
pop ecx
push str.KERNEL32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, esi
je 0x4473e1
push str.GetDiskFreeSpaceExA
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
je 0x447393
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x2c]
push ecx
push dword [ebp + 8]
call eax
test eax, eax
je 0x4473da
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x20], eax
jmp 0x4473da
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x18], esi
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x10], esi
push dword [ebp + 8]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x4473da
push esi
push dword [ebp - 0x10]
push esi
push dword [ebp - 0x14]
call fcn.00484d70
push esi
push dword [ebp - 0x18]
push edx
push eax
call fcn.00484d70
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
fild qword [ebp - 0x24]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
fstp qword [ebp - 0x24]
call fcn.0049d8d8
mov ecx, dword [ebp - 0xc]
pop edi
fld qword [ebp - 0x24]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x4480c1
Capabilities:
Delete directory

Disassembly:
mov eax, 0x4afe08
call fcn.00483228
sub esp, 0xc
push esi
and dword [ebp - 4], 0
push 0x4e7e70
lea ecx, [ebp - 0x10]
call fcn.0049d946
push dword [ebp + 8]
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov esi, eax
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.0049d64d
lea eax, [ebp - 0x14]
push eax
call fcn.00447289
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.0049d9c5
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0049d8d8
test esi, esi
je 0x44814a
mov eax, dword [ebp - 0x10]
mov eax, dword [eax - 8]
test eax, eax
je 0x44814a
cmp eax, 3
jle 0x44814a
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.0049d64d
call fcn.004480c1
pop ecx
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0049d8d8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0049d8d8
mov ecx, dword [ebp - 0xc]
mov eax, esi
mov dword fs:[0], ecx
pop esi
leave
ret