joyce8/EMBER2024-capa huggingface dataset:
Function at 0x442409
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 4]
push edi
push eax
xor edi, edi
mov ebx, 0xf013f
push ebx
push edi
push dword [ebp + 0xc]
mov dword [ebp - 4], edi
push reloc.WS2_32.dll_closesocket
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], edi
call esi
test eax, eax
jne 0x4424e1
lea eax, [ebp - 8]
push eax
push ebx
push edi
push str.SoftWare
push dword [ebp - 4]
call esi
test eax, eax
je 0x442462
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4424e1
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [ebp - 0xc]
push edi
push eax
push edi
push ebx
push edi
push edi
push edi
push dword [ebp + 8]
push dword [ebp - 8]
call esi
test eax, eax
je 0x442486
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4424d7
push edi
lea eax, [ebp - 0x10]
push eax
push edi
push ebx
push edi
push edi
push edi
push dword [ebp + 0x10]
push dword [ebp - 0xc]
call esi
test eax, eax
je 0x4424a4
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4424d2
push dword [ebp + 0x18]
call fcn.004afdb1
pop ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp + 0x18]
push 1
push edi
push dword [ebp + 0x14]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0xc]
call esi
push dword [ebp - 8]
call esi
push dword [ebp - 4]
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4424e8
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
lea eax, [ebp - 0xc]
xor edi, edi
push eax
mov ebx, 0xf013f
mov dword [ebp - 0xc], edi
push ebx
push edi
push str.SoftWare
push reloc.WS2_32.dll_accept
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4425a5
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [ebp - 8]
push edi
push eax
push edi
push ebx
push edi
push edi
push edi
push dword [ebp + 8]
push dword [ebp - 0xc]
call esi
test eax, eax
je 0x442546
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4425a4
push edi
lea eax, [ebp - 4]
push eax
push edi
push ebx
push edi
push edi
push edi
push dword [ebp + 0xc]
push dword [ebp - 8]
call esi
test eax, eax
je 0x44256c
push dword [ebp - 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 4]
jmp 0x4425a2
push dword [ebp + 0x14]
call fcn.004afdb1
pop ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp + 0x14]
push 1
push edi
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 8]
call esi
push dword [ebp - 0xc]
call esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4430c3
Capabilities:
Check os version

Disassembly:
push 0x34c
mov eax, 0x5e6231
call fcn.0043c88f
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x330]
xor ebx, ebx
mov dword [ebp - 0x358], esi
push 0x118
push ebx
mov dword [ebp - 0x350], ebx
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x334], 0x11c
call fcn.004ac380
add esp, 0xc
lea eax, [ebp - 0x334]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 0x5f76b0
mov ecx, esi
call fcn.00404a20
mov eax, dword [ebp - 0x330]
mov dword [ebp - 0x34c], eax
movzx eax, byte [ebp - 0x21a]
mov dword [ebp - 0x354], eax
mov eax, dword [ebp - 0x328]
mov dword [ebp - 0x338], eax
mov eax, dword [ebp - 0x32c]
push str.ntdll.dll
mov dword [ebp - 4], ebx
mov dword [ebp - 0x350], 1
mov dword [ebp - 0x340], ebx
mov dword [ebp - 0x344], ebx
mov dword [ebp - 0x33c], ebx
mov dword [ebp - 0x348], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x4431ba
push str.RtlGetNtVersionNumbers
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4431b3
lea ecx, [ebp - 0x33c]
push ecx
lea ecx, [ebp - 0x344]
push ecx
lea ecx, [ebp - 0x340]
push ecx
call eax
movzx eax, word [ebp - 0x33c]
mov dword [ebp - 0x33c], eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x34c]
cmp eax, 5
jne 0x4431ec
mov eax, dword [ebp - 0x348]
test eax, eax
je 0x4432b8
cmp eax, 1
jne 0x4431e2
mov edi, str.WindowsXP
jmp 0x4432a8
mov edi, str.WindowsServer2003
jmp 0x4432a8
cmp eax, 6
jne 0x4432b8
mov eax, dword [ebp - 0x348]
sub eax, ebx
je 0x443295
sub eax, 1
je 0x44328e
mov edi, dword [ebp - 0x338]
sub eax, 1
jne 0x4432be
cmp edi, 0x1ebb
jne 0x44322a
mov edi, str.Windows8
jmp 0x4432a8
lea eax, [edi - 0x1ee6]
cmp eax, 0x25
jbe 0x443223
cmp edi, 0x1f13
je 0x443223
cmp dword [ebp - 0x340], 0xa
jne 0x443262
cmp dword [ebp - 0x344], 0
jne 0x4432be
push str.Windows10
call fcn.004afdb1
pop ecx
push eax
push str.Windows10
jmp 0x443285
cmp dword [ebp - 0x340], 6
jne 0x4432be
cmp dword [ebp - 0x344], 3
jne 0x4432be
push str.Windows8.1
call fcn.004afdb1
pop ecx
push eax
push str.Windows8.1
mov ecx, esi
call fcn.00406980
jmp 0x4432be
mov edi, str.Windows7
jmp 0x4432a8
cmp dword [ebp - 0x354], 1
mov edi, str.WindowsVista
je 0x4432a8
mov edi, str.WindowsServer2008
push edi
call fcn.004afdb1
pop ecx
push eax
push edi
mov ecx, esi
call fcn.00406980
mov edi, dword [ebp - 0x338]
push 0x5f76b0
mov ecx, esi
call fcn.00406c30
test eax, eax
jne 0x44332c
push 0x208
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.004ac380
mov eax, dword [ebp - 0x34c]
push edi
push dword [ebp - 0x348]
push eax
lea eax, [ebp - 0x218]
push str.Windows_d._d._d
push eax
call fcn.00411570
add esp, 0x20
cmp word [ebp - 0x218], 0
jne 0x443310
mov eax, ebx
jmp 0x44331d
lea eax, [ebp - 0x218]
push eax
call fcn.004afdb1
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00406980
cmp dword [ebp + 0xc], 0
je 0x44335a
cmp word [ebp - 0x320], 0
je 0x44334b
lea eax, [ebp - 0x320]
push eax
call fcn.004afdb1
pop ecx
mov ebx, eax
push ebx
lea eax, [ebp - 0x320]
mov ecx, esi
push eax
call fcn.00406670
mov eax, esi
call fcn.0043c839
ret
Function at 0x443362
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x66a344]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, 0x11c
lea eax, [ebp - 0x120]
push esi
push 0
push eax
call fcn.004ac380
add esp, 0xc
mov dword [ebp - 0x120], esi
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 0xa
mov ecx, dword [ebp - 4]
sbb eax, eax
xor ecx, ebp
inc eax
pop esi
call fcn.0043c1bd
mov esp, ebp
pop ebp
ret

Function at 0x4433b9
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x66a344]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, 0x11c
lea eax, [ebp - 0x120]
push esi
push 0
push eax
call fcn.004ac380
add esp, 0xc
mov dword [ebp - 0x120], esi
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
pop esi
jb 0x44340f
cmp dword [ebp - 0x118], 2
jb 0x44340f
xor eax, eax
inc eax
jmp 0x443419
cmp dword [ebp - 0x11c], 0xa
sbb eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043c1bd
mov esp, ebp
pop ebp
ret

Function at 0x443463
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push esi
xor ecx, ecx
xor edx, edx
xor esi, esi
push edi
cmp dword [ebp + 0xc], ecx
jle 0x443544
mov edi, dword [ebp + 8]
mov al, byte [esi + edi]
cmp al, 0x3d
jne 0x443487
inc edx
cmp edx, 2
jg 0x4434c5
cmp al, 0x7f
ja 0x4434c5
movzx eax, al
mov al, byte [eax + 0x5fbca8]
cmp al, 0x7f
je 0x4434c5
cmp al, 0x40
jae 0x4434a0
test edx, edx
jne 0x4434c5
inc ecx
inc esi
cmp esi, dword [ebp + 0xc]
jl 0x44347a
test ecx, ecx
je 0x443544
mov edi, dword [ebp + 0x14]
imul eax, ecx, 6
add eax, 7
sar eax, 3
cmp dword [edi], eax
jge 0x4434ca
mov dword [edi], eax
push 0xfffffffffffffff0
jmp 0x4434c7
push 0xffffffffffffffee
pop eax
jmp 0x443546
mov edx, dword [ebp + 0x10]
xor eax, eax
push ebx
xor ebx, ebx
mov dword [ebp + 0xc], eax
test esi, esi
jle 0x44353e
mov eax, dword [ebp + 8]
push 3
pop edi
movzx eax, byte [eax]
mov cl, byte [eax + 0x5fbca8]
xor eax, eax
cmp cl, 0x40
sete al
shl ebx, 6
sub edi, eax
movzx eax, cl
mov ecx, dword [ebp + 0xc]
and eax, 0x3f
or ebx, eax
inc ecx
mov dword [ebp + 0xc], ecx
cmp ecx, 4
jne 0x44352f
xor eax, eax
mov dword [ebp + 0xc], eax
test edi, edi
jle 0x44351a
mov eax, ebx
shr eax, 0x10
mov byte [edx], al
inc edx
cmp edi, 1
jle 0x443527
mov eax, ebx
shr eax, 8
mov byte [edx], al
inc edx
cmp edi, 2
jle 0x44352f
mov byte [edx], bl
inc edx
mov eax, dword [ebp + 8]
dec esi
inc eax
mov dword [ebp + 8], eax
test esi, esi
jg 0x4434df
mov edi, dword [ebp + 0x14]
sub edx, dword [ebp + 0x10]
mov dword [edi], edx
pop ebx
xor eax, eax
pop edi
pop esi
pop ebp
ret
Function at 0x44354a
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
jne 0x44355e
xor eax, eax
jmp 0x44369c
mov eax, ebx
shl eax, 3
push 6
pop ecx
cdq
idiv ecx
mov edx, ebx
imul ecx, eax, 6
shl edx, 3
push 3
sub edx, ecx
dec edx
pop ecx
sub edx, 1
je 0x443587
dec edx
sub edx, 1
jne 0x443589
add eax, 2
jmp 0x443589
add eax, ecx
push esi
mov esi, dword [ebp + 0x14]
inc eax
cmp dword [esi], eax
jge 0x44359c
push 0xfffffffffffffff0
mov dword [esi], eax
pop eax
jmp 0x44369b
mov eax, ebx
cdq
idiv ecx
xor ecx, ecx
imul eax, eax, 3
push edi
mov edi, dword [ebp + 0x10]
test eax, eax
jle 0x443632
dec eax
mov ebx, dword [ebp + 8]
xor edx, edx
push 3
pop ecx
div ecx
inc eax
imul ecx, eax, 3
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
movzx ecx, byte [ebx]
movzx edx, byte [ebx + 1]
mov eax, ecx
movzx esi, byte [ebx + 2]
add ebx, 3
shr eax, 2
shl ecx, 4
mov al, byte [eax + 0x5fbc68]
mov byte [edi], al
mov eax, edx
shr eax, 4
add eax, ecx
and eax, 0x3f
mov al, byte [eax + 0x5fbc68]
mov byte [edi + 1], al
mov eax, esi
shr eax, 6
and esi, 0x3f
lea eax, [eax + edx*4]
and eax, 0x3f
mov al, byte [eax + 0x5fbc68]
mov byte [edi + 2], al
mov al, byte [esi + 0x5fbc68]
mov byte [edi + 3], al
add edi, 4
sub dword [ebp - 4], 1
jne 0x4435c7
mov esi, dword [ebp + 0x14]
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], ebx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
jmp 0x443635
mov eax, dword [ebp + 8]
cmp ecx, ebx
jge 0x44368e
movzx edx, byte [eax]
inc ecx
mov dword [ebp + 0xc], ecx
cmp ecx, ebx
jge 0x44364a
movzx ecx, byte [eax + 1]
jmp 0x44364c
xor ecx, ecx
mov eax, edx
shl edx, 4
shr eax, 2
mov al, byte [eax + 0x5fbc68]
mov byte [edi], al
mov eax, ecx
shr eax, 4
add eax, edx
and eax, 0x3f
mov al, byte [eax + 0x5fbc68]
mov byte [edi + 1], al
cmp dword [ebp + 0xc], ebx
jge 0x443683
and ecx, 0xf
mov al, byte [ecx*4 + 0x5fbc68]
mov byte [edi + 2], al
jmp 0x443687
mov byte [edi + 2], 0x3d
mov byte [edi + 3], 0x3d
add edi, 4
mov eax, edi
sub eax, dword [ebp + 0x10]
mov dword [esi], eax
xor eax, eax
mov byte [edi], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x443880
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x30
mov eax, 0x5e62dd
call fcn.0043c85b
xor esi, esi
mov dword [ebp - 0x18], 0x104
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
call fcn.00449567
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], esi
call fcn.0044959b
test eax, eax
mov edi, 0xf013f
lea eax, [ebp - 0x10]
push eax
jne 0x4438c0
mov edi, 0xf003f
push edi
push esi
push str.SoftWare
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x443922
push esi
lea eax, [ebp - 0x14]
push eax
push esi
push edi
push esi
push esi
push esi
push str.Doyo
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x4438fd
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x443922
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0xc]
push esi
push esi
push dword [ebp + 8]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x10]
call esi
lea ecx, [ebp - 0x3c]
call fcn.0044957a
call fcn.0043c824
ret 8

