joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43605d
Capabilities:
Connect to http server
Create http request
Parse url
Send data
Send http request

Disassembly:
push ebp
lea ebp, [esp - 0x7dc]
sub esp, 0x85c
mov eax, dword [0x48e610]
xor eax, ebp
mov dword [ebp + 0x7d8], eax
push ebx
mov ebx, dword [ebp + 0x7e4]
push esi
push edi
mov edi, dword [sym.imp.WININET.dll_InternetSetOptionA]
push 4
lea eax, [ebp - 0x2c]
push eax
push 2
xor esi, esi
push esi
mov dword [ebp - 0x2c], 0x7530
call edi
push 4
lea eax, [ebp - 0x2c]
push eax
push 6
push esi
call edi
push 4
lea eax, [ebp - 0x2c]
push eax
push 5
push esi
call edi
push 0x3c
pop edi
push edi
lea eax, [ebp - 0x80]
push esi
push eax
call fcn.0045f090
lea eax, [ebp - 0x28]
mov dword [ebp - 0x70], eax
mov eax, 0x400
add esp, 0xc
cmp byte [ebx + 7], 0xff
lea ecx, [ebp + 0x3d8]
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], eax
jne 0x4360e7
mov ebx, dword [ebx]
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push ebx
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
push esi
push esi
push esi
push esi
push 0x47f210
mov dword [ebp - 0x30], esi
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x34], eax
cmp eax, esi
je 0x436194
push esi
push esi
push 3
push esi
push esi
push 0x50
lea ecx, [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x38], eax
cmp eax, esi
je 0x43618f
push esi
push esi
lea ecx, [ebp - 0x44]
push ecx
push esi
push esi
lea ecx, [ebp + 0x3d8]
push ecx
push str.HEAD
push eax
mov dword [ebp - 0x44], 0x47f288
mov dword [ebp - 0x40], esi
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov ebx, eax
cmp ebx, esi
je 0x43618a
push esi
push esi
push esi
push esi
push ebx
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x436187
push esi
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x30]
push eax
push 0x20000013
push ebx
mov dword [ebp - 0x3c], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
push ebx
call edi
push dword [ebp - 0x38]
call edi
push dword [ebp - 0x34]
call edi
mov ecx, dword [ebp + 0x7d8]
mov eax, dword [ebp - 0x30]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045f4ee
add ebp, 0x7dc
leave
ret 4

Function at 0x437abc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ecx
push edx
push esi
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov edx, ecx
cmp edx, 4
jl 0x437b03
cmp edx, 0x10
jl 0x437aef
shr ecx, 4
nop
xor eax, dword [ebx]
mov esi, dword [ebx + 4]
xor eax, dword [ebx + 8]
xor esi, dword [ebx + 0xc]
add ebx, 0x10
xor eax, esi
dec ecx
jne 0x437adc
mov ecx, edx
shr ecx, 2
and ecx, 3
test ecx, ecx
je 0x437b03
xor eax, dword [ebx]
add ebx, 4
dec ecx
jne 0x437afb
and edx, 3
cmp edx, 3
jne 0x437b17
xor ecx, ecx
mov cl, byte [ebx]
inc ebx
shl ecx, 0x10
xor eax, ecx
jmp 0x437b1c
cmp edx, 2
jne 0x437b28
xor ecx, ecx
mov cl, byte [ebx]
inc ebx
shl ecx, 8
xor eax, ecx
jmp 0x437b2d
cmp edx, 1
jne 0x437b33
xor ecx, ecx
mov cl, byte [ebx]
xor eax, ecx
pop esi
pop edx
pop ecx
pop ebx
ret
Function at 0x43d690
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x48e610]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x94
lea eax, [ebp - 0x98]
push 0
push eax
call fcn.0045f090
add esp, 0xc
lea ecx, [ebp - 0x98]
push ecx
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x94], 6
push 0xc
jb 0x43d708
call fcn.0045ef6f
add esp, 4
test eax, eax
je 0x43d6fc
mov ecx, eax
call fcn.0043d9c0
push eax
mov ecx, esi
call fcn.0043d590
jmp 0x43d727
xor eax, eax
push eax
mov ecx, esi
call fcn.0043d590
jmp 0x43d727
call fcn.0045ef6f
add esp, 4
test eax, eax
je 0x43d71d
mov ecx, eax
call fcn.0043e6a0
jmp 0x43d71f
xor eax, eax
push eax
mov ecx, esi
call fcn.0043d610
mov eax, dword [esi]
mov ecx, dword [ebp - 4]
neg eax
sbb eax, eax
and eax, 0x7ff8fff2
xor ecx, ebp
add eax, 0x8007000e
pop esi
call fcn.0045f4ee
mov esp, ebp
pop ebp
ret
Function at 0x441ba0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0x18
mov dword [ebp - 4], 0
call fcn.0045ef6f
add esp, 4
test eax, eax
je 0x441bc7
mov ecx, eax
call fcn.0047c6c0
mov esi, eax
test esi, esi
jne 0x441bd3
mov eax, 0x80004005
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push ebx
push edi
push esi
call ecx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x441c09
mov edi, dword [ebp + 0x10]
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push edi
push esi
call eax
mov ecx, dword [esi]
mov edx, dword [ecx + 0x1c]
push ebx
push edi
push 1
push esi
call edx
push eax
call fcn.00464924
add esp, 0x10
test eax, eax
jns 0x441c12
xor eax, eax
mov edi, 0x80004005
jmp 0x441c15
mov edi, dword [ebp - 4]
mov ecx, dword [esi]
mov edx, dword [ecx + 0x14]
push eax
push esi
call edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push esi
push edi
push eax
call edx
mov edi, eax
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov eax, edi
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x441c40
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x48e610]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
push 0x481a5c
push eax
call fcn.0045fd50
mov esi, eax
add esp, 8
test esi, esi
je 0x441cc4
push esi
call fcn.00464cfe
add esp, 4
test eax, eax
jne 0x441cbb
lea esp, [esp]
push esi
push 0x200
lea eax, [ebp - 0x204]
push 1
push eax
call fcn.00464924
add esp, 0x10
test eax, eax
jle 0x441cae
push edi
push eax
lea ecx, [ebp - 0x204]
push 1
push ecx
call fcn.00464660
add esp, 0x10
push esi
call fcn.00464cfe
add esp, 4
test eax, eax
je 0x441c80
push esi
call fcn.0045fae8
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.0045f4ee
mov esp, ebp
pop ebp
ret
Function at 0x442420
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0xc]
call fcn.0043f500
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
mov edx, dword [esi + 0x58]
push edx
mov edx, dword [esi + 0x54]
push edx
mov edx, dword [esi + 0x40]
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
mov edx, dword [ebp - 4]
test edx, edx
jle 0x4425c7
lea esp, [esp]
mov eax, dword [esi + 0x4c]
sub eax, 0
je 0x4424cf
dec eax
jne 0x4425a1
mov ecx, dword [esi + 0x5c]
cmp ecx, dword [esi + 0x60]
jle 0x4424a2
mov ecx, dword [esi + 0x48]
push ecx
push edx
mov edx, dword [esi + 0x40]
push 1
push edx
call fcn.00464660
add dword [esi + 0x60], eax
mov ecx, dword [esi + 0x5c]
mov eax, ecx
sub eax, dword [esi + 0x60]
add esp, 0x10
cmp eax, 0x8000
jge 0x44249f
mov dword [esi + 0x58], eax
cmp ecx, dword [esi + 0x60]
jne 0x4425a1
mov eax, dword [esi + 0x48]
test eax, eax
je 0x4424b8
push eax
call fcn.0045fae8
add esp, 4
mov eax, 0x200
mov dword [esi + 0x4c], 0
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], eax
jmp 0x4425a1
mov eax, dword [str.rnempty0]
mov edi, dword [esi + 0x40]
push eax
lea ecx, [ebp - 0x14]
mov dword [esi + 0x50], edi
call fcn.0043f7b0
cmp byte [eax + 7], 0xff
jne 0x4424eb
mov eax, dword [eax]
push edi
push eax
call fcn.0045f938
add esp, 8
test eax, eax
lea ecx, [ebp - 0x14]
sete bl
call fcn.0043f790
lea ecx, [ebp - 0xc]
push ecx
test bl, bl
je 0x44253c
mov edx, dword [esi + 0x50]
mov eax, dword [esi + 0x14]
add edx, 0x159
push edx
push eax
call fcn.00441d70
add esp, 0xc
test eax, eax
jns 0x4425a1
lea ecx, [ebp - 0xc]
mov byte [esi + 0x20], 5
call fcn.0043f790
pop edi
pop esi
mov eax, 0x8004008a
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x50]
mov edx, dword [esi + 0x14]
push eax
add eax, 0x159
push eax
push edx
call fcn.00441f30
xor edi, edi
add esp, 0x10
mov dword [esi + 0x48], eax
cmp eax, edi
je 0x442524
mov eax, dword [esi + 0x50]
add eax, 0x7c
push 0xb
push eax
call fcn.00441d30
add esp, 8
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], edi
cmp eax, edi
jle 0x442595
mov dword [esi + 0x4c], 1
mov dword [esi + 0x54], edi
cmp eax, 0x8000
jge 0x44258c
mov dword [esi + 0x58], eax
jmp 0x4425a1
mov dword [esi + 0x58], 0x8000
jmp 0x4425a1
mov ecx, dword [esi + 0x48]
push ecx
call fcn.0045fae8
add esp, 4
mov eax, dword [esi + 0x3c]
mov edx, dword [eax]
mov edx, dword [edx + 0x24]
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [esi + 0x58]
push ecx
mov ecx, dword [esi + 0x54]
push ecx
mov ecx, dword [esi + 0x40]
push ecx
push eax
call edx
mov edx, dword [ebp - 4]
test edx, edx
jg 0x442460
lea ecx, [ebp - 0xc]
call fcn.0043f790
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4425e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, ecx
mov ecx, dword [esi + 0x38]
push ebx
call fcn.00445d80
xor edi, edi
cmp dword [esi + 0x44], edi
je 0x44260b
mov eax, dword [esi + 0x44]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
push eax
call edx
mov edi, eax
lea ecx, [ebp - 0x30]
call fcn.0044a8c0
push edi
lea eax, [ebp - 0x30]
push eax
call fcn.0044ab40
test edi, edi
je 0x442637
mov esi, dword [esi + 0x44]
mov ecx, dword [esi]
mov edx, dword [ecx + 0x1c]
push edi
push esi
call edx
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0044adb0
push ebx
lea ecx, [ebp - 0x30]
push ecx
call fcn.0044a120
push eax
push 1
lea edx, [ebp - 0x30]
push edx
call fcn.0044a100
push eax
call fcn.00464660
add esp, 0x10
lea ecx, [ebp - 0x30]
call fcn.0044a930
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x442e80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x48e610]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [eax + 0x40]
push edi
mov edi, dword [ebp + 0xc]
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], eax
call fcn.0043f500
cmp byte [ebx], 0
push edi
je 0x442ec9
push 0x5c
push ebx
lea eax, [ebp - 0x30]
push str._s_c_s
push eax
call fcn.00440350
add esp, 0x14
jmp 0x442ed1
lea ecx, [ebp - 0x30]
call fcn.0043f8e0
cmp byte [ebp - 0x29], 0xff
lea eax, [ebp - 0x30]
jne 0x442edd
mov eax, dword [ebp - 0x30]
push 0x481a5c
push eax
call fcn.0045fd50
add esp, 8
mov ebx, eax
push edi
test ebx, ebx
jne 0x442f0d
push str.Cant_open_file__s_for_reading__skipping_n
call fcn.00466b1c
add eax, 0x40
push eax
call fcn.004607eb
add esp, 0xc
jmp 0x442fff
push str.Processing_file__s_for_compression_n
call fcn.00466b1c
add eax, 0x20
push eax
call fcn.004607eb
push 0x200
push 0
push esi
call fcn.0045f090
add esp, 0x18
cmp byte [ebp - 0x29], 0xff
lea eax, [ebp - 0x30]
jne 0x442f3c
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
push edi
push ecx
lea ecx, [ebp - 0x28]
mov edx, esi
call fcn.00442670
add esp, 8
mov dword [ebp - 0x34], eax
test eax, eax
jns 0x442f8e
push edi
push str.Cant_stat__s__skipping_n
call fcn.00466b1c
add eax, 0x40
push eax
call fcn.004607eb
push ebx
call fcn.0045fae8
add esp, 0x10
lea ecx, [ebp - 0x30]
call fcn.0043f790
mov eax, dword [ebp - 0x34]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045f4ee
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x14]
push edx
push edi
mov edi, dword [ebp - 0x38]
mov ecx, dword [edi + 0x38]
call fcn.00445d30
mov eax, dword [edi + 0x3c]
mov ecx, dword [eax]
lea edx, [ebp - 0x3c]
push edx
push 0x200
push esi
push eax
mov eax, dword [ecx + 0x14]
call eax
push ebx
call fcn.00464cfe
add esp, 4
test eax, eax
jne 0x442ff6
push ebx
push 0x8000
push 1
push esi
call fcn.00464924
add esp, 0x10
test eax, eax
jle 0x442fe9
mov ecx, dword [edi + 0x3c]
mov edx, dword [ecx]
lea edi, [ebp - 0x3c]
push edi
push eax
mov eax, dword [edx + 0x14]
push esi
push ecx
call eax
mov edi, dword [ebp - 0x38]
push ebx
call fcn.00464cfe
add esp, 4
test eax, eax
je 0x442fc0
push ebx
call fcn.0045fae8
add esp, 4
lea ecx, [ebp - 0x30]
call fcn.0043f790
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0045f4ee
mov esp, ebp
pop ebp
ret
Function at 0x443730
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x4911f4], 0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
mov esi, ecx
je 0x443760
call ebx
sub eax, dword [0x4911f4]
cmp eax, 0xc8
jae 0x443760
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x1c]
push edi
xor edi, edi
test eax, eax
je 0x4437c8
lea edx, [ebp - 4]
push edx
mov dword [ebp - 4], edi
mov ecx, dword [eax]
push 0x484244
push eax
mov eax, dword [ecx]
call eax
cmp dword [ebp - 4], edi
je 0x4437c8
call ebx
mov edx, dword [ebp + 8]
mov dword [0x4911f4], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov edi, eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x4437a9
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp edi, 0x80040088
jne 0x4437c8
mov eax, dword [esi + 0x44]
test eax, eax
je 0x4437c8
push eax
call fcn.0045fae8
add esp, 4
mov dword [esi + 0x44], 0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x444a20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, ecx
mov ecx, dword [esi + 0x38]
push ebx
call fcn.00445d80
xor edi, edi
cmp dword [esi + 0x40], edi
je 0x444a4b
mov eax, dword [esi + 0x40]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
push eax
call edx
mov edi, eax
lea ecx, [ebp - 0x30]
call fcn.0044a8c0
push edi
lea eax, [ebp - 0x30]
push eax
call fcn.0044ab40
test edi, edi
je 0x444a77
mov esi, dword [esi + 0x40]
mov ecx, dword [esi]
mov edx, dword [ecx + 0x1c]
push edi
push esi
call edx
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0044adb0
push ebx
lea ecx, [ebp - 0x30]
push ecx
call fcn.0044a120
push eax
push 1
lea edx, [ebp - 0x30]
push edx
call fcn.0044a100
push eax
call fcn.00464660
add esp, 0x10
lea ecx, [ebp - 0x30]
call fcn.0044a930
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x445b70
Capabilities:
Get common file path
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x48e610]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
lea eax, [ebp - 0x18]
push eax
mov edi, 0x400
call fcn.0044aff0
add esp, 4
cmp dword [ebp - 0x10], 8
jne 0x445c3c
push esi
lea ecx, [ebp - 0x20]
call fcn.0043f500
push 0x104
lea ecx, [ebp - 0x20]
call fcn.00440160
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x20]
mov esi, eax
call fcn.004401f0
test esi, esi
pop esi
je 0x445c34
push 0x5c
lea ecx, [ebp - 0x20]
call fcn.0043f580
cmp eax, 0xffffffff
je 0x445c34
push eax
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x20]
call fcn.0043ff80
push eax
lea ecx, [ebp - 0x20]
call fcn.0043f840
lea ecx, [ebp - 0x34]
call fcn.0043f790
push 0x5c
lea ecx, [ebp - 0x20]
call fcn.0043fc90
cmp byte [ebp - 0x19], 0xff
lea eax, [ebp - 0x20]
jne 0x445c12
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x38]
push edx
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x24]
push edx
lea ecx, [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x445c34
mov edi, dword [ebp - 0x28]
imul edi, dword [ebp - 0x24]
lea ecx, [ebp - 0x20]
call fcn.0043f790
mov ecx, dword [ebp - 4]
mov eax, edi
xor ecx, ebp
pop edi
call fcn.0045f4ee
mov esp, ebp
pop ebp
ret

Function at 0x445d80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x60]
call fcn.0044a8c0
push esi
lea ecx, [ebp - 0x60]
call fcn.0044a140
lea eax, [ebp - 0x60]
push eax
call fcn.0044a120
lea ecx, [ebp - 0x30]
mov edi, eax
call fcn.0044a8c0
cmp byte [esi + 0x23], 0xff
lea eax, [esi + 0x1c]
jne 0x445dba
mov eax, dword [eax]
push 4
push eax
lea ecx, [ebp - 0x30]
push ecx
call fcn.0044adb0
push edi
lea edx, [ebp - 0x30]
push edx
call fcn.0044ab40
lea eax, [ebp - 0x30]
push eax
call fcn.0044a120
mov ebx, dword [ebp + 8]
push ebx
mov esi, eax
push esi
push 1
lea ecx, [ebp - 0x30]
push ecx
call fcn.0044a100
push eax
call fcn.00464660
add esp, 0x10
cmp eax, esi
je 0x445e14
lea ecx, [ebp - 0x30]
call fcn.0044a930
lea ecx, [ebp - 0x60]
call fcn.0044a930
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret 4
push ebx
push edi
push 1
lea edx, [ebp - 0x60]
push edx
call fcn.0044a100
push eax
call fcn.00464660
add esp, 0x10
lea ecx, [ebp - 0x30]
cmp eax, edi
jne 0x445dfb
call fcn.0044a930
lea ecx, [ebp - 0x60]
call fcn.0044a930
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x448a10
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
sub esp, 8
lea eax, [ebp - 8]
push eax
call fcn.00448940
cmp byte [eax + 7], 0xff
jne 0x448a2a
mov eax, dword [eax]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
lea ecx, [ebp - 8]
mov ebx, eax
call fcn.0043f790
cmp ebx, 0xffffffff
je 0x448a50
test bl, 0x10
je 0x448a50
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x448a60
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
sub esp, 8
lea eax, [ebp - 8]
push eax
call fcn.00448940
cmp byte [eax + 7], 0xff
jne 0x448a7a
mov eax, dword [eax]
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [ebp - 8]
mov esi, eax
call fcn.0043f790
neg esi
sbb eax, eax
and eax, 0x7fffbffb
add eax, 0x80004005
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x448b00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov ecx, dword [ebp + 8]
push edi
call fcn.00448900
lea ecx, [ebp - 0x1c]
call fcn.0043f500
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
mov dword [ebp - 0xc], edi
test edi, edi
je 0x448cc5
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SHGetSpecialFolderLocation
push edi
call esi
push 0x485748
push edi
mov ebx, eax
call esi
mov edi, eax
test edi, edi
jne 0x448b5c
mov eax, dword [ebp - 0xc]
push str.SHGetPathFromIDList
push eax
call esi
mov edi, eax
mov ecx, dword [ebp - 0xc]
push str.SHGetMalloc
push ecx
call esi
xor esi, esi
mov dword [ebp - 0x10], eax
cmp ebx, esi
je 0x448cb9
cmp edi, esi
je 0x448cb9
cmp eax, esi
je 0x448cb9
lea edx, [ebp - 4]
push edx
push 0x1c
push esi
mov dword [ebp - 4], esi
call ebx
test eax, eax
jne 0x448bc7
push 0x105
lea ecx, [ebp - 0x1c]
call fcn.00440160
push eax
mov eax, dword [ebp - 4]
push eax
call edi
lea ecx, [ebp - 8]
push ecx
mov dword [ebp - 8], esi
call dword [ebp - 0x10]
test eax, eax
js 0x448c16
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
push ecx
push eax
call edx
jmp 0x448c05
lea eax, [ebp - 4]
push eax
push 0x1a
push esi
call ebx
test eax, eax
jne 0x448c22
push 0x105
lea ecx, [ebp - 0x1c]
call fcn.00440160
mov ecx, dword [ebp - 4]
push eax
push ecx
call edi
lea edx, [ebp - 8]
push edx
mov dword [ebp - 8], esi
call dword [ebp - 0x10]
test eax, eax
js 0x448c16
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
push 0xffffffffffffffff
lea ecx, [ebp - 0x1c]
call fcn.004401f0
jmp 0x448c81
lea eax, [ebp - 8]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersion
push 0x80000002
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x448c81
lea ecx, [ebp - 0x10]
push ecx
push 0x105
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], 0x104
call fcn.00440160
push eax
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x14]
push edx
push esi
push str.ProgramFilesDir
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x1c]
call fcn.004401f0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov cl, byte [ebp - 0x15]
cmp cl, 0xff
je 0x448cd5
xor eax, eax
cmp cl, 7
sete al
test al, al
jne 0x448cb9
mov esi, dword [ebp + 8]
lea edx, [ebp - 0x1c]
push edx
mov ecx, esi
call fcn.00448920
push esi
call fcn.00448a10
add esp, 4
test eax, eax
jne 0x448cb9
push esi
call fcn.00448a60
add esp, 4
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop esi
pop ebx
lea ecx, [ebp - 0x1c]
call fcn.0043f790
mov eax, dword [ebp + 8]
pop edi
mov esp, ebp
pop ebp
ret
cmp byte [ebp - 0x18], 0
jne 0x448c95
cmp byte [ebp - 0x17], 0
jne 0x448c95
cmp byte [ebp - 0x16], 0
je 0x448cb9
jmp 0x448c95
Function at 0x448e50
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
call edx
test eax, eax
je 0x448eda
push 0x4857fc
lea ecx, [esi + 4]
call fcn.0043f620
cmp eax, 0xffffffff
je 0x448eda
add eax, 2
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [esi + 4]
call fcn.0043ff80
xor esi, esi
cmp byte [ebp - 0x11], 0xff
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
lea eax, [ebp - 0x18]
jne 0x448ea0
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 4]
push edx
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 0x10]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x448ed2
cmp dword [ebp - 4], esi
je 0x448ed2
lea ecx, [ebp - 0x18]
call fcn.0043f790
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x18]
call fcn.0043f790
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x448ef0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
push str.TEMP
mov edi, ecx
call fcn.00465f30
add esp, 4
test eax, eax
je 0x448f2f
lea esi, [edi + 4]
push eax
mov ecx, esi
call fcn.0043f8e0
mov eax, dword [edi]
mov edx, dword [eax + 0x24]
mov ecx, edi
call edx
test eax, eax
jne 0x448fe3
mov ecx, esi
call fcn.0043f760
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x448fa0
push 0x104
lea esi, [edi + 4]
push 0x105
mov ecx, esi
call fcn.00440160
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0xffffffffffffffff
mov ecx, esi
call fcn.004401f0
push 0x5c
mov ecx, esi
call fcn.0043f5f0
mov ecx, esi
cmp eax, 0xffffffff
jne 0x448f72
call fcn.0043f760
jmp 0x448f8c
push eax
lea eax, [ebp - 8]
push eax
call fcn.0043ff80
push eax
mov ecx, esi
call fcn.0043f840
lea ecx, [ebp - 8]
call fcn.0043f790
mov edx, dword [edi]
mov eax, dword [edx + 0x24]
mov ecx, edi
call eax
test eax, eax
jne 0x448fe3
mov ecx, esi
call fcn.0043f760
push 0x104
lea esi, [edi + 4]
push 0x105
mov ecx, esi
call fcn.00440160
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
mov ecx, esi
call fcn.004401f0
mov edx, dword [edi]
mov eax, dword [edx + 0x24]
mov ecx, edi
call eax
test eax, eax
jne 0x448fe3
mov ecx, esi
call fcn.0043f760
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x449047
cmp byte [eax], 0
je 0x449047
mov al, byte [esi + 7]
mov ebx, esi
cmp al, 0xff
jne 0x449055
mov ebx, dword [esi]
mov edi, ebx
mov ecx, esi
call fcn.0043f510
add eax, ebx
push eax
push edi
call fcn.00449cb0
add esp, 8
cmp byte [esi + 7], 0xff
mov edi, eax
mov ebx, esi
jne 0x44901b
mov ebx, dword [esi]
mov ecx, esi
call fcn.0043f510
add eax, ebx
lea ecx, [edi + 1]
cmp ecx, eax
jne 0x449030
cmp byte [edi], 0x5c
je 0x44903c
push 0x47e754
mov ecx, esi
call fcn.0043fc10
mov edx, dword [ebp + 0xc]
push edx
mov ecx, esi
call fcn.0043fc10
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edi, esi
jmp 0x448ffc