joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7f2e023d
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [0x7f30bacc], ebx
push esi
push edi
je 0x7f2e025e
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x7f2e0314
mov edi, dword [ebp + 8]
cmp edi, 0xffff
jbe 0x7f2e030d
push edi
call fcn.7f2daf04
mov esi, eax
mov eax, dword [0x7f30b088]
inc esi
imul eax, esi
pop ecx
push eax
call fcn.7f2d55af
test eax, eax
je 0x7f2e02a4
mov eax, dword [0x7f30b088]
imul eax, esi
cmp eax, ebx
je 0x7f2e02a4
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fec90
mov edi, esp
jmp 0x7f2e02a6
xor edi, edi
cmp edi, ebx
je 0x7f2e030d
cmp dword [0x7f30bacc], ebx
mov dword [ebp - 4], ebx
jne 0x7f2e02be
cmp byte [0x7f30b08d], 0
je 0x7f2e02c3
mov ebx, 0x400
call dword [sym.imp.KERNEL32.dll_AreFileApisANSI]
test eax, eax
mov eax, dword [0x7f30bac8]
jne 0x7f2e02d7
mov eax, dword [0x7f30b084]
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [0x7f30b088]
imul ecx, esi
push 0x7f2d2cc0
push ecx
push edi
push esi
push dword [ebp + 8]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp dword [ebp - 4], 0
jne 0x7f2e0305
test eax, eax
je 0x7f2e0305
push 0
jmp 0x7f2e0307
push 0x7b
call dword [sym.imp.KERNEL32.dll_SetLastError]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x7f2e0323
Capabilities:
Delete file
Get common file path
Move file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [0x7f30bacc], 0
je 0x7f2e0362
cmp dword [0x7f30b8fc], 0
jne 0x7f2e034d
push 0x7f2d2d0c
call fcn.7f2d4139
test eax, eax
mov dword [0x7f30b8fc], eax
je 0x7f2e0354
pop ebp
jmp dword [0x7f30b9dc]
push 0x7f
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop ebp
ret 8
pop ebp
jmp fcn.7f2ddfa9

Function at 0x7f2e036d
Capabilities:
Delete file
Get common file path
Move file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [0x7f30bacc], 0
je 0x7f2e03a8
mov eax, dword [0x7f30b9dc]
test eax, eax
jne 0x7f2e0397
push 0x7f2d2d20
call fcn.7f2d4139
test eax, eax
mov dword [0x7f30b9dc], eax
je 0x7f2e039a
pop ebp
jmp eax
push 0x7f
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop ebp
ret 8
pop ebp
jmp fcn.7f2ddaa8
Function at 0x7f2e071b
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x7f30b094]
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp dword [0x7f30bacc], ebx
mov dword [ebp - 0x40c], eax
je 0x7f2e0751
push dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_EnumSystemCodePagesW]
jmp 0x7f2e092a
cmp eax, ebx
mov dword [ebp - 0x414], ebx
jne 0x7f2e076a
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x7f2e092a
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x7f2e077e
cmp eax, 2
je 0x7f2e077e
push 0x3ec
jmp 0x7f2e075d
and eax, 1
mov dword [ebp - 0x41c], eax
lea eax, [ebp - 0x408]
push eax
push 1
push ebx
push 0x7f2d2da8
push OleUIChangeIconA
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x7f2e07ac
push 0x3f1
jmp 0x7f2e075d
push esi
push edi
push 0x40
pop ecx
xor eax, eax
push 0x40
lea edi, [ebp - 0x104]
rep stosd dword es:[edi], eax
pop ecx
lea edi, [ebp - 0x204]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x420]
push eax
push ebx
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x104]
push eax
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov esi, 0x100
jmp 0x7f2e08bf
test eax, eax
jne 0x7f2e0937
cmp dword [ebp - 0x410], 6
jae 0x7f2e0876
cmp byte [ebp - 0x104], 0x30
jl 0x7f2e0876
cmp byte [ebp - 0x104], 0x39
jg 0x7f2e0876
cmp dword [ebp - 0x41c], eax
je 0x7f2e082e
cmp byte [ebp - 0x204], al
je 0x7f2e0876
xor eax, eax
push 0xff
mov ecx, 0x80
lea edi, [ebp - 0x404]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x404]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x104]
push eax
push 0
push dword [0x7f30bac8]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x404]
push eax
call dword [ebp - 0x40c]
cmp eax, 1
jne 0x7f2e0919
inc dword [ebp - 0x414]
push 0x40
pop ecx
xor eax, eax
push 0x40
lea edi, [ebp - 0x104]
rep stosd dword es:[edi], eax
pop ecx
lea edi, [ebp - 0x204]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x420]
push eax
push 0
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x104]
push eax
push dword [ebp - 0x414]
push dword [ebp - 0x408]
mov dword [ebp - 0x418], esi
mov dword [ebp - 0x410], esi
call ebx
cmp eax, 0x103
jne 0x7f2e07fb
push 0x7f2d2d9c
call dword [ebp - 0x40c]
test eax, eax
je 0x7f2e0919
push 0x7f2d2d90
call dword [ebp - 0x40c]
test eax, eax
je 0x7f2e0919
cmp dword [ebp - 0x41c], 0
je 0x7f2e090e
call fcn.7f2d43c3
test eax, eax
je 0x7f2e0919
push 0x7f2d2d84
call dword [ebp - 0x40c]
push dword [ebp - 0x408]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
pop ebx
call fcn.7f2fed53
leave
ret 8
push 0x3f1
call dword [sym.imp.KERNEL32.dll_SetLastError]
push dword [ebp - 0x408]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x7f2e0928
Function at 0x7f2e0a7f
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
cmp dword [0x7f30bacc], edi
je 0x7f2e0aa6
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
jmp 0x7f2e0b9d
mov eax, dword [0x7f30b088]
imul eax, dword [ebp + 0x10]
push eax
call fcn.7f2d55af
test eax, eax
je 0x7f2e0ad6
mov eax, dword [0x7f30b088]
imul eax, dword [ebp + 0x10]
cmp eax, edi
je 0x7f2e0ad6
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fec90
mov dword [ebp - 4], esp
jmp 0x7f2e0ad9
mov dword [ebp - 4], edi
mov ebx, dword [ebp + 8]
cmp ebx, 0xffff
jbe 0x7f2e0b3e
push ebx
call fcn.7f2daf04
mov esi, eax
mov eax, dword [0x7f30b088]
inc esi
imul eax, esi
pop ecx
push eax
call fcn.7f2d55af
test eax, eax
je 0x7f2e0b1b
mov eax, dword [0x7f30b088]
imul eax, esi
cmp eax, edi
je 0x7f2e0b1b
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fec90
mov ebx, esp
jmp 0x7f2e0b1d
xor ebx, ebx
cmp ebx, edi
je 0x7f2e0b42
mov eax, dword [0x7f30b088]
imul eax, esi
push edi
push edi
push eax
push ebx
push esi
push dword [ebp + 8]
push edi
push dword [0x7f30bac8]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp ebx, edi
jne 0x7f2e0b47
cmp dword [ebp + 8], edi
jne 0x7f2e0b51
cmp dword [ebp + 0x10], edi
jbe 0x7f2e0b74
cmp dword [ebp - 4], edi
jne 0x7f2e0b55
xor eax, eax
jmp 0x7f2e0b9d
mov ecx, dword [0x7f30b088]
imul ecx, dword [ebp + 0x10]
mov edi, dword [ebp - 4]
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
xor edi, edi
push dword [ebp + 0x10]
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp eax, dword [ebp + 0x10]
ja 0x7f2e0b9d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
push dword [ebp - 4]
push edi
push dword [0x7f30bac8]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x7f2e16b0
Capabilities:
Get hostname

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
cmp dword [0x7f30bacc], 0
push ebx
push esi
push edi
je 0x7f2e16d3
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
jmp 0x7f2e1769
mov eax, dword [0x7f30b088]
shl eax, 4
push eax
mov dword [ebp - 4], eax
call fcn.7f2d55af
test eax, eax
je 0x7f2e1700
cmp dword [ebp - 4], 0
je 0x7f2e1700
mov eax, dword [ebp - 4]
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fec90
mov ebx, esp
jmp 0x7f2e1702
xor ebx, ebx
xor eax, eax
test ebx, ebx
je 0x7f2e1769
mov ecx, dword [ebp - 4]
mov edx, ecx
shr ecx, 2
mov edi, ebx
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [ebp - 4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov edi, eax
test edi, edi
je 0x7f2e175f
mov esi, dword [ebp + 0xc]
mov ecx, dword [esi]
mov eax, dword [ebp - 4]
cmp ecx, eax
jb 0x7f2e1751
push ecx
push dword [ebp + 8]
inc eax
push eax
push ebx
push 0
push dword [0x7f30bac8]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [esi], eax
jmp 0x7f2e1767
push 0x6f
mov dword [esi], eax
xor edi, edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x7f2e1767
mov eax, dword [ebp + 8]
mov word [eax], 0x30
mov eax, edi
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x7f2e1ce5
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
push edi
xor edi, edi
cmp dword [0x7f30bacc], edi
je 0x7f2e1d05
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
jmp 0x7f2e1d7a
mov eax, dword [0x7f30b088]
mov ebx, dword [ebp + 8]
imul eax, ebx
inc eax
push eax
call fcn.7f2d55af
test eax, eax
mov esi, dword [0x7f30b088]
je 0x7f2e1d38
mov eax, esi
imul eax, ebx
inc eax
cmp eax, edi
je 0x7f2e1d38
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fec90
mov edi, esp
test edi, edi
jne 0x7f2e1d40
xor eax, eax
jmp 0x7f2e1d7a
imul esi, ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x7f2e1d6b
push ebx
push dword [ebp + 0xc]
inc eax
push eax
push edi
push 0
push dword [0x7f30bac8]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x7f2e1d7a
dec eax
jmp 0x7f2e1d7a
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x7f2e1d7a
test ebx, ebx
jbe 0x7f2e1d7a
and word [ecx], 0
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x7f2e1f8c
Capabilities:
Get disk size

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [0x7f30bacc], 0
push ebx
push esi
push edi
je 0x7f2e1fb4
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
jmp 0x7f2e202c
mov ebx, dword [ebp + 8]
cmp ebx, 0xffff
jbe 0x7f2e2019
push ebx
call fcn.7f2daf04
mov edi, eax
mov eax, dword [0x7f30b088]
inc edi
imul eax, edi
pop ecx
push eax
call fcn.7f2d55af
test eax, eax
mov esi, dword [0x7f30b088]
je 0x7f2e1ff9
mov eax, esi
imul eax, edi
test eax, eax
je 0x7f2e1ff9
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fec90
mov ebx, esp
jmp 0x7f2e1ffb
xor ebx, ebx
xor eax, eax
cmp ebx, eax
je 0x7f2e2019
imul esi, edi
push eax
push eax
push esi
push ebx
push edi
push dword [ebp + 8]
push eax
push dword [0x7f30bac8]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret 0x14

Function at 0x7f2e214b
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [0x7f30bacc], 0
push ebx
push esi
push edi
je 0x7f2e2167
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
jmp 0x7f2e21d3
mov ebx, dword [ebp + 8]
cmp ebx, 0xffff
jbe 0x7f2e21cc
push ebx
call fcn.7f2daf04
mov edi, eax
mov eax, dword [0x7f30b088]
inc edi
imul eax, edi
pop ecx
push eax
call fcn.7f2d55af
test eax, eax
mov esi, dword [0x7f30b088]
je 0x7f2e21ac
mov eax, esi
imul eax, edi
test eax, eax
je 0x7f2e21ac
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fec90
mov ebx, esp
jmp 0x7f2e21ae
xor ebx, ebx
xor eax, eax
cmp ebx, eax
je 0x7f2e21cc
imul esi, edi
push eax
push eax
push esi
push ebx
push edi
push dword [ebp + 8]
push eax
push dword [0x7f30bac8]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x7f2e2252
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
cmp dword [0x7f30bacc], edi
je 0x7f2e2279
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
jmp 0x7f2e2377
mov eax, dword [0x7f30b088]
imul eax, dword [ebp + 0x10]
push eax
call fcn.7f2d55af
test eax, eax
mov esi, dword [0x7f30b088]
je 0x7f2e22ac
mov eax, esi
imul eax, dword [ebp + 0x10]
cmp eax, edi
je 0x7f2e22ac
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fec90
mov dword [ebp - 4], esp
jmp 0x7f2e22af
mov dword [ebp - 4], edi
cmp dword [ebp + 0x10], edi
jbe 0x7f2e22cb
cmp dword [ebp - 4], edi
jne 0x7f2e22cb
push 0x3e9
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x7f2e2377
mov ebx, dword [ebp + 8]
cmp ebx, 0xffff
jbe 0x7f2e2336
push ebx
call fcn.7f2daf04
mov edi, eax
mov eax, dword [0x7f30b088]
inc edi
imul eax, edi
pop ecx
push eax
call fcn.7f2d55af
test eax, eax
mov esi, dword [0x7f30b088]
je 0x7f2e2310
mov eax, esi
imul eax, edi
test eax, eax
je 0x7f2e2310
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fec90
mov ebx, esp
jmp 0x7f2e2312
xor ebx, ebx
xor eax, eax
cmp ebx, eax
je 0x7f2e233a
imul esi, edi
push eax
push eax
push esi
push ebx
push edi
push dword [ebp + 8]
push eax
push dword [0x7f30bac8]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, dword [0x7f30b088]
test ebx, ebx
jne 0x7f2e2340
cmp dword [ebp + 8], 0
jne 0x7f2e22c4
imul esi, dword [ebp + 0x10]
push esi
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x7f2e2377
cmp dword [ebp - 4], 0
je 0x7f2e2377
push dword [ebp + 0x10]
inc eax
push dword [ebp + 0xc]
push eax
push dword [ebp - 4]
push 0
push dword [0x7f30bac8]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x7f2e2377
dec eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x7f2e2386
Capabilities:
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [0x7f30bacc], ebx
push esi
push edi
je 0x7f2e23a7
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
jmp 0x7f2e2477
mov edi, dword [ebp + 8]
cmp edi, 0xffff
jbe 0x7f2e2456
push edi
call fcn.7f2daf04
mov esi, eax
mov eax, dword [0x7f30b088]
inc esi
imul eax, esi
pop ecx
push eax
call fcn.7f2d55af
test eax, eax
je 0x7f2e23ed
mov eax, dword [0x7f30b088]
imul eax, esi
cmp eax, ebx
je 0x7f2e23ed
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fec90
mov edi, esp
jmp 0x7f2e23ef
xor edi, edi
cmp edi, ebx
je 0x7f2e245c
cmp dword [0x7f30bacc], ebx
mov dword [ebp - 4], ebx
jne 0x7f2e2407
cmp byte [0x7f30b08d], 0
je 0x7f2e240c
mov ebx, 0x400
call dword [sym.imp.KERNEL32.dll_AreFileApisANSI]
test eax, eax
mov eax, dword [0x7f30bac8]
jne 0x7f2e2420
mov eax, dword [0x7f30b084]
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [0x7f30b088]
imul ecx, esi
push 0x7f2d2cc0
push ecx
push edi
push esi
push dword [ebp + 8]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp dword [ebp - 4], 0
jne 0x7f2e244e
test eax, eax
je 0x7f2e244e
push 0
jmp 0x7f2e2450
push 0x7b
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
cmp edi, ebx
jne 0x7f2e2461
cmp dword [ebp + 8], ebx
jne 0x7f2e246b
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x7f2e2470
or eax, 0xffffffff
jmp 0x7f2e2477
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x7f2e2957
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
push edi
xor edi, edi
cmp dword [0x7f30bacc], edi
je 0x7f2e2980
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
jmp 0x7f2e2a8a
mov ebx, dword [ebp + 0xc]
mov ecx, 0x20000000
mov eax, ebx
and eax, ecx
sub eax, ecx
neg eax
sbb eax, eax
mov edx, 0x40000000
mov ecx, ebx
and ecx, edx
sub ecx, edx
inc eax
neg ecx
sbb ecx, ecx
mov edx, ebx
inc ecx
and edx, 0x1fffffff
cmp dword [ebp + 8], 0x7f
jne 0x7f2e29b8
mov dword [ebp + 8], 0x409
cmp eax, edi
je 0x7f2e29db
cmp byte [0x7f30b08d], 0
jne 0x7f2e2a7a
push 0x3ec
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x7f2e2a8a
cmp edx, 0x58
je 0x7f2e2a7a
cmp dword [ebp + 0x14], edi
je 0x7f2e2a7a
cmp dword [ebp + 0x10], edi
je 0x7f2e2a7a
cmp ecx, edi
je 0x7f2e2a09
mov eax, dword [0x7f30bac8]
mov dword [ebp + 0xc], eax
mov eax, dword [0x7f30b088]
jmp 0x7f2e2a1a
push dword [ebp + 8]
call fcn.7f2d42d2
push eax
mov dword [ebp + 0xc], eax
call fcn.7f2d40c6
mov esi, eax
imul esi, dword [ebp + 0x14]
push esi
call fcn.7f2d55af
test eax, eax
je 0x7f2e2a3d
cmp esi, edi
je 0x7f2e2a3d
mov eax, esi
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fec90
mov edi, esp
cmp dword [ebp + 0x14], 0
jle 0x7f2e2a47
test edi, edi
je 0x7f2e29d4
push esi
push edi
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
xor ecx, ecx
cmp eax, ecx
je 0x7f2e2a6d
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
push ecx
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
jmp 0x7f2e2a8a
cmp dword [ebp + 0x14], ecx
jle 0x7f2e2a8a
mov edx, dword [ebp + 0x10]
mov word [edx], cx
jmp 0x7f2e2a8a
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x7f2e2a99
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
push edi
xor edi, edi
cmp dword [0x7f30bacc], edi
je 0x7f2e2abc
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
jmp 0x7f2e2b3d
cmp dword [ebp + 0xc], edi
je 0x7f2e2b35
mov ebx, dword [ebp + 8]
cmp ebx, edi
je 0x7f2e2b35
mov eax, dword [0x7f30b088]
imul eax, ebx
push eax
call fcn.7f2d55af
test eax, eax
mov esi, dword [0x7f30b088]
je 0x7f2e2af6
mov eax, esi
imul eax, ebx
cmp eax, edi
je 0x7f2e2af6
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fec90
mov edi, esp
test ebx, ebx
jbe 0x7f2e2b02
test edi, edi
jne 0x7f2e2b02
xor eax, eax
jmp 0x7f2e2b3d
imul esi, ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
test eax, eax
je 0x7f2e2b3d
cmp eax, ebx
ja 0x7f2e2b3d
test edi, edi
je 0x7f2e2b3d
push ebx
push dword [ebp + 0xc]
inc eax
push eax
push edi
push 0
push dword [0x7f30bac8]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x7f2e2b3d
dec eax
jmp 0x7f2e2b3d
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x7f2e2fb6
Capabilities:
Read .ini file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [0x7f30bacc], ebx
push esi
push edi
je 0x7f2e2fe0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
jmp 0x7f2e319e
mov eax, dword [ebp + 8]
cmp eax, 0xffff
jbe 0x7f2e3049
push eax
call fcn.7f2daf04
mov edi, eax
mov eax, dword [0x7f30b088]
inc edi
imul eax, edi
pop ecx
push eax
call fcn.7f2d55af
test eax, eax
mov esi, dword [0x7f30b088]
je 0x7f2e3025
mov eax, esi
imul eax, edi
cmp eax, ebx
je 0x7f2e3025
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fec90
mov dword [ebp - 4], esp
jmp 0x7f2e3028
mov dword [ebp - 4], ebx
cmp dword [ebp - 4], ebx
je 0x7f2e3051
imul esi, edi
push ebx
push ebx
push esi
push dword [ebp - 4]
push edi
push dword [ebp + 8]
push ebx
push dword [0x7f30bac8]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x7f2e304c
mov dword [ebp - 4], eax
cmp dword [ebp - 4], ebx
jne 0x7f2e305d
cmp dword [ebp + 8], ebx
je 0x7f2e305d
xor eax, eax
jmp 0x7f2e319e
mov eax, dword [ebp + 0xc]
cmp eax, 0xffff
jbe 0x7f2e30c6
push eax
call fcn.7f2daf04
mov edi, eax
mov eax, dword [0x7f30b088]
inc edi
imul eax, edi
pop ecx
push eax
call fcn.7f2d55af
test eax, eax
mov esi, dword [0x7f30b088]
je 0x7f2e30a2
mov eax, esi
imul eax, edi
cmp eax, ebx
je 0x7f2e30a2
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fec90
mov dword [ebp + 8], esp
jmp 0x7f2e30a5
mov dword [ebp + 8], ebx
cmp dword [ebp + 8], ebx
je 0x7f2e30ce
imul esi, edi
push ebx
push ebx
push esi
push dword [ebp + 8]
push edi
push dword [ebp + 0xc]
push ebx
push dword [0x7f30bac8]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x7f2e30c9
mov dword [ebp + 8], eax
cmp dword [ebp + 8], ebx
jne 0x7f2e30d3
cmp dword [ebp + 0xc], ebx
jne 0x7f2e3056
cmp dword [ebp + 0x14], 0xffff
jbe 0x7f2e316f
push dword [ebp + 0x14]
call fcn.7f2daf04
mov edi, eax
mov eax, dword [0x7f30b088]
inc edi
imul eax, edi
pop ecx
push eax
call fcn.7f2d55af
test eax, eax
mov esi, dword [0x7f30b088]
je 0x7f2e311a
mov eax, esi
imul eax, edi
cmp eax, ebx
je 0x7f2e311a
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fec90
mov ebx, esp
xor eax, eax
cmp ebx, eax
je 0x7f2e3176
cmp dword [0x7f30bacc], eax
mov dword [ebp + 0xc], eax
jne 0x7f2e3133
cmp byte [0x7f30b08d], al
je 0x7f2e3138
mov eax, 0x400
imul esi, edi
lea ecx, [ebp + 0xc]
push ecx
push 0x7f2d2cc0
push esi
push ebx
push edi
push dword [ebp + 0x14]
push eax
push dword [0x7f30bac8]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp dword [ebp + 0xc], 0
jne 0x7f2e316b
test eax, eax
je 0x7f2e316b
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x7f2e3172
push 0x7b
jmp 0x7f2e3163
mov ebx, dword [ebp + 0x14]
test ebx, ebx
jne 0x7f2e3180
cmp dword [ebp + 0x14], 0
jne 0x7f2e3056
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x7f2e3056
push ebx
push dword [ebp + 0x10]
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x7f2e31ad
Capabilities:
Read .ini file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x7f30b094]
mov ecx, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
cmp dword [0x7f30bacc], ebx
push edi
mov dword [ebp - 0x118], esi
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x120], ecx
je 0x7f2e31f9
push ecx
push dword [ebp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
jmp 0x7f2e3347
mov eax, dword [0x7f30b088]
imul eax, dword [ebp + 0x10]
push eax
call fcn.7f2d55af
test eax, eax
je 0x7f2e322c
mov eax, dword [0x7f30b088]
imul eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x7f2e322c
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fec90
mov dword [ebp - 0x114], esp
jmp 0x7f2e3232
mov dword [ebp - 0x114], ebx
cmp esi, 0xffff
jbe 0x7f2e32cd
push esi
call fcn.7f2daf04
mov edi, eax
mov eax, dword [0x7f30b088]
inc edi
imul eax, edi
pop ecx
push eax
call fcn.7f2d55af
test eax, eax
mov esi, dword [0x7f30b088]
je 0x7f2e327c
mov eax, esi
imul eax, edi
cmp eax, ebx
je 0x7f2e327c
add eax, 3
and eax, 0xfffffffc
call fcn.7f2fec90
mov dword [ebp - 0x110], esp
jmp 0x7f2e3282
mov dword [ebp - 0x110], ebx
cmp dword [ebp - 0x110], ebx
je 0x7f2e32aa
imul esi, edi
push ebx
push ebx
push esi
push dword [ebp - 0x110]
push edi
push dword [ebp - 0x118]
push ebx
push dword [0x7f30bac8]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, dword [ebp - 0x118]
cmp dword [ebp + 0x10], ebx
jbe 0x7f2e32bd
cmp dword [ebp - 0x114], ebx
je 0x7f2e32c9
cmp dword [ebp - 0x110], ebx
jne 0x7f2e32d5
cmp esi, ebx
je 0x7f2e32d5
xor eax, eax
jmp 0x7f2e3347
mov dword [ebp - 0x110], esi
jmp 0x7f2e32b0
push ebx
push ebx
push 0x104
lea eax, [ebp - 0x10c]
push eax
push 0xffffffffffffffff
push dword [ebp - 0x120]
push ebx
push dword [0x7f30bac8]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0x10c]
push eax
mov eax, dword [0x7f30b088]
imul eax, dword [ebp + 0x10]
push eax
push dword [ebp - 0x114]
push dword [ebp - 0x110]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
cmp eax, ebx
je 0x7f2e333a
push dword [ebp + 0x10]
push dword [ebp - 0x11c]
push dword [ebp - 0x114]
call fcn.7f2d65a2
cmp eax, ebx
je 0x7f2e3347
dec eax
jmp 0x7f2e3347
mov ecx, dword [ebp - 0x11c]
cmp ecx, ebx
je 0x7f2e3347
mov word [ecx], bx
lea esp, [ebp - 0x12c]
mov ecx, dword [ebp - 4]
call fcn.7f2fed53
pop edi
pop esi
pop ebx
leave
ret 0x10