joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44c92a
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 4], ebx
jne 0x44cb22
lea eax, [esi + 0x2a8f4]
mov dword [ebp - 0x20], ebx
push eax
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.SHLWAPI.dll_PathGetDriveNumberW]
add eax, 0x41
push ebx
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x20]
push ebx
push eax
lea eax, [ebp - 0x18]
mov word [ebp - 0x16], 0x3a
push eax
mov word [ebp - 0x14], 0x5c
mov word [ebp - 0x12], bx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x44cb27
mov ecx, dword [esi + 0x2a8e4]
mov eax, dword [esi + 0x2a8e8]
or edi, 0xffffffff
cmp ecx, edi
jne 0x44c999
cmp eax, edi
je 0x44c9b1
mov edx, dword [ebp - 0x1c]
cmp edx, eax
jb 0x44cb27
ja 0x44c9b1
mov eax, dword [ebp - 0x20]
cmp eax, ecx
jbe 0x44cb27
push ebx
push 0x20
push 4
push ebx
push ebx
lea eax, [esi + 0x2a8f4]
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, edi
mov dword [esi + 4], eax
je 0x44cb27
cmp dword [esi + 0x2a8e4], edi
jne 0x44c9e9
cmp dword [esi + 0x2a8e8], edi
je 0x44cb22
push dword [esi + 0x2450]
lea ecx, [esi + 0x2448]
push dword [ecx + 4]
call fcn.0044d355
mov ecx, esi
call fcn.0044cd85
test eax, eax
jne 0x44cb22
mov eax, dword [esi + 0x2418]
mov dword [ebp - 0x28], ebx
cmp eax, ebx
jbe 0x44ca1e
cmp eax, 0xa
jbe 0x44ca28
mov dword [esi + 0x2418], 5
mov eax, dword [esi + 0x2418]
mov ecx, dword [esi + 0x2a8e8]
mov edi, dword [esi + 0x2a8e4]
push ebx
push eax
push ecx
push edi
call fcn.00467030
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
test edx, edx
mov eax, 0x4000
ja 0x44ca60
jb 0x44ca59
cmp dword [ebp - 0x10], eax
jae 0x44ca60
and dword [ebp - 0xc], 0
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x2a8e8]
cmp dword [ebp - 0xc], eax
jb 0x44ca78
ja 0x44ca72
cmp dword [ebp - 0x10], edi
jb 0x44ca78
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], eax
and dword [ebp - 4], 0
cmp dword [esi + 0x2418], 0
jbe 0x44cb22
lea edi, [esi + 0x2a7b4]
mov eax, dword [ebp - 0x28]
mov dword [edi - 8], eax
add eax, dword [ebp - 0x10]
mov dword [edi - 4], ebx
mov ecx, dword [esi + 0x2a8e8]
adc ebx, dword [ebp - 0xc]
mov edx, dword [esi + 0x2a8e4]
mov dword [ebp - 0x30], eax
cmp ebx, ecx
ja 0x44cad2
jb 0x44cab7
cmp eax, edx
jae 0x44cad2
mov eax, dword [ebp - 4]
inc eax
cmp eax, dword [esi + 0x2418]
je 0x44cad2
mov eax, dword [ebp - 0x30]
mov ecx, ebx
sub eax, 1
sbb ecx, 0
mov dword [edi], eax
jmp 0x44cada
sub edx, 1
sbb ecx, 0
mov dword [edi], edx
mov eax, dword [ebp - 0x30]
mov dword [edi + 4], ecx
mov dword [ebp - 0x28], eax
lea eax, [edi - 0x10]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
lea ecx, [esi + 0x2448]
call fcn.0043d201
cmp ebx, dword [esi + 0x2a8e8]
ja 0x44cb22
jb 0x44cb0d
mov eax, dword [ebp - 0x28]
cmp eax, dword [esi + 0x2a8e4]
jae 0x44cb22
inc dword [ebp - 4]
add edi, 0x20
mov eax, dword [ebp - 4]
cmp eax, dword [esi + 0x2418]
jb 0x44ca8f
push 1
pop eax
jmp 0x44cb29
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44cb91
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, dword [esi + 0x244c]
cmp eax, edi
je 0x44cbbb
mov ecx, dword [esi + 0x2450]
sub ecx, eax
test ecx, 0xfffffffc
jne 0x44cbfa
mov edx, dword [esi + 0x2a8e4]
mov ebx, dword [esi + 0x2a8ec]
mov ecx, dword [esi + 0x2a8e8]
lea eax, [esi + 0x2a8ec]
cmp ebx, edx
jne 0x44cbfa
mov eax, dword [eax + 4]
cmp eax, ecx
jne 0x44cbfa
mov eax, ecx
push edi
sar eax, 0x1f
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], ecx
push eax
push edx
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x44cd77
mov ax, word [0x469bb8]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
mov word [ebp - 0x21c], ax
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x21a]
push 0x4117f0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call dword [sym.imp.MSVCRT.dll_wcslen]
mov ebx, eax
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
shl ebx, 1
pop ecx
mov eax, ebx
push 2
push 0
neg eax
push eax
push dword [esi + 4]
call edi
lea eax, [ebp - 0x10]
push 0
push eax
lea eax, [ebp - 0x21c]
push ebx
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp ebx, dword [ebp - 0x10]
jne 0x44ccb6
lea eax, [ebp - 0x21c]
push 0x4117f0
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
pop ecx
test eax, eax
pop ecx
jne 0x44ccb6
xor ebx, ebx
push 1
push ebx
push 0xfffffffffffffffc
pop eax
sub eax, dword [ebp - 0x10]
push eax
push dword [esi + 4]
call edi
lea eax, [ebp - 0x10]
push ebx
push eax
lea eax, [ebp - 4]
push 4
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
add ecx, eax
push 1
neg ecx
push ebx
push ecx
push dword [esi + 4]
call edi
jmp 0x44ccc3
push 2
push 0
push 0
push dword [esi + 4]
call edi
xor ebx, ebx
mov eax, dword [esi + 0x244c]
mov dword [ebp - 4], ebx
cmp eax, ebx
jne 0x44ccd8
mov dword [ebp - 8], ebx
jmp 0x44cd77
mov ecx, dword [esi + 0x2450]
sub ecx, eax
sar ecx, 2
mov dword [ebp - 8], ecx
je 0x44cd77
lea eax, [ebp - 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
push eax
lea eax, [ebp - 8]
push 4
push eax
push dword [esi + 4]
call edi
add dword [ebp - 4], 4
mov dword [ebp - 0xc], ebx
mov eax, dword [esi + 0x244c]
cmp eax, ebx
je 0x44cd43
mov ecx, dword [esi + 0x2450]
sub ecx, eax
mov eax, dword [ebp - 0xc]
sar ecx, 2
cmp eax, ecx
jae 0x44cd43
lea ecx, [ebp - 0x14]
push ebx
push ecx
mov ecx, dword [esi + 0x244c]
push 0x20
push dword [ecx + eax*4]
push dword [esi + 4]
call edi
add dword [ebp - 4], 0x20
inc dword [ebp - 0xc]
jmp 0x44cd09
mov eax, dword [ebp - 4]
push ebx
mov dword [ebp - 8], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 8]
push 4
push eax
push dword [esi + 4]
call edi
push 0x4117f0
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
lea ecx, [ebp - 0x14]
push ebx
shl eax, 1
push ecx
push eax
push 0x4117f0
push dword [esi + 4]
call edi
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44cd85
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov ax, word [0x469bb8]
push ebx
push esi
mov ebx, ecx
push edi
mov word [ebp - 0x224], ax
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x222]
xor esi, esi
rep stosd dword es:[edi], eax
push 0x4117f0
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0xc], esi
stosw word es:[edi], ax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
call dword [sym.imp.MSVCRT.dll_wcslen]
mov edi, eax
pop ecx
shl edi, 1
mov eax, edi
push 2
neg eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push eax
mov dword [ebp - 8], edi
push dword [ebx + 4]
call esi
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x224]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push eax
push dword [ebx + 4]
call edi
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
jne 0x44cf03
lea eax, [ebp - 0x224]
push 0x4117f0
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
pop ecx
test eax, eax
pop ecx
jne 0x44cf03
push 1
push eax
push 0xfffffffffffffffc
pop eax
sub eax, dword [ebp - 4]
push eax
push dword [ebx + 4]
call esi
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x18]
push 4
push eax
push dword [ebx + 4]
call edi
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
add ecx, eax
push 1
neg ecx
push 0
push ecx
push dword [ebx + 4]
call esi
xor esi, esi
lea eax, [ebp - 4]
push esi
push eax
lea eax, [ebp - 0xc]
push 4
push eax
push dword [ebx + 4]
call edi
cmp dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
jbe 0x44cee0
lea esi, [ebx + 0x2a7bc]
lea ecx, [ebp - 4]
push 0
lea eax, [esi - 0x18]
push ecx
push 0x20
push eax
push dword [ebx + 4]
call edi
xor eax, eax
mov dword [esi - 0x14], eax
mov dword [esi - 0x18], eax
mov ecx, dword [esi]
mov edx, dword [esi + 4]
add dword [esi - 0x10], ecx
adc dword [esi - 0xc], edx
mov dword [esi], eax
mov dword [esi + 4], eax
mov ecx, dword [esi - 8]
sub ecx, dword [esi - 0x10]
mov edx, dword [esi - 4]
sbb edx, dword [esi - 0xc]
add ecx, 1
adc edx, eax
add dword [ebp - 0x14], ecx
lea eax, [esi - 0x18]
lea ecx, [ebx + 0x2448]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
adc dword [ebp - 0x10], edx
push eax
call fcn.0043d201
inc dword [ebp - 8]
add esi, 0x20
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0xc]
jb 0x44ce7d
mov eax, dword [ebx + 0x2a8e4]
mov ecx, dword [ebx + 0x2a8e8]
sub eax, dword [ebp - 0x14]
push 1
sbb ecx, dword [ebp - 0x10]
mov dword [ebx + 0x2a8ec], eax
pop eax
mov dword [ebx + 0x2a8f0], ecx
jmp 0x44cf05
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44cf0a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x2458], ebx
je 0x44cfac
mov ebx, dword [ebp + 8]
push 0
mov esi, dword [ebx + 0x4028]
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0xc]
add ecx, dword [esi + 0x18]
adc eax, dword [esi + 0x1c]
mov edx, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push ecx
push dword [edi + 4]
sar edx, 0x1f
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x44cf61
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x44cfed
lea eax, [ebp + 8]
push 0
push eax
and dword [ebp + 8], 0
push dword [ebx + 0x4044]
lea eax, [ebx + 0x28]
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x44cfed
mov eax, dword [ebp + 8]
cmp eax, dword [ebx + 0x4044]
jne 0x44cfed
add dword [esi + 0x18], eax
lea eax, [edi + 0x2a8ec]
adc dword [esi + 0x1c], 0
mov ecx, dword [ebp + 8]
add dword [eax], ecx
mov ecx, edi
adc dword [eax + 4], 0
call fcn.0044cb91
jmp 0x44cfe8
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push ebx
push eax
push dword [esi + 0x4044]
lea eax, [esi + 0x28]
mov dword [ebp - 4], ebx
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x44cfed
mov ecx, dword [ebp - 4]
cmp ecx, dword [esi + 0x4044]
jne 0x44cfed
add dword [edi + 0x2a8ec], ecx
lea eax, [edi + 0x2a8ec]
adc dword [eax + 4], ebx
push 1
pop eax
jmp 0x44cfef
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x44dff8
Capabilities:
Create directory

Disassembly:
push esi
push 0
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, eax
test esi, esi
jne 0x44e01d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x44e01d
push 1
pop eax
pop esi
ret
mov eax, esi
pop esi
ret

Function at 0x44e3f9
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 5
push dword [esi + 4]
lea eax, [esi + 8]
push eax
call dword [sym.imp.MSVCRT.dll_memmove]
mov eax, dword [esi + 4]
add esp, 0xc
lea ebx, [esi + 0x34]
mov dword [ebp + 8], eax
xor edi, edi
push 0
push dword [ebp + 8]
push ebx
call fcn.0044b267
sub eax, dword [ebp + 8]
add dword [ebp + 8], eax
add edi, eax
add ebx, eax
cmp edi, 5
jl 0x44e421
mov eax, dword [esi + 4]
mov dword [esi + 0x30], edi
sub edi, ebx
xor ecx, ecx
push 5
mov byte [ebp - 8], 0xe9
lea eax, [edi + eax - 5]
mov cl, ah
mov byte [ebp - 7], al
mov byte [ebp - 6], cl
xor ecx, ecx
shr eax, 0x10
mov byte [ebp - 5], al
mov cl, ah
lea eax, [ebp - 8]
mov byte [ebp - 4], cl
push eax
push ebx
call fcn.00450e20
lea eax, [esi + 0x18]
push 5
push eax
push dword [esi + 4]
call fcn.00450e20
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x44e4b1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x30e0
call fcn.00466f70
push ebx
push esi
push edi
xor esi, esi
mov ecx, 0x411
xor eax, eax
lea edi, [ebp - 0x104e]
mov word [ebp - 0x1050], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x823
xor eax, eax
lea edi, [ebp - 0x30de]
mov word [ebp - 0x30e0], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 8]
mov dword [ebp - 4], 0x824
push eax
push 0x40cfcc
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x44e556
lea eax, [ebp - 4]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push eax
lea eax, [ebp - 0x1050]
push eax
push esi
push esi
push 0x411910
push dword [ebp - 8]
call edi
lea eax, [ebp + 0xc]
mov dword [ebp - 4], 0x1048
push eax
lea eax, [ebp - 0x30e0]
push eax
push esi
push esi
push 0x4118e4
push dword [ebp - 8]
call edi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x1050]
mov ebx, dword [sym.imp.MSVCRT.dll__snwprintf]
push eax
push 0x40b0c0
push dword [ebp + 0xc]
push edi
call ebx
mov eax, dword [ebp + 0xc]
mov word [edi + eax*2 - 2], si
lea eax, [ebp - 0x30e0]
push eax
lea esi, [ebp - 0x30e0]
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 0x14
test eax, eax
mov dword [ebp - 4], eax
jle 0x44e5bf
push esi
push edi
push 0x4118d4
push dword [ebp + 0xc]
push edi
call ebx
mov eax, dword [ebp + 0xc]
and word [edi + eax*2 - 2], 0
mov eax, dword [ebp - 4]
lea esi, [esi + eax*2 + 2]
push esi
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 0x18
jmp 0x44e58f
push edi
call fcn.00453978
pop ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x44e5cb
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 4
mov dword [ebp - 8], 1
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 4]
push eax
push 0x411940
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x44e61e
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x411928
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
leave
ret
Function at 0x44e623
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push 4
pop ebx
lea eax, [ebp - 8]
push eax
push 0x411940
push SysReAllocString
mov dword [ebp - 4], 1
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x44e699
lea eax, [ebp - 0xc]
push esi
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
mov esi, 0x411928
push 0
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0xc]
xor eax, eax
cmp dword [ebp - 4], eax
sete al
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push ebx
push 0
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
leave
ret
Function at 0x44edfd
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4691c0
call fcn.00466f40
mov eax, 0x1068
call fcn.00466f70
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 0x411a50
mov ebx, ecx
push edi
call fcn.0044e0b0
pop ecx
test eax, eax
pop ecx
je 0x44eef5
mov esi, 0x824
lea eax, [ebp - 0x1074]
push esi
push eax
push 0
push edi
call fcn.0044e0dd
add esp, 0x10
test eax, eax
je 0x44eea9
lea eax, [ebp - 0x1074]
push 0x411a34
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x44ee97
lea eax, [ebp - 0x1074]
push esi
push eax
push 1
push edi
call fcn.0044e0dd
lea eax, [ebp - 0x1074]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 0x14
test eax, eax
jne 0x44ee97
lea eax, [ebp - 0x1074]
push esi
push eax
push 0
push edi
call fcn.0044e0dd
add esp, 0x10
lea eax, [ebp - 0x1074]
push eax
push 0x40b0c0
push esi
jmp 0x44ef2e
lea ecx, [ebp - 0x2c]
call fcn.0045290d
and dword [ebp - 4], 0
push 0xffffffffffffffff
push edi
lea ecx, [ebp - 0x2c]
call fcn.004529f0
mov edi, eax
test edi, edi
je 0x44eee7
push edi
lea ecx, [ebp - 0x2c]
call fcn.00452df4
test eax, eax
je 0x44eede
push esi
push ebx
push edi
lea ecx, [ebp - 0x2c]
call fcn.00452e20
push edi
lea ecx, [ebp - 0x2c]
call fcn.00452c09
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0045294f
jmp 0x44ef40
push 0x40bc80
push edi
call fcn.0044e0b0
pop ecx
pop ecx
test eax, eax
push edi
je 0x44ef24
push 0x824
push ebx
push 0x469bb8
push 0x40d2a8
push 0x40bddc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
jmp 0x44ef40
push 0x40b0c0
push 0x824
push ebx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
and word [ebx + 0x1046], 0
push ebx
call fcn.00453978
pop ecx
pop edi
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x44f214
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
push dword [0x49a558]
call fcn.0044f5e7
and dword [ebp - 4], 0
mov ebx, SysReAllocString
lea eax, [ebp - 4]
push ebx
push eax
mov edi, 0x40b278
push 0x411a88
push edi
call fcn.00452291
add esp, 0x10
cmp dword [ebp - 4], 0
jne 0x44f305
lea eax, [esi + 0x230]
push ebx
push 0x104
push eax
push 0x411a6c
push edi
call fcn.004520be
add esp, 0x14
lea edi, [esi + 0x230]
mov ecx, esi
push edi
call fcn.0044f979
test eax, eax
jne 0x44f305
and word [edi], ax
mov ecx, esi
call fcn.0044f30a
test eax, eax
jne 0x44f305
call fcn.0044f37a
mov ecx, esi
mov word [esi + 0x22e], ax
call fcn.0044f30a
test eax, eax
jne 0x44f305
call fcn.0044f39b
mov ecx, esi
mov word [esi + 0x22e], ax
call fcn.0044f30a
test eax, eax
jne 0x44f305
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov ecx, esi
mov word [esi + 0x22e], ax
call fcn.0044f30a
test eax, eax
jne 0x44f305
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov ecx, esi
mov word [esi + 0x22e], ax
call fcn.0044f30a
test eax, eax
jne 0x44f305
mov ax, word [esi + 0x22c]
mov ecx, esi
mov word [esi + 0x22e], ax
call fcn.0044f30a
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44f39b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push edi
push 0x411ac4
call esi
push 0x411b40
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
xor edi, edi
cmp eax, edi
je 0x44f3c9
call eax
jmp 0x44f467
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, 0x80000000
je 0x44f441
lea eax, [ebp - 4]
mov dword [ebp - 8], edi
push eax
push 0x411af4
push SysReAllocString
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x44f43b
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0x20
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x10]
push eax
push edi
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44f432
cmp dword [ebp - 0x10], 1
jne 0x44f432
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x30]
push 0x40b618
push eax
call dword [sym.imp.MSVCRT.dll_swscanf]
add esp, 0xc
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ax, word [ebp - 8]
jmp 0x44f467
push 0x411ae0
mov dword [ebp - 8], edi
call esi
cmp eax, edi
je 0x44f463
lea ecx, [ebp - 8]
push ecx
push 0x44f46b
push 1
push 0x10
push eax
call dword [sym.imp.KERNEL32.dll_EnumResourceLanguagesW]
mov ax, word [ebp - 8]
pop edi
pop esi
leave
ret

Function at 0x44f481
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, ecx
mov ax, word [esi + 0x22e]
cmp ax, word [esi + 0x22c]
jne 0x44f4a4
call fcn.0044f5bf
push 1
pop eax
jmp 0x44f4ea
lea ecx, [ebp - 0x10]
push 4
movzx eax, ax
push ecx
push 3
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x44f4db
lea eax, [ebp - 0x10]
push 0x40d810
push eax
call dword [sym.imp.MSVCRT.dll_wcscat]
pop ecx
lea eax, [ebp - 0x10]
pop ecx
push eax
mov ecx, esi
call fcn.0044f5f4
test ax, ax
jne 0x44f4df
xor eax, eax
jmp 0x44f4ea
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
call fcn.0044f979
pop esi
leave
ret
Function at 0x44f5f4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
lea eax, [ebp - 0xc]
push ebx
push eax
mov ebx, ecx
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
mov dword [ebp - 4], eax
jne 0x44f61b
xor ax, ax
jmp 0x44f6d0
push esi
push edi
push eax
xor esi, esi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov edi, eax
push edi
push dword [ebp - 4]
push dword [ebp - 0xc]
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x44f6c4
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 8]
push eax
push 0x411b5c
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x44f6c4
mov eax, dword [ebp + 8]
mov si, word [eax]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push 0x40b0ec
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x44f6c4
mov eax, dword [ebp - 8]
movzx ecx, word [eax + 0xc]
push ecx
mov ecx, dword [eax + 0xc]
shr ecx, 0x10
push ecx
movzx ecx, word [eax + 8]
mov eax, dword [eax + 8]
push ecx
shr eax, 0x10
push eax
push 0x4118bc
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
and word [ebp - 0x12], 0
add ebx, 0x20
lea eax, [ebp - 0x218]
push ebx
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 0x24
test eax, eax
je 0x44f6c4
xor esi, esi
push edi
call fcn.00466f25
pop ecx
mov ax, si
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x44f73c
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x888
push ebx
push esi
push edi
mov esi, ecx
call fcn.0044fa26
lea eax, [esi + 0x22c]
xor ebx, ebx
cmp word [eax], bx
je 0x44f777
push eax
mov ecx, esi
call fcn.0044fa9e
lea eax, [ebp - 4]
lea ecx, [esi + 0x10]
push eax
mov dword [ebp - 4], 0x469bb8
call fcn.0044faaf
lea eax, [ebp - 0x680]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x464]
push eax
lea eax, [ebp - 0x680]
push eax
call fcn.0044dfa7
lea eax, [ebp - 0x464]
push 0x411ba4
push eax
call dword [sym.imp.MSVCRT.dll_wcscat]
mov edi, dword [sym.imp.MSVCRT.dll_swprintf]
add esp, 0x10
lea eax, [ebp - 0x464]
push eax
lea eax, [ebp - 0x888]
push 0x411b90
push eax
call edi
add esp, 0xc
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0x888]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
je 0x44f89a
test byte [ebp - 0x25c], 0x10
jne 0x44f871
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x464]
push eax
lea eax, [ebp - 0x680]
push 0x40b7cc
push eax
call edi
add esp, 0x10
lea eax, [ebp - 0x680]
mov ecx, esi
push eax
call fcn.0044f5f4
test ax, ax
mov dword [ebp - 8], eax
je 0x44f871
lea eax, [ebp - 8]
mov ecx, esi
push eax
call fcn.0044fa9e
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
lea eax, [eax + eax + 2]
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
lea ecx, [ebp - 0x230]
mov dword [ebp - 0xc], eax
push ecx
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 0x10
lea eax, [ebp - 0xc]
lea ecx, [esi + 0x10]
push eax
call fcn.0044faaf
inc ebx
lea eax, [ebp - 0x25c]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x44f891
cmp ebx, 0x80
jl 0x44f7f0
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x44f89f
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a8
and dword [ebp - 4], 0
push ebx
movzx ebx, word [ebp + 0xc]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push edi
lea eax, [ebp - 0x18]
push 0xa
push eax
push 0x1004
push ebx
call esi
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.MSVCRT.dll__wtoi]
pop ecx
mov edi, 0xc8
lea eax, [ebp - 0x1a8]
push edi
push eax
push 4
push ebx
call esi
test eax, eax
jne 0x44f90f
lea eax, [ebp - 0x1a8]
push edi
push eax
push 2
push ebx
call esi
test eax, eax
jne 0x44f90f
push ebx
lea eax, [ebp - 0x1a8]
push 0x411bbc
push eax
call dword [sym.imp.MSVCRT.dll_swprintf]
add esp, 0xc
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x1a8]
push eax
call fcn.00416715
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret