joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407fe0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
call fcn.00402700
mov ecx, eax
test ecx, ecx
je 0x4080e6
mov eax, dword [ecx]
push ebx
push esi
push edi
call dword [eax + 0xc]
mov ebx, dword [ebp + 8]
add eax, 0x10
mov dword [ebp - 8], 0
mov dword [ebx], eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 0xc]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
je 0x408095
push edi
call fcn.004093b8
push edi
mov esi, eax
push 0
push esi
call fcn.0040a9e0
add esp, 0x10
push esi
push edi
push 0
push dword [ebp + 0xc]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x40808c
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0x104
push eax
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x419310
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x40808c
mov ecx, dword [ebp - 4]
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push str._d._d._d._d
push ebx
call fcn.00402620
add esp, 0x18
push esi
call fcn.00409c3a
add esp, 4
push dword [ebp + 0x10]
mov ecx, ebx
push 0x419448
call fcn.004035f0
mov edx, dword [ebp + 0xc]
or esi, 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4080c3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp + 0x10]
add edi, 0xfffffff0
lea eax, [edi + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x4080dd
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004017a0
int3
Function at 0x4082a0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x18], 0
mov ecx, 0x80000002
push ebx
mov eax, 0x80000001
cmovne eax, ecx
lea ecx, [ebp + 0x18]
cmp dword [ebp + 8], 0
push esi
push edi
jne 0x40831a
push 0
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x40832d
mov eax, dword [ebp + 0x14]
mov edx, dword [eax]
mov ecx, edx
lea esi, [ecx + 2]
jmp 0x4082f0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4082f0
sub ecx, esi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push dword [ebp + 0x10]
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x408399
push ecx
push 1
push 0
push dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x408331
xor esi, esi
jmp 0x4083a7
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp + 8]
push eax
push 0
push 0
push 0
push dword [ebp + 0x10]
mov dword [ebp + 8], 0
push dword [ebp + 0x18]
call edi
mov eax, dword [ebp + 8]
test eax, eax
je 0x408399
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004093b8
add esp, 4
mov esi, eax
lea eax, [ebp + 8]
push eax
push esi
push 0
push 0
push dword [ebp + 0x10]
push dword [ebp + 0x18]
call edi
test eax, eax
jne 0x408390
mov ecx, dword [ebp + 0x14]
push esi
call fcn.00401330
push esi
call fcn.00409c3a
add esp, 4
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, 1
mov edx, dword [ebp + 0xc]
or edi, 0xffffffff
add edx, 0xfffffff0
mov eax, edi
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4083c6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp + 0x10]
add ebx, 0xfffffff0
lea eax, [ebx + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x4083e0
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret
Function at 0x408790
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x422040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
call fcn.00402700
mov ecx, eax
test ecx, ecx
je 0x408856
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov eax, dword [ebp + 0xc]
cmp dword [eax - 0xc], 0
jne 0x4087f3
lea eax, [ebp - 0x20c]
push eax
push 0x419ecc
push edi
call fcn.00402620
add esp, 0xc
jmp 0x408809
push eax
lea eax, [ebp - 0x20c]
push eax
push str._s_s_
push edi
call fcn.00402620
add esp, 0x10
mov eax, dword [edi]
push ecx
sub eax, 0x10
mov esi, esp
push eax
call fcn.00401c20
add esp, 4
add eax, 0x10
mov dword [esi], eax
call fcn.00408a60
mov esi, dword [ebp + 0xc]
add esp, 4
add esi, 0xfffffff0
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x408844
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.0040a5e0
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004017a0
int3

Function at 0x408870
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x422040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
call fcn.00402700
mov ecx, eax
test ecx, ecx
je 0x408970
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.0040a9e0
add esp, 0xc
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x408919
push str.SHGetKnownFolderPath
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x408910
lea ecx, [ebp - 0x418]
push ecx
push 0
push 0
push 0x419fe8
call eax
test eax, eax
js 0x408910
push dword [ebp - 0x418]
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00409db8
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x408949
lea eax, [ebp - 0x414]
push eax
push 0
push 0
push 0x28
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00409db8
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0x419ecc
push esi
call fcn.00402620
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, esi
xor ecx, ebp
pop edi
pop esi
call fcn.0040a5e0
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004017a0
int3

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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
je 0x4089a5
cmp word [eax], 0
je 0x4089a5
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4089a5
and al, 0x10
cmp al, 1
sbb eax, eax
inc eax
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4089b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
je 0x4089d3
cmp word [eax], 0
je 0x4089d3
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x408a60
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x422040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call fcn.00402700
mov ecx, eax
test ecx, ecx
je 0x408c0f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x210], eax
mov eax, dword [ebp + 8]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
call fcn.00401c20
add eax, 0x10
add esp, 4
mov dword [esi], eax
lea eax, [ebp - 0x214]
push eax
call fcn.00407f30
add esp, 8
lea ecx, [ebp - 0x210]
push eax
call fcn.004012c0
mov edx, dword [ebp - 0x214]
or ebx, 0xffffffff
add edx, 0xfffffff0
mov eax, ebx
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x408ae7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x210]
lea eax, [ebp - 0x20c]
push 0x208
push esi
push 0x104
push eax
call fcn.0040aed3
lea ecx, [ebp - 0x20c]
add esp, 0x10
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408b10
sub ecx, edx
sar ecx, 1
cmp word [ebp + ecx*2 - 0x20e], 0x2f
jne 0x408b47
lea ecx, [ecx*2 - 2]
cmp ecx, 0x208
jae 0x408c19
xor eax, eax
mov word [ebp + ecx - 0x20c], ax
cmp word [ebp - 0x20c], 0
lea edi, [ebp - 0x20c]
je 0x408ba7
mov esi, 0x5c
lea esp, [esp]
movzx eax, word [edi]
cmp eax, 0x2f
je 0x408b6d
cmp eax, 0x5c
jne 0x408b98
xor eax, eax
push eax
mov word [edi], ax
lea eax, [ebp - 0x20c]
push eax
call fcn.0040b0a2
add esp, 8
test eax, eax
je 0x408b95
lea eax, [ebp - 0x20c]
push eax
call fcn.0040b071
add esp, 4
mov word [edi], si
add edi, 2
cmp word [edi], 0
jne 0x408b60
mov esi, dword [ebp - 0x210]
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0040b0a2
add esp, 8
test eax, eax
je 0x408bcb
lea eax, [ebp - 0x20c]
push eax
call fcn.0040b071
add esp, 4
add esi, 0xfffffff0
mov ecx, ebx
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x408be4
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x408bfe
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040a5e0
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004017a0
call fcn.0040acbb
int3
Function at 0x408cc0
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x422040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor esi, esi
push esi
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x408d23
mov edi, dword [sym.imp.USER32.dll_FindWindowExW]
mov esi, eax
push 0
push str.TrayNotifyWnd
push 0
push eax
call edi
test eax, eax
je 0x408d23
push 0
push str.SysPager
push 0
push eax
mov esi, eax
call edi
test eax, eax
je 0x408d23
push 0
push str.ToolbarWindow32
push 0
push eax
mov esi, eax
call edi
mov ebx, eax
test ebx, ebx
jne 0x408d29
mov ebx, esi
test esi, esi
je 0x408d87
push 0
push 0
push 0xf
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x14]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [ebp - 0xc]
xor ecx, ecx
mov dword [ebp - 0x18], ecx
test edx, edx
jle 0x408d87
mov eax, dword [ebp - 8]
xor edi, edi
test eax, eax
jle 0x408d7d
mov esi, ecx
push esi
push 0
push 0x200
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 8]
add edi, 5
add esi, 0x50000
cmp edi, eax
jl 0x408d58
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
add ecx, 5
mov dword [ebp - 0x18], ecx
cmp ecx, edx
jl 0x408d50
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040a5e0
mov esp, ebp
pop ebp
ret

Function at 0x408da0
Capabilities:
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push esi
push 0x44
lea eax, [ebp - 0x54]
push 0
push eax
call fcn.0040a9e0
xor eax, eax
mov dword [ebp - 0x54], 0x44
mov word [ebp - 0x24], ax
xorps xmm0, xmm0
mov eax, dword [ebp + 8]
add esp, 0xc
movdqu xmmword [ebp - 0x10], xmm0
mov dword [ebp - 0x28], 0x101
mov esi, dword [eax - 0xc]
test esi, esi
js 0x408e85
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, esi
or edx, ecx
jge 0x408dfe
push esi
lea ecx, [ebp + 8]
call fcn.00403270
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x54]
push ecx
push 0
push 0
push 0x20
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x408e3a
push 0xffffffffffffffff
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xc]
call esi
mov eax, dword [ebp + 8]
push dword [eax - 8]
push eax
call fcn.00409e14
add esp, 8
mov edx, eax
pop esi
test edx, edx
js 0x408e85
mov ecx, dword [ebp + 8]
cmp edx, dword [ecx - 8]
jg 0x408e85
mov dword [ecx - 0xc], edx
xor ecx, ecx
mov eax, dword [ebp + 8]
mov word [eax + edx*2], cx
or ecx, 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x408e81
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.004017a0
int3
Function at 0x415477
Capabilities:
Contain obfuscated stackstrings

Disassembly:
pop ebp
call 0xe99edccd
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.0041511c
push eax
push esi
push dword [ebp + 8]
call fcn.004150d1
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
invalid
Function at 0x10014b41
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10014b9c
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x10014b7d
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 2
jge 0x10014b9a
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x10]
call fcn.10015c74
mov dword [eax], 0xfffffff7
jmp 0x10014b72
jmp 0x10014bc1
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x10014bc1
push 0x2b9
push 0
push 0
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov esp, ebp
pop ebp
ret

Function at 0x10015630
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10015658
push 0
push 0x2532
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
jmp 0x1001574c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jl 0x1001569b
mov dword [ebp - 0xc], 1
jmp 0x1001569f
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x100156b5
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x100156b5
and dword [ebp - 0x10], 0
jmp 0x100156bc
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x10]
cmp eax, 1
jne 0x100156d0
mov dword [ebp - 0x14], 1
jmp 0x100156d4
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
sub edx, dword [ecx]
add eax, edx
cmp eax, 0x383c
jle 0x100156f3
mov dword [ebp - 0x18], 1
jmp 0x100156f7
and dword [ebp - 0x18], 0
cmp dword [ebp - 0x18], 0xee39f3fa
je 0x10015709
mov dword [ebp - 0x1c], 1
jmp 0x1001570d
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
add eax, 9
je 0x1001572d
push 1
mov ecx, dword [ebp - 0x34]
call fcn.10015c74
cmp dword [eax], 0
je 0x1001572d
mov dword [ebp - 0x20], 1
jmp 0x10015731
and dword [ebp - 0x20], 0
cmp dword [ebp - 0x20], 0xfffffffb
jb 0x10015740
mov dword [ebp - 0x24], 1
jmp 0x10015744
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret
Function at 0x1001f968
Capabilities:
Get memory capacity
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1001f98a
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1001f988
push 0
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x1001f992
push 0
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov esp, ebp
pop ebp
ret
Function at 0x1002a85f
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1002a88d
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x1002a88b
push 0
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x1002a8b1
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
mov ecx, dword [ecx]
mov eax, dword [eax]
add eax, dword [ecx + 4]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
mov dword [ecx], eax
mov esp, ebp
pop ebp
ret

Function at 0x1002ea2c
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x1002ea79
mov eax, dword [ebp + 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
push 0
mov eax, dword [ebp - 0x10]
push dword [eax]
mov eax, dword [ebp - 0x14]
push dword [eax]
mov eax, dword [ebp - 0x18]
push dword [eax]
call fcn.1002742c
add esp, 0x10
jmp 0x1002eaa4
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x1002eaa4
push 0
push 0x2532
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov esp, ebp
pop ebp
ret
Function at 0x1002eb70
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp + 8]
push eax
call fcn.1002e73c
add esp, 0xc
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x1002eba0
xor eax, eax
jmp 0x1002ed0f
lea eax, [ebp + 8]
push eax
push 0x3cbc
push 0x6c9a
lea eax, [ebp - 8]
push eax
push 0x7ada
push 0x2a82
push 0x49b3
push 0x4e44
lea eax, [ebp - 0x10]
push eax
push 0x209c
push 0x64b4
push 0x6e0b
push 0x3145
push 0x30a9
push 1
call fcn.1002e778
add esp, 0x3c
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x1002ebff
xor eax, eax
jmp 0x1002ed0f
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 1
call fcn.1002e9e6
add esp, 0xc
cmp dword [ebp - 0xc], 0
jne 0x1002ec1e
xor eax, eax
jmp 0x1002ed0f
push 0x5ee1
push dword [ebp - 8]
push dword [ebp - 0x10]
lea eax, [ebp - 0xc]
push eax
push 0x6d94
push 0x580a
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
push 1
call fcn.1002dc1e
add esp, 0x24
push 1
lea eax, [ebp + 8]
push eax
push 0x19c8
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.1002ea2c
add esp, 0x14
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push 1
lea eax, [ebp - 0xc]
push eax
call fcn.1002eaa8
add esp, 0x10
cmp dword [ebp - 0x14], 0
je 0x1002ec8d
push dword [ebp - 0x14]
push dword [ebp - 4]
call fcn.10028387
pop ecx
pop ecx
push dword [ebp - 4]
call fcn.1002bb92
pop ecx
test eax, eax
jne 0x1002ec9e
xor eax, eax
jmp 0x1002ed0f
push 0x2f14
push 1
push dword [ebp - 4]
push 0x5030
call fcn.10026164
add esp, 0x10
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x1002ecf7
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x18], ecx
jne 0x1002ecd4
xor eax, eax
jmp 0x1002ed0f
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x1002eced
xor eax, eax
jmp 0x1002ed0f
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 1
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x1002ed08
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
jmp 0x1002ed0c
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x10046c49
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10046c93
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
shl eax, 1
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
sub ecx, eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [eax + 0x24], ecx
jmp 0x10046ca2
push 0x2b9
push 0
push 0
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov esp, ebp
pop ebp
ret
Function at 0x10047419
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1004744d
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x10047448
push 0
push 0x2532
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
jmp 0x10047570
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0xaa9ac70c
jbe 0x100474a7
mov dword [ebp - 0x24], 1
jmp 0x100474ab
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
cmp dword [eax], ecx
je 0x100474c0
mov dword [ebp - 0x14], 1
jmp 0x100474c4
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jl 0x100474d9
mov dword [ebp - 0x18], 1
jmp 0x100474dd
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x18]
jg 0x100474ee
mov dword [ebp - 0x1c], 1
jmp 0x100474f2
and dword [ebp - 0x1c], 0
cmp dword [ebp - 0x1c], 0x6e22
je 0x10047504
mov dword [ebp - 0x20], 1
jmp 0x10047508
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp dword [ebp - 0x20], eax
jle 0x1004751b
mov dword [ebp - 0xc], 1
jmp 0x1004751f
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp dword [ebp - 0xc], eax
je 0x1004754a
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x1004754a
mov dword [ebp - 0x28], 1
jmp 0x1004754e
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 8]
cmp eax, dword [ecx]
jle 0x10047564
mov dword [ebp - 0x2c], 1
jmp 0x10047568
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret