joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001ac49
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push esi
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x1001adaf
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x1001acc4
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x1001acc4
and dword [ebp - 0x48], 0
jmp 0x1001accb
mov dword [ebp - 0x48], 1
mov eax, dword [ebp - 4]
cmp dword [eax], 0xe81720d7
jne 0x1001acdf
mov dword [ebp - 0xc], 1
jmp 0x1001ace3
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
cmp dword [ebp - 0xc], eax
je 0x1001acf6
mov dword [ebp - 0x10], 1
jmp 0x1001acfa
and dword [ebp - 0x10], 0
push 0
mov ecx, dword [ebp - 8]
call fcn.100152af
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [eax]
jle 0x1001ad14
mov dword [ebp - 0x14], 1
jmp 0x1001ad18
and dword [ebp - 0x14], 0
cmp dword [ebp - 0x14], 0
jle 0x1001ad27
mov dword [ebp - 0x18], 1
jmp 0x1001ad2b
and dword [ebp - 0x18], 0
cmp dword [ebp - 0x18], 0
jbe 0x1001ad3a
mov dword [ebp - 0x1c], 1
jmp 0x1001ad3e
and dword [ebp - 0x1c], 0
cmp dword [ebp - 0x1c], 1
jbe 0x1001ad4d
mov dword [ebp - 0x20], 1
jmp 0x1001ad51
and dword [ebp - 0x20], 0
push 0
mov ecx, dword [ebp - 8]
call fcn.100152af
mov ecx, dword [ebp - 0x20]
sub ecx, dword [eax]
test ecx, ecx
jg 0x1001ad6d
mov dword [ebp - 0x24], 1
jmp 0x1001ad71
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
mov esi, dword [eax]
push 0
mov ecx, dword [ebp - 8]
call fcn.100152af
sub esi, dword [eax]
push 0
mov ecx, dword [ebp - 8]
call fcn.100152af
cmp esi, dword [eax]
jne 0x1001ada1
mov dword [ebp - 0x28], 1
jmp 0x1001ada5
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x28]
mov dword [eax], ecx
jmp 0x1001add9
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
movzx eax, byte [eax]
test eax, eax
je 0x1001add9
push 0x221a
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1001b7a6
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1001b7fe
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
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 0x1001b7e2
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 0x1001b7fc
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x10]
call fcn.100152af
and dword [eax], 0
jmp 0x1001b7d7
jmp 0x1001b81e
mov eax, dword [ebp + 0x10]
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 0x1001b81e
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esp, ebp
pop ebp
ret
Function at 0x1002300e
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007bad4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1002308b
mov byte [ebp - 0xd], 0
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x10023086
mov dword [ebp - 0x20], 1
mov byte [ebp - 0xe], 0
movzx eax, byte [ebp - 0xe]
test eax, eax
je 0x10023066
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_SetTextColor]
mov byte [ebp - 0xf], 0
movzx eax, byte [ebp - 0xf]
test eax, eax
je 0x1002307c
push 0
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push 0
push 0
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
jmp 0x100231b5
push 2
lea ecx, [ebp - 0x3c]
call fcn.10015242
and dword [ebp - 4], 0
mov dword [ebp - 0x24], 0x394a2a4f
mov dword [ebp - 0x28], 0xd832937a
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x30], 0x2d76715f
push 3
lea ecx, [ebp - 0x54]
call fcn.10015242
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], 0
jmp 0x100230d3
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jge 0x100230e9
push dword [ebp - 0x14]
lea ecx, [ebp - 0x3c]
call fcn.100152af
or dword [eax], 0xffffffff
jmp 0x100230cc
mov dword [ebp - 0x14], 0
jmp 0x100230f9
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x10023112
push dword [ebp - 0x14]
lea ecx, [ebp - 0x54]
call fcn.100152af
mov dword [eax], 0xfffffffa
jmp 0x100230f2
push 0
lea ecx, [ebp - 0x3c]
call fcn.100152af
mov dword [eax], 0xffffffe9
jmp 0x1002313c
push 0
lea ecx, [ebp - 0x3c]
call fcn.100152af
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x3c]
call fcn.100152af
cmp dword [eax], 0xffffffef
je 0x10023195
mov dword [ebp - 0x18], 0
jmp 0x1002315b
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jge 0x1002316e
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x48], 6
jmp 0x10023154
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x48]
dec eax
push 4
pop ecx
shl ecx, 1
mov dword [ebp + ecx - 0x48], eax
mov byte [ebp - 0x10], 0
movzx eax, byte [ebp - 0x10]
test eax, eax
je 0x10023193
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
jmp 0x10023124
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.100152aa
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.100152aa
push 0
call dword [sym.imp.USER32.dll_GetMenuItemCount]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x10023f53
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10023fcf
mov eax, dword [ebp + 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
push 0
push 0x6fa2
mov eax, dword [ebp - 0x18]
push dword [eax]
push 0x37ca
push dword [ebp - 0x1c]
push 0x61ac
mov eax, dword [ebp - 0x20]
push dword [eax]
mov eax, dword [ebp - 0x24]
push dword [eax]
mov eax, dword [ebp - 0x28]
push dword [eax]
call fcn.10028539
add esp, 0x24
jmp 0x10023ff0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x10023ff0
push 0xe11
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov esp, ebp
pop ebp
ret
Function at 0x10024f0b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10024f66
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x10024f47
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], 4
jge 0x10024f64
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x14]
call fcn.100152af
mov dword [eax], 0xb9b5
jmp 0x10024f3c
jmp 0x10024fbc
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x10024f88
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 1
jg 0x10024fbc
mov dword [ebp - 0x28], 0x322e546e
mov dword [ebp - 0x24], 0x322e546e
mov dword [ebp - 0x20], 0x322e546e
mov dword [ebp - 0x1c], 0x322e546e
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x28], 0x465c3015
jmp 0x10024f7d
mov esp, ebp
pop ebp
ret

Function at 0x10024fc0
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10024ffb
mov eax, dword [ebp + 8]
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 0x10024ff9
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
push 0
push 0
call dword [sym.imp.USER32.dll_DialogBoxParamA]
jmp 0x10025011
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x10025011
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_EqualSid]
mov esp, ebp
pop ebp
ret
Function at 0x1002b16c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x1002b190
xor eax, eax
jmp 0x1002b2dd
lea eax, [ebp - 0x10]
push eax
push 1
push 0x4846
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
push eax
push 0x111c
call fcn.1002a545
add esp, 0x18
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x1002b1c2
xor eax, eax
jmp 0x1002b2dd
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x4130
push 1
call fcn.1002af3b
add esp, 0x10
cmp dword [ebp - 0xc], 0
jne 0x1002b1e6
xor eax, eax
jmp 0x1002b2dd
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 4]
push eax
push 0x6e64
lea eax, [ebp - 0xc]
push eax
push 1
call fcn.1002afb5
add esp, 0x1c
push dword [ebp + 8]
push dword [ebp - 8]
push dword [ebp - 4]
push 0
push 0x6f82
call fcn.100241ab
add esp, 0x14
lea eax, [ebp - 0x14]
push eax
push 1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.1002b048
add esp, 0x10
cmp dword [ebp - 0x14], 0
je 0x1002b263
push 1
lea eax, [ebp - 4]
push eax
push 0x179d
lea eax, [ebp - 0x14]
push eax
push 0x7a5f
push 0x30dc
push 0x2ed3
call fcn.1002b098
add esp, 0x1c
push dword [ebp - 4]
call fcn.10029fda
pop ecx
test eax, eax
jne 0x1002b274
xor eax, eax
jmp 0x1002b2dd
push 0
push dword [ebp - 4]
call fcn.1002639d
pop ecx
pop ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x1002b2c5
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 0x1002b29f
xor eax, eax
jmp 0x1002b2dd
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x1002b2b8
xor eax, eax
jmp 0x1002b2dd
push 1
lea eax, [ebp - 4]
push eax
call fcn.1002b133
pop ecx
pop ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x1002b2d6
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
jmp 0x1002b2da
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x1003d098
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1003d0f3
mov eax, dword [ebp + 0xc]
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 0x1003d0d4
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], 3
jge 0x1003d0f1
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x10]
call fcn.100152af
mov dword [eax], 2
jmp 0x1003d0c9
jmp 0x1003d0fd
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_EqualSid]
mov esp, ebp
pop ebp
ret
Function at 0x10077475
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1008138c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.10068284
mov dword [ebp - 0x14], eax
cmp dword [0x154e0fac], esi
jne 0x10077568
push 0x800
push esi
push 0x10007aac
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x100774f5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x10077648
push esi
push esi
push 0x10007aac
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x10077648
push 0x10007ac4
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10077648
push eax
call ebx
push 0x10007ad0
push edi
mov dword [0x154e0fac], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007ae0
push edi
mov dword [0x154e0fb0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007af4
push edi
mov dword [0x154e0fb4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x154e0fbc], eax
test eax, eax
je 0x10077565
push 0x10007b10
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x154e0fb8], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1007758d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10077580
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x100775a2
push 4
pop eax
jmp 0x1007764a
cmp dword [ebp - 0x14], esi
je 0x100775a2
push dword [0x154e0fac]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x10077587
mov eax, dword [0x154e0fb8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x10077600
cmp dword [0x154e0fbc], edi
je 0x10077600
push eax
call ebx
push dword [0x154e0fbc]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x10077600
test eax, eax
je 0x10077600
call ecx
test eax, eax
je 0x100775f5
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x100775f5
test byte [ebp - 8], 1
jne 0x10077600
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x10077630
mov eax, dword [0x154e0fb0]
cmp eax, edi
je 0x1007762d
push eax
call ebx
test eax, eax
je 0x1007762d
call eax
mov esi, eax
test esi, esi
je 0x1007762d
mov eax, dword [0x154e0fb4]
cmp eax, edi
je 0x1007762d
push eax
call ebx
test eax, eax
je 0x1007762d
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x154e0fac]
call ebx
test eax, eax
je 0x10077648
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x1007764a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call main
mov esp, ebp
pop ebp
ret
Function at 0x10005230
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10011d0e
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x10023330]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x34], ebx
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call esi
push 1
mov dword [ebp - 0x30], eax
call esi
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [ebp - 0x18]
lea ecx, [ebp - 0x24]
mov esi, dword [ebp - 0x14]
call dword [sym.imp.mfc140.dll_Ordinal_316]
push esi
push edi
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0
push str.cx___d__cy___d
push eax
call dword [sym.imp.mfc140.dll_Ordinal_4807]
add esp, 0x10
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x100052c7
lea ecx, [ebp - 0x20]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x14]
mov esi, dword [ebx + 0xac]
sub eax, dword [ebp - 0x1c]
mov ebx, dword [ebx + 0xa8]
mov edi, dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
push 0x40
push esi
mov dword [ebp - 0x2c], eax
call edi
add esp, 4
add eax, 2
push eax
push ebx
call edi
add esp, 4
push eax
push esi
call edi
mov ecx, dword [ebp - 0x28]
add esp, 4
sub ecx, dword [ebp - 0x2c]
sub ecx, eax
push ecx
push ebx
call edi
mov ecx, dword [ebp - 0x30]
add esp, 4
mov esi, dword [ebp - 0x34]
sub ecx, eax
push ecx
push dword [esi + 0x94]
mov ecx, esi
call sub.mfc140.dll_Ordinal_14048
push 3
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_SetWindowPos]
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000f27b
mov esp, ebp
pop ebp
ret
Function at 0x10007040
Capabilities:
Extract resource via kernel32 functions
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10012311
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x10023330]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x13c]
mov dword [ebp - 0x140], edi
call dword [sym.imp.mfc140.dll_Ordinal_316]
push 0x105
lea ecx, [ebp - 0x13c]
mov dword [ebp - 4], 0
call dword [sym.imp.mfc140.dll_Ordinal_5095]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x100070b9
push 0xffffffffffffffff
lea ecx, [ebp - 0x13c]
call dword [sym.imp.mfc140.dll_Ordinal_12503]
push dword [0x10023228]
lea ecx, [ebp - 0x13c]
call dword [sym.imp.mfc140.dll_Ordinal_1696]
push 0
lea eax, [ebp - 0x138]
xorps xmm0, xmm0
push eax
push dword [ebp - 0x13c]
movlpd qword [ebp - 0x138], xmm0
movlpd qword [ebp - 0x130], xmm0
movlpd qword [ebp - 0x128], xmm0
call sub.mfc140.dll_Ordinal_6925
test eax, eax
jne 0x1000719e
call sub.mfc140.dll_Ordinal_2241
push 0x1001652c
push 0x3f5
mov eax, dword [eax + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
call sub.mfc140.dll_Ordinal_2241
push esi
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
call sub.mfc140.dll_Ordinal_2241
push esi
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push dword [ebp - 0x13c]
mov dword [ebp - 0x140], eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10007180
push 0x100146f0
mov ecx, edi
call dword [sym.imp.mfc140.dll_Ordinal_310]
jmp 0x100071ad
push 0
lea eax, [ebp - 0x144]
push eax
push dword [ebp - 0x140]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x13c]
mov ecx, edi
push eax
call dword [sym.imp.mfc140.dll_Ordinal_300]
lea ecx, [ebp - 0x13c]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000f27b
mov esp, ebp
pop ebp
ret 4
Function at 0x10007200
Capabilities:
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x608
mov eax, dword [0x10023330]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x608], esi
push edi
mov edi, dword [ebp + 0x10]
test ebx, ebx
je 0x10007283
test edi, edi
je 0x10007283
push 0x400
lea eax, [ebp - 0x604]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push dword [0x10023174]
lea eax, [ebp - 0x604]
push 0x400
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
add esp, 0xc
lea eax, [ebp - 0x604]
push eax
push 0x200
lea eax, [ebp - 0x204]
push eax
push 0x100146f0
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x204]
push eax
jmp 0x10007288
push 0x100146f0
mov ecx, esi
call dword [sym.imp.mfc140.dll_Ordinal_310]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000f27b
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1000ad80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10012cd8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x10023330]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], 0
mov esi, dword [ebp + 8]
mov ecx, esi
mov dword [ebp - 4], 1
mov dword [ebp - 0x10], 0
call dword [sym.imp.mfc140.dll_Ordinal_316]
push 0x163
mov ecx, esi
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x18], 0x163
call dword [sym.imp.mfc140.dll_Ordinal_5095]
mov edi, eax
lea eax, [ebp - 0x10]
push eax
push 0xf003f
push 0
push 0x10018ee4
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000ae22
lea eax, [ebp - 0x18]
push eax
push edi
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 0xffffffffffffffff
mov ecx, esi
call dword [sym.imp.mfc140.dll_Ordinal_12503]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret