joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4418f0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56f3b0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5e2500]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], ecx
lea ecx, [ebp - 0x18]
call fcn.00401fd0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x14]
call fcn.00401fd0
mov byte [ebp - 4], 1
push 0x58df6c
lea eax, [ebp - 0x14]
push eax
call fcn.00403430
add esp, 8
mov ecx, dword [ebp - 0x28]
add ecx, 0xec
call fcn.004018f0
push eax
push 0x400
push 0x400
lea ecx, [ebp - 0x18]
call fcn.004025f0
push eax
push 0x58df90
lea ecx, [ebp - 0x14]
call fcn.004018f0
push eax
push 0x58df94
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.00401cf0
lea ecx, [ebp - 0x18]
call fcn.00401f20
movzx ecx, al
test ecx, ecx
jne 0x441ad1
push 0x18
call fcn.0044a464
add esp, 4
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x24], 0
je 0x4419c7
mov ecx, dword [ebp - 0x24]
call fcn.0043e690
mov dword [ebp - 0x2c], eax
jmp 0x4419ce
mov dword [ebp - 0x2c], 0
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x20], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x1c]
add ecx, 4
call fcn.00403d00
mov edx, dword [ebp - 0x1c]
mov ax, word [ebp - 0x10]
mov word [edx + 0x10], ax
push str.Action1
lea ecx, [ebp - 0x14]
push ecx
call fcn.00403430
add esp, 8
mov ecx, dword [ebp - 0x28]
add ecx, 0xec
call fcn.004018f0
push eax
push 0x400
push 0x400
lea ecx, [ebp - 0x18]
call fcn.004025f0
push eax
push 0x58dfbc
lea ecx, [ebp - 0x14]
call fcn.004018f0
push eax
push 0x58dfc0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.00401cf0
lea edx, [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x1c]
add ecx, 8
call fcn.00403d00
push str.Action1Message
lea eax, [ebp - 0x14]
push eax
call fcn.00403430
add esp, 8
mov ecx, dword [ebp - 0x28]
add ecx, 0xec
call fcn.004018f0
push eax
push 0x400
push 0x400
lea ecx, [ebp - 0x18]
call fcn.004025f0
push eax
push 0x58dff8
lea ecx, [ebp - 0x14]
call fcn.004018f0
push eax
push 0x58dffc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.00401cf0
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x1c]
add ecx, 0xc
call fcn.00403d00
lea edx, [ebp - 0x1c]
push edx
mov ecx, dword [ebp - 0x28]
add ecx, 0x60
call fcn.00445570
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00402000
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00402000
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x441fc0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56f46c
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x5e2500]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], 1
mov dword [ebp - 0x20], 0xfffffffe
push 0x58e198
mov ecx, dword [ebp + 0x14]
call fcn.00403fc0
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x44202e
lea ecx, [ebp - 0x18]
push ecx
push 0x101
push 0
lea ecx, [ebp + 0xc]
call fcn.004018f0
push eax
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x1c], eax
jmp 0x44204f
lea eax, [ebp - 0x18]
push eax
push 0x20019
push 0
lea ecx, [ebp + 0xc]
call fcn.004018f0
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x442187
lea edx, [ebp - 0x10]
push edx
push 0
lea eax, [ebp - 0x14]
push eax
push 0
lea ecx, [ebp + 0x10]
call fcn.004018f0
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44217d
cmp dword [ebp - 0x14], 4
jne 0x4420b9
push 0xffffffffffffffff
lea ecx, [ebp + 0x10]
call fcn.004018f0
push eax
mov edx, dword [ebp - 0x18]
push edx
mov ecx, 0x5e3e60
call fcn.0042f280
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov ecx, 0x5e3e60
call fcn.0042e250
jmp 0x442176
cmp dword [ebp - 0x14], 7
jne 0x442105
mov edx, dword [ebp - 0x10]
push edx
lea ecx, [ebp + 0x10]
call fcn.004018f0
push eax
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x28]
push ecx
mov ecx, 0x5e3e60
call fcn.0042f310
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x38], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp + 0x14]
call fcn.00403d00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00402000
jmp 0x442176
cmp dword [ebp - 0x14], 3
jne 0x442128
mov ecx, dword [ebp - 0x10]
push ecx
lea ecx, [ebp + 0x10]
call fcn.004018f0
push eax
mov edx, dword [ebp - 0x18]
push edx
mov ecx, 0x5e3e60
call fcn.0042f2f0
jmp 0x442176
lea eax, [ebp - 0x10]
push eax
push 0x400
mov ecx, dword [ebp + 0x14]
call fcn.004025f0
push eax
lea ecx, [ebp - 0x14]
push ecx
push 0
lea ecx, [ebp + 0x10]
call fcn.004018f0
push eax
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44215f
cmp dword [ebp - 0x10], 0
jbe 0x44215f
jmp 0x44216c
push 0x58e19c
mov ecx, dword [ebp + 0x14]
call fcn.00403fc0
push 0xffffffffffffffff
mov ecx, dword [ebp + 0x14]
call fcn.00401cf0
mov dword [ebp - 0x20], 1
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x2c], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00402000
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.00402000
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x442a70
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56f553
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x5e2500]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x10]
push eax
push 0
lea ecx, [ebp + 8]
call fcn.00402020
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x442be9
lea ecx, [ebp - 0x28]
call fcn.00401fd0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
push ecx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x442b98
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x10]
push edx
push 0
lea ecx, [ebp + 8]
call fcn.00402020
push eax
call sub.VERSION.dll_GetFileVersionInfoW
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x20]
push ecx
push 0x58e3f8
mov edx, dword [ebp - 0x2c]
push edx
call sub.VERSION.dll_VerQueryValueW
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0xc]
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0xc]
shr ecx, 0x10
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 8]
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 8]
shr ecx, 0x10
and ecx, 0xffff
movzx edx, cx
push edx
push 0x58e3fc
mov eax, dword [ebp + 0xc]
push eax
call fcn.00403430
add esp, 0x18
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x442bdb
push str.CInstallFile::GetFileVersion__
lea ecx, [ebp - 0x30]
call fcn.00404670
mov byte [ebp - 4], 2
push str.Not_enought_memory_
lea ecx, [ebp - 0x30]
call fcn.004018f0
push eax
push 0
push 0x5e3e78
call fcn.0042b490
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.00402000
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00402000
jmp 0x442bf2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402000
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x444ae0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56f9b8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x5e2500]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00401fd0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00401fd0
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0xc]
push eax
push 0x58e6d8
lea ecx, [ebp - 0x10]
push ecx
call fcn.00403430
add esp, 0xc
lea edx, [ebp + 0x10]
push edx
mov ecx, 0x5e3e60
call fcn.00432d40
mov ecx, dword [ebp - 0x1c]
add ecx, 0xec
call fcn.004018f0
push eax
push 0x400
push 0x400
lea ecx, [ebp - 0x14]
call fcn.004025f0
push eax
push 0x58e6e0
lea ecx, [ebp + 0x10]
call fcn.004018f0
push eax
lea ecx, [ebp - 0x10]
call fcn.004018f0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.00401cf0
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
call fcn.004025c0
mov ecx, dword [ebp - 0x18]
or ecx, 1
mov dword [ebp - 0x18], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00402000
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00402000
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.00402000
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x447250
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jbe 0x4472f5
mov edx, dword [ebp - 0x14]
push edx
call fcn.0044a493
add esp, 4
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x14]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4472e3
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 6
push edx
call fcn.0054f4b0
add esp, 4
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2 + 8]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 4]
add eax, 3
and eax, 0xfffffffc
add eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x28]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.0044a49e
add esp, 4
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4
Function at 0x448570
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7dc
mov eax, dword [0x5e2500]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push eax
call fcn.004488b0
add esp, 4
test eax, eax
je 0x44859a
xor eax, eax
jmp 0x44862e
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x7d8]
push edx
call fcn.005505ad
add esp, 8
lea eax, [ebp - 0x7d8]
push eax
call fcn.00448920
add esp, 4
push 0x5c
lea ecx, [ebp - 0x7d8]
push ecx
call fcn.00448a50
add esp, 8
mov dword [ebp - 0x7dc], eax
cmp dword [ebp - 0x7dc], 0
jbe 0x4485e7
xor edx, edx
mov eax, dword [ebp - 0x7dc]
mov word [eax], dx
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x7d8]
push edx
call fcn.00448570
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x448608
mov eax, dword [ebp - 4]
jmp 0x44862e
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x448620
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x44862e
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00455666
xor eax, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0054dc83
mov esp, ebp
pop ebp
ret
Function at 0x448640
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56fc7b
mov eax, dword fs:[0]
push eax
sub esp, 0x804
mov eax, dword [0x5e2500]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
call fcn.00404670
mov dword [ebp - 4], 0
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.004036c0
lea ecx, [ebp - 0x18]
push ecx
mov ecx, 0x5e3c90
call fcn.00429aa0
mov byte [ebp - 4], 1
push 0x5c
lea ecx, [ebp - 0x18]
call fcn.004036c0
push 0
lea ecx, [ebp - 0x10]
call fcn.004018f0
push eax
mov ecx, 0x5e3cf8
call fcn.00455353
test eax, eax
jne 0x44874e
lea ecx, [ebp - 0x18]
call fcn.004018f0
push eax
lea ecx, [ebp - 0x10]
call fcn.00401ad0
test eax, eax
je 0x44874e
lea edx, [ebp - 0x10]
push edx
mov ecx, 0x5e3cf8
call fcn.00455523
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.0041a8b0
mov dword [ebp - 0x7f4], eax
cmp dword [ebp - 0x7f4], 0xffffffff
jle 0x448749
mov eax, dword [ebp - 0x7f4]
push eax
push 0
lea ecx, [ebp - 0x7f8]
push ecx
lea ecx, [ebp - 0x10]
call fcn.004030d0
mov dword [ebp - 0x80c], eax
mov edx, dword [ebp - 0x80c]
mov dword [ebp - 0x810], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x810]
push eax
lea ecx, [ebp - 0x10]
call fcn.00403d00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x7f8]
call fcn.00402000
jmp 0x4486a4
mov ecx, dword [ebp + 8]
push ecx
call fcn.004488b0
add esp, 4
test eax, eax
je 0x44878e
mov dword [ebp - 0x7fc], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00402000
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00402000
mov eax, dword [ebp - 0x7fc]
jmp 0x448897
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x7ec]
push eax
call fcn.005505ad
add esp, 8
lea ecx, [ebp - 0x7ec]
push ecx
call fcn.00448920
add esp, 4
push 0x5c
lea edx, [ebp - 0x7ec]
push edx
call fcn.00448a50
add esp, 8
mov dword [ebp - 0x7f0], eax
cmp dword [ebp - 0x7f0], 0
jbe 0x4487db
xor eax, eax
mov ecx, dword [ebp - 0x7f0]
mov word [ecx], ax
lea edx, [ebp - 0x7ec]
push edx
call fcn.00448640
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x44881f
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x800], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00402000
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00402000
mov eax, dword [ebp - 0x800]
jmp 0x448897
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x44885e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x804], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00402000
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00402000
mov eax, dword [ebp - 0x804]
jmp 0x448897
mov edx, dword [ebp + 8]
push edx
mov ecx, 0x5e3cc0
call fcn.00455666
mov dword [ebp - 0x808], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00402000
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00402000
mov eax, dword [ebp - 0x808]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0054dc83
mov esp, ebp
pop ebp
ret
Function at 0x4488b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x4488cb
xor eax, eax
jmp 0x4488d9
mov ecx, dword [ebp - 4]
and ecx, 0x10
xor edx, edx
cmp edx, ecx
sbb eax, eax
neg eax
mov esp, ebp
pop ebp
ret

Function at 0x44af6f
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x5e2500]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x234], eax
mov esi, ecx
lea eax, [ebp - 0xc]
jne 0x44afb4
push 0x58fd00
push 4
push eax
call fcn.0055267b
push eax
call fcn.004012a0
add esp, 0x10
jmp 0x44afca
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x44b04a
push edi
call fcn.0055275f
mov edi, dword [eax]
call fcn.0055275f
and dword [eax], 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.005526fc
add esp, 0x18
mov dword [ebp - 0x234], eax
call fcn.0055275f
cmp dword [eax], 0
je 0x44b01e
call fcn.0055275f
push dword [eax]
call fcn.0044a9dc
pop ecx
jmp 0x44b025
call fcn.0055275f
mov dword [eax], edi
cmp dword [ebp - 0x234], 0xffffffff
pop edi
je 0x44b04a
cmp dword [ebp - 0x234], esi
jae 0x44b04a
push 0
push 0
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x44b04c
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0054dc83
leave
ret
Function at 0x44b6fe
Capabilities:
Identify system language via api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x5e2500]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x144], eax
mov eax, dword [ebp + 0xc]
push edi
push str.KERNEL32.DLL
mov dword [ebp - 0x13c], eax
xor esi, esi
call fcn.0044b599
pop ecx
cmp eax, esi
je 0x44b7e8
push str.GetThreadPreferredUILanguages
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, esi
je 0x44b7e8
xor eax, eax
push 0xc8
mov word [ebp - 0xd0], ax
lea eax, [ebp - 0xce]
push esi
push eax
mov dword [ebp - 0x140], esi
call fcn.0054cf20
add esp, 0xc
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x140]
push eax
push 0x34
mov dword [ebp - 0x138], 0x65
call edi
test eax, eax
je 0x44b7e8
lea edi, [ebp - 0xd0]
cmp word [ebp - 0xd0], si
je 0x44b7e8
cmp esi, 0x14
jge 0x44b7e8
push 0x10
push 0
push edi
call fcn.005529e5
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x44b7d7
call fcn.0055275f
cmp dword [eax], 0x22
je 0x44b7d7
mov dword [ebp + esi*4 - 0x134], ebx
inc esi
push edi
call fcn.0054f4b0
lea edi, [edi + eax*2 + 2]
cmp word [edi], 0
pop ecx
jne 0x44b7ad
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov edi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
mov ebx, 0xfc00
and eax, ebx
or eax, ecx
push eax
mov dword [ebp - 0x138], ecx
call edi
push dword [ebp - 0x138]
mov dword [ebp + esi*4 - 0x134], eax
call edi
mov dword [ebp + esi*4 - 0x130], eax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
and eax, ebx
or eax, ecx
push eax
mov dword [ebp - 0x138], ecx
call edi
push dword [ebp - 0x138]
mov dword [ebp + esi*4 - 0x12c], eax
call edi
mov dword [ebp + esi*4 - 0x128], eax
add esi, 4
cmp dword [0x5e3fac], 0
jne 0x44b873
mov dword [ebp + esi*4 - 0x134], 0x800
inc esi
xor edi, edi
test esi, esi
jle 0x44b89c
push dword [ebp + edi*4 - 0x134]
mov ecx, dword [ebp - 0x144]
push dword [ebp - 0x13c]
call fcn.0044af6f
pop ecx
pop ecx
test eax, eax
jne 0x44b89e
inc edi
cmp edi, esi
jl 0x44b879
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0054dc83
leave
ret 8
Function at 0x44dfc0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x44dfd8
mov edi, dword [esi + 0xc]
jmp 0x44e018
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x44dff1
call fcn.00451878
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x44e006
call fcn.00451878
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x44e018
call fcn.00451878
call fcn.0045f83d
cmp dword [eax + 0x3c], 0
je 0x44e02d
push edi
mov ecx, ebx
call fcn.0044cd67
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.0044deda
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x44e04b
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x44e057
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x45352a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.0045f83d
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x453563
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.00453167
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x4535c1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x78], ebx
test ebx, 0xffff0000
jne 0x4535e5
cmp dword [edi + 0x74], 0
jne 0x4535e5
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.0045f83d
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00453582
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x454873
Capabilities:
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi], 0
je 0x4548ab
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4548b9
push str.SetFileAttributesTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4548b9
push dword [esi]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x4548bb
cmp dword [esi + 4], 0
je 0x4548b9
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor eax, eax
pop esi
pop ebp
ret 8