Function at 0x443a4e
Capabilities:
Read .ini file

Disassembly:
push 0x82c
mov eax, 0x5e631a
call fcn.0043c88f
mov edi, ecx
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x830], eax
mov eax, dword [ebp + 0x10]
push 0x800
mov dword [ebp - 0x82c], eax
lea eax, [ebp - 0x810]
push ecx
push eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0x838], esi
mov dword [ebp - 0x834], ecx
call fcn.004ac380
lea eax, [edi + 0x6c]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x443aa8
mov eax, dword [eax]
push eax
push 0x400
lea eax, [ebp - 0x810]
push eax
push ebx
push dword [ebp - 0x82c]
push dword [ebp - 0x830]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x810]
mov ecx, esi
push eax
call fcn.00404a20
and dword [ebp - 4], 0
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x834], 1
jb 0x443aee
mov eax, dword [esi]
jmp 0x443af0
mov eax, esi
push ebx
push eax
call fcn.004b3755
pop ecx
pop ecx
test eax, eax
jne 0x443b3c
cmp byte [edi + 1], 0
lea eax, [ebp - 0x828]
push ebx
push dword [ebp - 0x82c]
mov ecx, edi
push dword [ebp - 0x830]
push eax
je 0x443b20
call fcn.0044395e
jmp 0x443b25
call fcn.00443a18
push eax
mov ecx, esi
call fcn.00404da0
push 0
push 1
lea ecx, [ebp - 0x828]
call fcn.00406160
mov eax, esi
call fcn.0043c839
ret 0x10
Function at 0x4446d0
Capabilities:
Read .ini file

Disassembly:
push 0x23c
mov eax, 0x5e63b7
call fcn.0043c88f
mov ebx, ecx
call fcn.00443932
lea edi, [ebx + 0x84]
push eax
mov ecx, edi
call fcn.00406950
mov esi, str.Doyo.ini
push esi
call fcn.004afdb1
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00406670
push str.dyyxgf
push 0x5fbe20
push str.DYAppInfo
lea eax, [ebp - 0x248]
mov ecx, ebx
push eax
call fcn.004439ee
and dword [ebp - 4], 0
lea esi, [ebx + 0x9c]
lea eax, [ebp - 0x248]
cmp esi, eax
je 0x444746
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.004068b0
push str.dyyxgf
mov ecx, esi
call fcn.00406c30
test eax, eax
jne 0x4447c2
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004ac380
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x444773
mov edi, dword [edi]
push edi
push 0x104
lea eax, [ebp - 0x218]
mov edi, str.dyyxgf
push eax
push edi
push 0x5fbe20
push str.DYAppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x218], 0
jne 0x4447a4
xor eax, eax
jmp 0x4447b1
lea eax, [ebp - 0x218]
push eax
call fcn.004afdb1
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00406980
jmp 0x4447c7
mov edi, str.dyyxgf
push edi
mov ecx, esi
call fcn.00406c30
test eax, eax
jne 0x44488a
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004ac380
add esp, 0xc
lea eax, [ebx + 0x3c]
lea ecx, [ebp - 0x230]
push eax
call fcn.00404990
push str.Doyo.ini
mov byte [ebp - 4], 1
call fcn.004afdb1
pop ecx
push eax
push str.Doyo.ini
lea ecx, [ebp - 0x230]
call fcn.00406670
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push edi
push 0x5fbe20
push str.DYAppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x218], 0
jne 0x44485b
xor eax, eax
jmp 0x444868
lea eax, [ebp - 0x218]
push eax
call fcn.004afdb1
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00406980
push 0
push 1
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0
call fcn.00406160
push edi
mov ecx, esi
call fcn.00406c30
test eax, eax
jne 0x4448c6
push edi
push 0x5fbe20
push str.DYAppInfo
lea eax, [ebp - 0x230]
mov ecx, ebx
push eax
call fcn.00443a4e
push eax
mov ecx, esi
call fcn.00404da0
push 0
push 1
lea ecx, [ebp - 0x230]
call fcn.00406160
push 0
push 1
lea ecx, [ebp - 0x248]
call fcn.00406160
call fcn.0043c839
ret
Function at 0x448b0f
Capabilities:
Get mac address on windows

Disassembly:
push 0x58
mov eax, 0x5e6a8f
call fcn.0043c88f
mov esi, dword [ebp + 8]
and dword [ebp - 0x64], 0
push 0x288
mov dword [ebp - 0x54], 4
call fcn.004b4d29
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x448b4b
push 0x5f9af8
mov ecx, esi
call fcn.004048a0
jmp 0x448cb3
lea eax, [ebp - 0x54]
push eax
push ebx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x448b70
push ebx
call fcn.004b4d24
push dword [ebp - 0x54]
call fcn.004b4d29
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x448b3a
xor eax, eax
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x38], al
mov dword [ebp - 4], eax
lea eax, [ebp - 0x54]
push eax
push ebx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x448c88
mov byte [ebp - 0x20], al
lea edi, [ebp - 0x1f]
stosd dword es:[edi], eax
xor ecx, ecx
mov dword [ebp - 0x60], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
and dword [ebp - 0x58], eax
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 1
mov edi, ebx
test ebx, ebx
je 0x448c61
movzx eax, byte [edi + 0x199]
push eax
movzx eax, byte [edi + 0x198]
push eax
movzx eax, byte [edi + 0x197]
push eax
movzx eax, byte [edi + 0x196]
push eax
movzx eax, byte [edi + 0x195]
push eax
movzx eax, byte [edi + 0x194]
push eax
lea eax, [ebp - 0x20]
push str._02X_02X_02X_02X_02X_02X
push eax
call fcn.0040cc10
lea eax, [edi + 0x10c]
push eax
call fcn.005e16e4
push 0x5fc284
push eax
call fcn.004af070
add esp, 0x2c
test eax, eax
jne 0x448cbd
cmp dword [edi + 0x1a0], 0x47
je 0x448cbd
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x50]
call fcn.004048a0
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x60]
call fcn.004072c0
push 0
push 1
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 1
call fcn.004060a0
mov edi, dword [edi]
test edi, edi
jne 0x448bb8
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x60]
sub eax, ecx
push 0x18
cdq
pop edi
idiv edi
test eax, eax
je 0x448c80
lea eax, [ebp - 0x38]
cmp eax, ecx
je 0x448c80
push 0xffffffffffffffff
push 0
push ecx
mov ecx, eax
call fcn.00406740
lea ecx, [ebp - 0x60]
call fcn.00406220
push ebx
call fcn.004b4d24
pop ecx
xor ebx, ebx
mov dword [esi + 0x14], 0xf
lea eax, [ebp - 0x38]
mov dword [esi + 0x10], ebx
push eax
mov ecx, esi
mov byte [esi], bl
call fcn.004051e0
push ebx
push 1
lea ecx, [ebp - 0x38]
call fcn.004060a0
mov eax, esi
call fcn.0043c839
ret 4
cmp byte [ebp - 0x20], 0
jne 0x448cc7
xor eax, eax
jmp 0x448cd1
lea eax, [ebp - 0x20]
push eax
call fcn.004b03d0
pop ecx
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x38]
call fcn.00406810
jmp 0x448c80
Function at 0x448cfd
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6a4
mov eax, dword [0x66a344]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
mov esi, dword [ebp + 8]
mov word [ebp - 0x18], ax
lea edi, [ebp - 0x16]
stosd dword es:[edi], eax
and dword [ebp - 0x6a4], 0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x284]
mov edi, 0x208
push edi
push 0
push eax
call fcn.004ac380
add esp, 0xc
lea eax, [ebp - 0x284]
mov ebx, 0x104
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x5fc294
call fcn.004afdb1
push eax
lea eax, [ebp - 0x284]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004c0cc4
push edi
lea eax, [ebp - 0x694]
push 0
push eax
call fcn.004ac380
push edi
xor edi, edi
lea eax, [ebp - 0x48c]
push edi
push eax
call fcn.004ac380
push 0x64
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x698], edi
push edi
push eax
mov dword [ebp - 0x6a0], edi
mov dword [ebp - 0x69c], edi
call fcn.004ac380
add esp, 0x34
lea eax, [ebp - 0x48c]
push ebx
push eax
lea eax, [ebp - 0x69c]
push eax
lea eax, [ebp - 0x6a0]
push eax
lea eax, [ebp - 0x698]
push eax
push ebx
lea eax, [ebp - 0x694]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x448dfb
push dword [ebp - 0x698]
lea eax, [ebp - 0x7c]
push str._08X
push eax
call fcn.0040cc10
add esp, 0xc
lea eax, [ebp - 0x7c]
mov ecx, esi
push eax
call fcn.004048a0
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043c1bd
mov esp, ebp
pop ebp
ret 4
Function at 0x449198
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2038
call fcn.0043c1d0
mov eax, dword [0x66a344]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x208
lea eax, [ebp - 0x61c]
push esi
xor edi, edi
push edi
push eax
call fcn.004ac380
push 0x5fc2ac
mov ebx, 0x104
lea eax, [ebp - 0x61c]
push ebx
push eax
call fcn.004c0d07
push 0x800
lea eax, [ebp - 0x1028]
push edi
push eax
call fcn.004ac380
push str.Doyo
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push str._s_s.log
push eax
call fcn.0044915c
push esi
lea eax, [ebp - 0x824]
push edi
push eax
call fcn.004ac380
add esp, 0x40
lea eax, [ebp - 0x20c]
push esi
push edi
push eax
call fcn.004ac380
add esp, 0xc
lea eax, [ebp - 0x20c]
push ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.004adc5a
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop ecx
pop ecx
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x414]
push eax
call ebx
test eax, eax
je 0x4493da
lea eax, [ebp - 0x20c]
push eax
call fcn.004afdb1
lea ecx, [ebp - 0x20a]
lea eax, [ecx + eax*2]
push eax
lea eax, [ebp - 0x824]
push 0x104
push eax
call fcn.004c0d07
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push str._s_s.txt
push eax
call fcn.0044915c
lea eax, [ebp + 0xc]
push eax
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x1028]
push 0x3ff
push 0x400
push eax
call fcn.00443092
push edi
call fcn.004b4b52
mov dword [ebp - 0x2038], eax
lea eax, [ebp - 0x2038]
push eax
mov dword [ebp - 0x2034], edx
call fcn.004c1285
add esp, 0x40
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea ecx, [ebp - 0x1028]
push ecx
push eax
push dword [esi]
mov eax, dword [esi + 0x10]
push dword [esi + 4]
inc eax
push dword [esi + 8]
push dword [esi + 0xc]
push eax
mov eax, dword [esi + 0x14]
add eax, 0x76c
push eax
lea eax, [ebp - 0x2028]
push str.__d__d__d__d__d__d___d_:_s
push eax
call fcn.0044917a
xor eax, eax
add esp, 0x28
mov word [ebp - 0x82a], ax
lea eax, [ebp - 0x414]
push eax
call ebx
xor ebx, ebx
inc ebx
test eax, eax
lea eax, [ebp - 0x414]
push 0x5fc2e4
push eax
cmovne edi, ebx
call fcn.004bc8f8
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4493da
test edi, edi
jne 0x449380
push esi
push 2
lea eax, [ebp - 0x2030]
mov dword [ebp - 0x2030], 0xfeff
push ebx
push eax
call fcn.004c0fa3
add esp, 0x10
lea eax, [ebp - 0x2028]
push eax
call fcn.004afdb1
push esi
add eax, eax
push eax
lea eax, [ebp - 0x2028]
push ebx
push eax
call fcn.004c0fa3
push esi
push 2
lea eax, [ebp - 0x202c]
mov dword [ebp - 0x202c], 0xd
push ebx
push eax
call fcn.004c0fa3
push esi
push 2
lea eax, [ebp - 0x202c]
mov dword [ebp - 0x202c], 0xa
push ebx
push eax
call fcn.004c0fa3
push esi
call fcn.004bc99c
add esp, 0x38
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043c1bd
mov esp, ebp
pop ebp
ret