joyce8/EMBER2024-capa huggingface dataset:
Function at 0x437690
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x470ff8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x491654]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, ecx
mov esi, edx
push ebx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4377d4
test al, 0x10
jne 0x4377d4
push 0x2800
call fcn.00452372
mov dword [ebp - 0x38], eax
add esp, 4
lea edi, [ebp - 0x30]
mov eax, ebx
call fcn.00407030
mov edi, dword [ebp - 0x30]
add eax, edi
mov dword [ebp - 0x30], eax
sub eax, edi
mov dword [ebp - 0x34], edi
cmp eax, 0x1f
jl 0x437743
mov esi, edi
sub esi, str.ru_megamakc_core_JavaArch.class
mov ecx, str.ru_megamakc_core_JavaArch.class
lea esp, [esp]
cmp ecx, 0x47ffab
je 0x4377ac
mov dl, byte [esi + ecx]
cmp dl, byte [ecx]
jne 0x437736
inc ecx
jmp 0x437720
inc dword [ebp - 0x34]
dec eax
inc esi
cmp eax, 0x1f
jge 0x437714
mov esi, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x30]
jae 0x4377b4
push edi
call fcn.004532eb
add esp, 4
push str.JavaArch.class_found
push str.INFO
mov ecx, esi
call fcn.00417c10
mov eax, dword [ebp - 0x40]
mov edi, dword [ebp - 0x38]
push ebx
push eax
push str.__s_binjavaw.exe___classpath___s__ru.megamakc.core.JavaArch
push 0x1400
push edi
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x14
push 0
push 0
push edi
mov ebx, esi
mov ecx, 1
call fcn.00406a50
mov ecx, edi
add esp, 0xc
push ecx
mov esi, eax
call fcn.004532eb
xor eax, eax
add esp, 4
cmp esi, 0x20
sete al
jmp 0x43780b
mov eax, dword [ebp - 0x34]
mov esi, dword [ebp - 0x3c]
jmp 0x437746
push str.JavaArch.class_NOT_FOUND
push str.ERROR
mov ecx, esi
call fcn.00417c10
test edi, edi
je 0x437809
push edi
call fcn.004532eb
add esp, 4
jmp 0x437809
push ebx
lea eax, [ebp - 0x2c]
call fcn.004025ce
push 0x47da48
push eax
mov dword [ebp - 4], 0
call fcn.0040260d
call fcn.00402639
push eax
push str.INFO
mov ecx, esi
call fcn.00417c10
lea ecx, [ebp - 0x2c]
call fcn.004025ff
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00452dc2
mov esp, ebp
pop ebp
ret
Function at 0x437b40
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x473b5f
mov eax, dword fs:[0]
push eax
sub esp, 0x4cc
mov eax, dword [0x491654]
xor eax, esp
mov dword [esp + 0x4c4], eax
push esi
push edi
mov eax, dword [0x491654]
xor eax, esp
push eax
lea eax, [esp + 0x4d8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0xc]
push eax
xor esi, esi
push str._sjre
lea edx, [esp + 0xc4]
mov dword [esp + 0x18], esi
call fcn.00425a40
lea ecx, [esp + 0xc4]
push ecx
push str._s_binclientjvm.dll
lea edx, [esp + 0x2d4]
call fcn.00425a40
add esp, 0x10
lea edx, [esp + 0x2c4]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x437d88
test al, 0x10
jne 0x437d88
push str.Local_Java_is_found__check_version...
push str.INFO
mov ecx, ebx
call fcn.00417c10
lea eax, [esp + 0x2c4]
push eax
push str.INFO
mov ecx, ebx
call fcn.00417c10
push ebx
lea edx, [esp + 0xc0]
lea ecx, [esp + 0x9c]
call fcn.0044c780
add esp, 4
lea eax, [esp + 0x98]
mov dword [esp + 0x4e0], esi
call fcn.00402639
push eax
push str.INFO
mov ecx, ebx
call fcn.00417c10
lea ecx, [esp + 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [esp + 0x54]
call fcn.004025a7
lea eax, [esp + 0x70]
call fcn.004025a7
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], esi
push str.http:__dl.upzona.net_jre_packed.ebz
lea edi, [esp + 0x58]
mov byte [esp + 0x4e4], 3
call fcn.00402628
push esi
push ebx
lea edi, [esp + 0x44]
mov byte [esp + 0x4e8], 4
call fcn.0044c930
lea eax, [esp + 0x18]
mov ecx, edi
call fcn.00437640
lea ecx, [esp + 0x18]
call fcn.004025ff
push str.Local_Java_is_good__use_it
push str.INFO
mov ecx, ebx
call fcn.00417c10
push 0xc8
call fcn.00453347
add esp, 4
test eax, eax
je 0x437ccd
mov esi, eax
call fcn.0042d690
mov esi, eax
jmp 0x437ccf
xor esi, esi
push 0x496460
mov ecx, esi
call fcn.00403b1e
lea eax, [esp + 0xbc]
push eax
lea eax, [esp + 0x1c]
call fcn.004025ce
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esi + 0x8c]
mov byte [esp + 0x4e4], 7
call fcn.00403b1e
lea ecx, [esp + 0x18]
mov byte [esp + 0x4e0], 4
call fcn.004025ff
lea eax, [esp + 0x98]
call fcn.00402639
push eax
lea eax, [esp + 0x1c]
call fcn.004025ce
lea edx, [esp + 0x18]
push edx
lea ecx, [esi + 0x38]
mov byte [esp + 0x4e4], 8
call fcn.00403b1e
lea ecx, [esp + 0x18]
mov byte [esp + 0x4e0], 4
call fcn.004025ff
mov edi, dword [esp + 0x14]
mov ecx, esi
call fcn.00438fa0
lea ecx, [esp + 0x70]
call fcn.004025ff
lea ecx, [esp + 0x54]
call fcn.004025ff
lea eax, [esp + 0x3c]
push eax
call fcn.00401000
lea ecx, [esp + 0x98]
call fcn.004025ff
mov al, 1
jmp 0x437d8a
xor al, al
mov ecx, dword [esp + 0x4d8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x4c4]
xor ecx, esp
call fcn.00452dc2
mov esp, ebp
pop ebp
ret
Function at 0x439600
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x470f78
mov eax, dword fs:[0]
push eax
sub esp, 0x2c0
mov eax, dword [0x491654]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov esi, ecx
lea ecx, [ebp - 0x2b8]
push ecx
xor ebx, ebx
push 0x20019
mov dword [ebp - 0x2c0], eax
push ebx
mov eax, esi
mov dword [ebp - 0x2bc], esi
mov dword [ebp - 4], ebx
call fcn.00402639
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x439886
mov dword [ebp - 0x2b4], ebx
test ebx, ebx
jne 0x439879
mov ecx, dword [ebp - 0x2b4]
push ebx
push ebx
push ebx
push ebx
lea edx, [ebp - 0x2c4]
push edx
mov edx, dword [ebp - 0x2b8]
lea eax, [ebp - 0x224]
push eax
push ecx
push edx
mov dword [ebp - 0x2c4], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ebx, eax
test ebx, ebx
jne 0x439810
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x25c]
call fcn.004025ce
mov byte [ebp - 4], 1
cmp dword [ebp - 0x24c], ebx
je 0x439801
push 0x47ad58
lea eax, [ebp - 0x294]
call fcn.004025ce
mov edi, eax
mov eax, esi
lea esi, [ebp - 0x2b0]
mov byte [ebp - 4], 2
call fcn.0042e710
mov edi, eax
lea eax, [ebp - 0x25c]
lea esi, [ebp - 0x278]
mov byte [ebp - 4], 3
call fcn.00430a50
lea ecx, [ebp - 0x2b0]
call fcn.004025ff
lea ecx, [ebp - 0x294]
mov byte [ebp - 4], 6
call fcn.004025ff
mov ecx, esi
push ecx
lea edx, [ebp - 0x240]
push str.fullKeyPath
push edx
call fcn.0040c240
add esp, 0xc
mov byte [ebp - 4], 7
call fcn.00402639
mov ecx, dword [0x49619c]
push eax
push str.INFO
call fcn.00417c10
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 6
call fcn.004025ff
push str.JavaHome
lea eax, [ebp - 0x240]
call fcn.004025ce
lea edx, [ebp - 0x240]
mov ecx, esi
mov byte [ebp - 4], 8
call fcn.00439b70
lea ecx, [ebp - 0x240]
mov edi, eax
mov byte [ebp - 4], 6
call fcn.004025ff
cmp dword [edi + 0x10], ebx
je 0x4397f6
push 0xc8
call fcn.00453347
add esp, 4
test eax, eax
je 0x4397c0
mov esi, eax
call fcn.0042d690
mov esi, eax
jmp 0x4397c2
xor esi, esi
push 0x4963d4
mov ecx, esi
call fcn.00403b1e
push edi
lea ecx, [esi + 0x8c]
call fcn.00403b1e
lea eax, [ebp - 0x25c]
push eax
lea ecx, [esi + 0x38]
call fcn.00403b1e
mov edi, dword [ebp - 0x2c0]
mov ecx, esi
call fcn.00438fa0
lea ecx, [ebp - 0x278]
call fcn.004025ff
lea ecx, [ebp - 0x25c]
mov byte [ebp - 4], 0
call fcn.004025ff
inc dword [ebp - 0x2b4]
mov esi, dword [ebp - 0x2bc]
jmp 0x439675
mov ecx, dword [ebp - 0x2b8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00452dc2
mov esp, ebp
pop ebp
ret 4
Function at 0x4398b0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x470ef3
mov eax, dword fs:[0]
push eax
sub esp, 0x2d8
mov eax, dword [0x491654]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov esi, ecx
lea ecx, [ebp - 0x2d4]
push ecx
xor ebx, ebx
push 0x20019
mov dword [ebp - 0x2d8], eax
push ebx
mov eax, esi
mov dword [ebp - 0x2dc], esi
mov dword [ebp - 4], ebx
call fcn.00402639
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x439b4d
mov dword [ebp - 0x2d0], ebx
test ebx, ebx
jne 0x439b40
mov ecx, dword [ebp - 0x2d0]
push ebx
push ebx
push ebx
push ebx
lea edx, [ebp - 0x2e0]
push edx
mov edx, dword [ebp - 0x2d4]
lea eax, [ebp - 0x224]
push eax
push ecx
push edx
mov dword [ebp - 0x2e0], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ebx, eax
test ebx, ebx
jne 0x439ad7
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x25c]
call fcn.004025ce
mov byte [ebp - 4], 1
cmp dword [ebp - 0x24c], ebx
je 0x439ac8
push 0x47ad58
lea eax, [ebp - 0x2b0]
call fcn.004025ce
mov edi, eax
mov eax, esi
lea esi, [ebp - 0x2cc]
mov byte [ebp - 4], 2
call fcn.0042e710
mov edi, eax
lea eax, [ebp - 0x25c]
lea esi, [ebp - 0x278]
mov byte [ebp - 4], 3
call fcn.00430a50
lea ecx, [ebp - 0x2cc]
call fcn.004025ff
lea ecx, [ebp - 0x2b0]
mov byte [ebp - 4], 6
call fcn.004025ff
push str.fullKeyPath
lea eax, [ebp - 0x294]
call fcn.004025ce
mov edi, eax
mov eax, esi
lea esi, [ebp - 0x240]
mov byte [ebp - 4], 7
call fcn.00430a50
mov byte [ebp - 4], 8
call fcn.00402639
mov ecx, dword [0x49619c]
push eax
push str.INFO
call fcn.00417c10
mov ecx, esi
call fcn.004025ff
lea ecx, [ebp - 0x294]
mov byte [ebp - 4], 6
call fcn.004025ff
push str.JavaHome
lea eax, [ebp - 0x240]
call fcn.004025ce
lea edx, [ebp - 0x240]
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 9
call fcn.00439b70
lea ecx, [ebp - 0x240]
mov edi, eax
mov byte [ebp - 4], 6
call fcn.004025ff
cmp dword [edi + 0x10], ebx
je 0x439abd
push 0xc8
call fcn.00453347
add esp, 4
test eax, eax
je 0x439a87
mov esi, eax
call fcn.0042d690
mov esi, eax
jmp 0x439a89
xor esi, esi
push 0x496460
mov ecx, esi
call fcn.00403b1e
push edi
lea ecx, [esi + 0x8c]
call fcn.00403b1e
lea ecx, [ebp - 0x25c]
push ecx
lea ecx, [esi + 0x38]
call fcn.00403b1e
mov edi, dword [ebp - 0x2d8]
mov ecx, esi
call fcn.00438fa0
lea ecx, [ebp - 0x278]
call fcn.004025ff
lea ecx, [ebp - 0x25c]
mov byte [ebp - 4], 0
call fcn.004025ff
inc dword [ebp - 0x2d0]
mov esi, dword [ebp - 0x2dc]
jmp 0x439925
mov edx, dword [ebp - 0x2d4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00452dc2
mov esp, ebp
pop ebp
ret 4
Function at 0x43a9b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x491654]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [eax]
mov dword [ebp - 0x20c], eax
cmp ebx, dword [eax + 4]
je 0x43aaa8
push esi
push edi
lea ebx, [ebx]
mov eax, dword [ebx]
mov esi, dword [eax + 4]
push esi
push str.oftwarePinstall_s
push 0x47ab40
call fcn.004089f0
add esp, 8
push eax
lea ecx, [ebp - 0x204]
push 0x100
push ecx
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
push str.fferDate
push 0x47aa04
call fcn.004089f0
add esp, 0x18
add esi, 0xb30
mov edi, eax
je 0x43aa94
push 0
lea edx, [ebp - 0x208]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
lea eax, [ebp - 0x204]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x43aa94
mov eax, esi
lea edx, [eax + 2]
jmp 0x43aa60
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43aa60
sub eax, edx
mov edx, dword [ebp - 0x208]
sar eax, 1
lea ecx, [eax + eax + 2]
push ecx
push esi
push 1
push 0
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x208]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x20c]
add ebx, 4
cmp ebx, dword [ecx + 4]
jne 0x43a9e0
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00452dc2
mov esp, ebp
pop ebp
ret 4

Function at 0x43c700
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x491654]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [ebx], 0
mov eax, dword [ebp + 0xc]
push edi
je 0x43c7e1
push eax
push str._sinit.xml
lea eax, [ebp - 0x210]
push 0x104
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x10
push str.write_init_xml_to
push str.INFO
mov ecx, esi
call fcn.00417c10
lea ecx, [ebp - 0x210]
push ecx
push str.INFO
mov ecx, esi
call fcn.00417c10
push 0
push 0
push 2
push 0
push 0
push 0x40000000
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x43c7ad
mov ecx, dword [ebp + 8]
push 0
lea eax, [ebp - 0x414]
push eax
push ecx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00452dc2
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.createInitXml__d
lea edx, [ebp - 0x410]
push 0x100
push edx
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x10
lea eax, [ebp - 0x410]
push eax
push str.ERROR
mov ecx, esi
call fcn.00417c10
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00452dc2
mov esp, ebp
pop ebp
ret
Function at 0x43e3c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4738d8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x491654]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edi, edi
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], edi
call fcn.00407c60
mov ecx, dword [ebp + 0xc]
push 1
push edi
push edi
push 0x36ee80
push ecx
push 2
push edi
sub esp, 0x1c
mov dword [ebp - 4], edi
mov dword [ebp - 0x34], esp
mov edi, esp
push ecx
mov eax, esp
xor esi, esi
mov dword [ebp - 0x38], esp
call fcn.00403325
mov eax, edi
call fcn.004025a4
push esi
push esi
call fcn.004032db
push 0xffffffffffffffff
lea edx, [ebp - 0x2c]
push edx
xor eax, eax
mov ecx, edi
call fcn.004031db
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 1
mov ecx, dword [eax + 4]
sub esp, 0x1c
add ecx, 0x880
mov eax, esp
mov dword [ebp - 0x38], esp
push ecx
call fcn.004025ce
push str.artnerUtilId
push 0x47be58
mov byte [ebp - 4], 2
call fcn.004089f0
sub esp, 0x14
mov edx, esp
mov dword [ebp - 0x30], esp
push eax
mov eax, edx
call fcn.004025ce
push ebx
mov ecx, esi
mov byte [ebp - 4], 0
call fcn.00448c00
add esp, 0x74
mov eax, ebx
call fcn.00402639
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43e4a9
test al, 0x10
je 0x43e4b2
xor esi, esi
mov eax, ebx
call fcn.004032be
lea ecx, [ebp - 0x2c]
call fcn.004025ff
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00452dc2
mov esp, ebp
pop ebp
ret
Function at 0x442350
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46ed9c
mov eax, dword fs:[0]
push eax
mov eax, 0x1094
call fcn.004675f0
mov eax, dword [0x491654]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x1090], eax
mov dword [ebp - 0x108c], ecx
mov dword [ebp - 0x1094], esi
call fcn.004025a7
mov dword [ebp - 4], esi
mov ebx, 1
push 0x48
mov dword [ebp - 0x1094], ebx
mov dword [ebp - 0x1080], esi
call fcn.00453347
add esp, 4
cmp eax, esi
je 0x4425b0
mov dword [ebp - 0x1084], eax
mov dword [eax], eax
mov eax, dword [ebp - 0x1084]
mov dword [eax + 4], eax
mov eax, dword [ebp - 0x1084]
mov dword [eax + 8], eax
mov edx, dword [ebp - 0x1084]
mov byte [edx + 0x44], bl
mov eax, dword [ebp - 0x1084]
mov byte [eax + 0x45], bl
lea ecx, [ebp - 0x1010]
push ecx
push esi
push esi
push 0x1c
push esi
mov dword [ebp - 4], ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea edx, [ebp - 0x1010]
push edx
lea eax, [ebp - 0x102c]
call fcn.004025ce
mov esi, eax
push str.localappdata
lea eax, [ebp - 0x1048]
mov byte [ebp - 4], 2
call fcn.004025ce
mov edx, eax
lea ecx, [ebp - 0x1088]
mov byte [ebp - 4], 3
call fcn.004225d0
mov edi, eax
mov eax, esi
call fcn.00403325
mov esi, eax
mov eax, edi
call fcn.00403979
lea ecx, [ebp - 0x1048]
call fcn.004025ff
lea ecx, [ebp - 0x102c]
mov byte [ebp - 4], bl
call fcn.004025ff
push 0x800
lea eax, [ebp - 0x1010]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea ecx, [ebp - 0x1010]
push ecx
lea eax, [ebp - 0x1048]
call fcn.004025ce
mov esi, eax
push str.windir
lea eax, [ebp - 0x102c]
mov byte [ebp - 4], 4
call fcn.004025ce
mov edx, eax
lea ecx, [ebp - 0x1088]
mov byte [ebp - 4], 5
call fcn.004225d0
mov edi, eax
mov eax, esi
call fcn.00403325
mov esi, eax
mov eax, edi
call fcn.00403979
lea ecx, [ebp - 0x102c]
call fcn.004025ff
lea ecx, [ebp - 0x1048]
mov byte [ebp - 4], bl
call fcn.004025ff
lea edx, [ebp - 0x1078]
push edx
lea ecx, [ebp - 0x1088]
call fcn.0043d360
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x108c]
push eax
lea eax, [ebp - 0x102c]
call fcn.004025ce
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x1090]
push ecx
push eax
lea edx, [ebp - 0x1078]
push edx
call fcn.004435b0
lea ecx, [ebp - 0x102c]
call fcn.004025ff
mov eax, dword [ebp - 0x1078]
test eax, eax
je 0x442547
push eax
call fcn.004532eb
add esp, 4
mov dword [ebp - 0x1078], 0
lea edi, [ebp - 0x1054]
call fcn.0043ed10
lea ecx, [ebp - 0x1074]
call fcn.004025ff
mov dword [ebp - 4], 8
mov eax, dword [ebp - 0x1084]
mov ecx, dword [eax]
push eax
push ecx
lea edi, [ebp - 0x108c]
lea esi, [ebp - 0x1088]
call fcn.00422780
mov eax, dword [ebp - 0x1084]
push eax
call fcn.004532eb
mov eax, dword [ebp - 0x1090]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00452dc2
mov esp, ebp
pop ebp
ret
push esi
lea ecx, [ebp - 0x10a0]
call fcn.00401039
push 0x487c0c
lea ecx, [ebp - 0x10a0]
push ecx
call fcn.00456da1
int3
Function at 0x442650
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x470b38
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x491654]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.Wow64DisableWow64FsRedirection
push str.kernel32.dll
mov esi, ecx
mov dword [ebp - 0x34], 0
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
test eax, eax
je 0x4426a9
lea ecx, [ebp - 0x34]
push ecx
call eax
lea eax, [esi + 4]
call fcn.00402639
lea edx, [ebp - 0x2c]
push edx
mov ecx, eax
call fcn.00442350
add esp, 4
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.00402639
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4426e2
mov byte [ebp - 0x2d], 1
test al, 0x10
je 0x4426e6
mov byte [ebp - 0x2d], 0
push str.Wow64RevertWow64FsRedirection
push str.kernel32.dll
call edi
push eax
call ebx
test eax, eax
je 0x4426ff
lea ecx, [ebp - 0x34]
push ecx
call eax
lea ecx, [ebp - 0x2c]
call fcn.004025ff
mov al, byte [ebp - 0x2d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00452dc2
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x470b38
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x491654]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.Wow64DisableWow64FsRedirection
push str.kernel32.dll
mov esi, ecx
mov dword [ebp - 0x34], 0
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
test eax, eax
je 0x442809
lea ecx, [ebp - 0x34]
push ecx
call eax
lea eax, [esi + 4]
call fcn.00402639
lea edx, [ebp - 0x2c]
push edx
mov ecx, eax
call fcn.00442350
add esp, 4
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.00402639
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x442842
mov byte [ebp - 0x2d], 1
test al, 0x10
jne 0x442846
mov byte [ebp - 0x2d], 0
push str.Wow64RevertWow64FsRedirection
push str.kernel32.dll
call edi
push eax
call ebx
test eax, eax
je 0x44285f
lea ecx, [ebp - 0x34]
push ecx
call eax
lea ecx, [ebp - 0x2c]
call fcn.004025ff
mov al, byte [ebp - 0x2d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00452dc2
mov esp, ebp
pop ebp
ret
Function at 0x443a80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x443b2a
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x443a92
push ebx
sub eax, edx
sar eax, 1
push esi
mov ebx, eax
push edi
lea edi, [ebx + 1]
push edi
call fcn.00452372
push ebx
mov esi, eax
push 0
push esi
call fcn.0045e9a0
add esp, 0x10
test edi, edi
je 0x443aed
mov ecx, dword [ebp + 0xc]
lea eax, [ebp + 0xc]
push eax
push 0
push edi
push esi
push 0xffffffffffffffff
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, edi
jae 0x443ae3
mov byte [eax + esi], 0
jmp 0x443aed
cmp byte [edi + esi - 1], 0
je 0x443aed
mov byte [esi], 0
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x443af2
mov edi, dword [ebp + 8]
sub eax, edx
push 0
lea edx, [ebp - 4]
push edx
push eax
mov eax, dword [edi]
push esi
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call fcn.004532eb
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret 8
Function at 0x444060
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
push str.getHDDSerialAlternate_start
push str.INFO
mov ecx, esi
mov edi, eax
call fcn.00417c10
push 0
push 0
push 0
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov edx, dword [ebp - 4]
mov ecx, 0x5f
push 0xa
mov word [edi], cx
push 0xff
add edi, 2
push edi
push edx
call fcn.004538dd
add esp, 0x10
push str.getHDDSerialAlternate_end
push str.INFO
mov ecx, esi
call fcn.00417c10
pop edi
mov esp, ebp
pop ebp
ret