joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10012770
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
test esi, esi
jne 0x10012783
lea eax, [esi + 0xd]
pop esi
pop ebp
ret 0xc
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push edi
xor edi, edi
lea ecx, [ecx]
push esi
call ebx
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x10012790
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push edi
push eax
mov eax, dword [edx]
push 7
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop ebx
pop esi
pop ebp
ret 0xc

Function at 0x100127c0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x1005d500]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov eax, ecx
mov esi, dword [eax + 4]
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x120]
push edx
xor edi, edi
or esi, 0x2001f
push esi
push edi
mov dword [ebp - 0x124], eax
mov eax, dword [eax]
push ecx
push eax
mov dword [ebp - 0x128], ecx
mov dword [ebp - 0x118], edi
mov dword [ebp - 0x114], edi
mov dword [ebp - 0x110], edi
mov dword [ebp - 0x120], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ecx, dword [ebp - 0x118]
mov ebx, eax
cmp ebx, edi
jne 0x10012854
xor eax, eax
cmp ecx, edi
je 0x10012836
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x120]
and esi, 0x300
mov ebx, eax
mov dword [ebp - 0x118], ecx
mov dword [ebp - 0x114], esi
cmp eax, edi
je 0x10012874
cmp ecx, edi
je 0x1001285f
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.10034d4a
mov esp, ebp
pop ebp
ret 4
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea eax, [ebp - 0x130]
push eax
push edi
push edi
push edi
lea edx, [ebp - 0x11c]
push edx
lea eax, [ebp - 0x10c]
push eax
push edi
push ecx
mov dword [ebp - 0x11c], pe_nt_image_headers32
call esi
test eax, eax
jne 0x100128fc
jmp 0x100128b0
lea ecx, [ebp - 0x10c]
push ecx
lea ecx, [ebp - 0x118]
call fcn.100127c0
mov ebx, eax
cmp ebx, edi
jne 0x10012952
lea edx, [ebp - 0x130]
push edx
mov edx, dword [ebp - 0x118]
push edi
push edi
push edi
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x10c]
push ecx
push edi
push edx
mov dword [ebp - 0x11c], pe_nt_image_headers32
call esi
test eax, eax
je 0x100128b0
mov eax, dword [ebp - 0x118]
cmp eax, edi
je 0x10012913
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x118], edi
mov ebx, dword [ebp - 0x128]
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x114], edi
call fcn.100125d0
mov esi, eax
mov eax, dword [ebp - 0x118]
cmp eax, edi
je 0x1001293d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.10034d4a
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x118]
cmp eax, edi
je 0x10012963
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 8]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.10034d4a
mov esp, ebp
pop ebp
ret 4
Function at 0x10015540
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x1005d500]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 0
push 0
push str.efbg
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
push 3
push 0x10053ed8
lea ecx, [ebp - 0x20]
mov dword [ebp - 0xc], 0xf
mov dword [ebp - 0x10], 0
mov byte [ebp - 0x20], 0
call fcn.100028b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, dword [ebp + 0xc]
dec eax
jne 0x1001559a
mov eax, dword [ebp + 8]
mov dword [0x10061bcc], eax
cmp dword [ebp - 0xc], 0x10
jb 0x100155ac
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.10032db0
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
call fcn.10034d4a
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10019cd0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1004eb08
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x1005d500]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
push edi
mov eax, dword [0x1005d500]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor ebx, ebx
mov edi, ecx
cmp byte [0x100a20a0], bl
je 0x10019d57
cmp dword [0x100a1fd0], 0x10
mov eax, dword [0x100a1fbc]
jae 0x10019d26
mov eax, 0x100a1fbc
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push ebx
push eax
call esi
cmp dword [0x100a1fec], 0x10
mov eax, dword [0x100a1fd8]
jae 0x10019d43
mov eax, 0x100a1fd8
push ebx
push eax
call esi
push edi
call fcn.10019e30
test al, al
jne 0x10019d61
inc dword [0x100a1ddc]
mov eax, 2
jmp 0x10019e0a
call fcn.1001c830
test al, al
je 0x10019d51
call fcn.1001cb20
test al, al
je 0x10019d51
call fcn.1001cc50
test al, al
je 0x10019d51
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov dword [esp + 0x14], vtable.SysService.0
mov dword [esp + 0x38], ebx
lea eax, [esp + 0x18]
mov dword [0x100a1db4], ebx
mov dword [0x100a1db8], ebx
mov dword [0x100a1da4], ebx
mov dword [0x100a1da8], ebx
mov dword [0x100a1dac], ebx
mov dword [0x100a1db0], ebx
mov dword [0x100a1ddc], ebx
call fcn.1002ff80
mov dword [0x100a1d9c], eax
call fcn.10003c50
push 0x100a202c
mov ebx, 0x100a1d90
call fcn.10024fb0
push 0x100a2010
call fcn.100039e0
mov dword [0x100a1ddc], 0
mov eax, 0xa
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.10034d4a
mov esp, ebp
pop ebp
ret
Function at 0x1001cb20
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004e99b
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x1005d500]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [ebp - 0x78]
push 0x10053b68
push eax
call fcn.100366ed
add esp, 0xc
xor ebx, ebx
push 0xffffffffffffffff
push ebx
push 0x100a1e8c
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x80], 0xf
mov dword [ebp - 0x84], ebx
mov byte [ebp - 0x94], bl
call fcn.10002da0
push 1
mov eax, 0x10054628
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], ebx
call fcn.10002620
lea eax, [ebp - 0x78]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1001cba8
sub eax, edx
push eax
lea eax, [ebp - 0x78]
lea ecx, [ebp - 0x94]
call fcn.10002620
mov ecx, dword [0x100a1ff4]
mov esi, 0x10
cmp dword [0x100a2008], esi
jae 0x1001cbd8
mov ecx, 0x100a1ff4
mov eax, dword [ebp - 0x94]
cmp dword [ebp - 0x80], esi
jae 0x1001cbe9
lea eax, [ebp - 0x94]
push ebx
push ebx
push ecx
push eax
push ebx
call dword [sym.imp.urlmon.dll_URLDownloadToFileA]
test eax, eax
je 0x1001cc10
cmp dword [ebp - 0x80], esi
jb 0x1001cc0c
mov ecx, dword [ebp - 0x94]
push ecx
call fcn.10032db0
add esp, 4
xor al, al
jmp 0x1001cc32
push 0x100a1ff4
call fcn.1000df30
mov bl, al
cmp dword [ebp - 0x80], esi
jb 0x1001cc30
mov edx, dword [ebp - 0x94]
push edx
call fcn.10032db0
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10034d4a
mov esp, ebp
pop ebp
ret
Function at 0x1001cc50
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004e99b
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x1005d500]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
cmp dword [0x100a1eb8], ebx
je 0x1001cd7a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [ebp - 0x78]
push 0x10053b68
push eax
call fcn.100366ed
add esp, 0xc
push 0xffffffffffffffff
push ebx
push 0x100a1ea8
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x80], 0xf
mov dword [ebp - 0x84], ebx
mov byte [ebp - 0x94], bl
call fcn.10002da0
push 1
mov eax, 0x10054628
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], ebx
call fcn.10002620
lea eax, [ebp - 0x78]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1001cce4
sub eax, edx
push eax
lea eax, [ebp - 0x78]
lea ecx, [ebp - 0x94]
call fcn.10002620
mov ecx, dword [0x100a2048]
mov esi, 0x10
cmp dword [0x100a205c], esi
jae 0x1001cd14
mov ecx, 0x100a2048
mov eax, dword [ebp - 0x94]
cmp dword [ebp - 0x80], esi
jae 0x1001cd25
lea eax, [ebp - 0x94]
push ebx
push ebx
push ecx
push eax
push ebx
call dword [sym.imp.urlmon.dll_URLDownloadToFileA]
test eax, eax
je 0x1001cd4c
cmp dword [ebp - 0x80], esi
jb 0x1001cd48
mov ecx, dword [ebp - 0x94]
push ecx
call fcn.10032db0
add esp, 4
xor al, al
jmp 0x1001cd84
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x80], esi
jb 0x1001cd67
mov edx, dword [ebp - 0x94]
push edx
call fcn.10032db0
add esp, 4
mov dword [ebp - 0x80], 0xf
mov dword [ebp - 0x84], ebx
mov byte [ebp - 0x94], bl
mov ecx, 0x100a2048
call fcn.10021a40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10034d4a
mov esp, ebp
pop ebp
ret
Function at 0x100206d0
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24c
mov eax, dword [0x1005d500]
xor eax, esp
mov dword [esp + 0x248], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push edi
lea eax, [esp + 0x154]
push eax
mov dword [esp + 0x14], ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push str..
lea ecx, [esp + 0x154]
push ecx
call esi
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x154]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x100207ea
push 0x100535a0
lea ecx, [esp + 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x100207d6
push 0x100546b4
lea edx, [esp + 0x40]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x100207d6
push edi
lea eax, [esp + 0x154]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x1005344c
lea ecx, [esp + 0x154]
push ecx
call esi
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x154]
push eax
call esi
test byte [esp + 0x10], 0x10
je 0x100207ae
lea ecx, [esp + 0x150]
push ecx
mov ecx, dword [esp + 0x10]
call fcn.100206d0
lea ecx, [esp + 0x10]
push ecx
jmp 0x100207db
push 0x80
lea edx, [esp + 0x154]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [esp + 0x150]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x10]
push ecx
jmp 0x100207db
lea edx, [esp + 0x10]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10020736
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov ecx, dword [esp + 0x254]
pop edi
cmp eax, 1
pop esi
sete al
pop ebx
xor ecx, esp
call fcn.10034d4a
mov esp, ebp
pop ebp
ret 4
Function at 0x10020b70
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004c5fb
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x1005d500]
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
xor ebx, ebx
mov edi, 0xf
mov esi, ecx
mov dword [ebp - 0x134], ebx
mov dword [ebp - 0x11c], edi
mov dword [ebp - 0x120], ebx
mov byte [ebp - 0x130], bl
push 0x103
lea eax, [ebp - 0x113]
push ebx
mov dword [ebp - 4], ebx
push eax
mov byte [ebp - 0x114], bl
call fcn.10037e50
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x114]
push ecx
push str.TEMP
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0x10020c0f
call fcn.10021000
cmp dword [ebp - 0x11c], 0x10
jb 0x10020c5f
mov edx, dword [ebp - 0x130]
push edx
jmp 0x10020c57
lea eax, [ebp - 0x114]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10020c18
sub eax, edx
push eax
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x130]
call fcn.100028b0
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
lea edi, [ebp - 0x130]
mov byte [esi], bl
call fcn.100029b0
cmp dword [ebp - 0x11c], 0x10
jb 0x10020c5f
mov ecx, dword [ebp - 0x130]
push ecx
call fcn.10032db0
add esp, 4
mov eax, esi
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.10034d4a
mov esp, ebp
pop ebp
ret
Function at 0x10020fb0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
cmp dword [eax + 0x14], 0x10
jb 0x10020fbb
mov eax, dword [eax]
push esi
push 0x100546d4
push eax
call fcn.10035675
mov esi, eax
add esp, 8
test esi, esi
jne 0x10020fd7
xor al, al
pop esi
pop ebp
ret 4
mov eax, dword [ebp + 8]
push edi
push esi
push ebx
push 1
push eax
call fcn.10035d0e
push esi
mov edi, eax
call fcn.100352de
add esp, 0x14
xor eax, eax
cmp edi, ebx
pop edi
sete al
pop esi
pop ebp
ret 4

Function at 0x10021000
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x1005d500]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1005fbf4]
push ebx
xor ebx, ebx
cmp dword [0x1005fc08], 0x10
mov dword [ebp - 0x110], ebx
mov byte [ebp - 0x108], bl
mov byte [ebp - 0x109], bl
jae 0x1002103b
mov eax, 0x1005fbf4
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x10021090
cmp dword [0x1005fc24], 0x10
mov eax, dword [0x1005fc10]
jae 0x1002105c
mov eax, 0x1005fc10
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x10021081
lea ecx, [ebp - 0x108]
push ecx
push ebx
push ebx
push 0x23
push ebx
call eax
test eax, eax
js 0x10021081
mov byte [ebp - 0x109], 1
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp byte [ebp - 0x109], bl
jne 0x100210b8
push 0x104
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x100210b8
push str.All_UsersApplication_Data
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x108]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov byte [esi], bl
lea edx, [eax + 1]
pop edi
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x100210d0
sub eax, edx
push eax
lea ecx, [ebp - 0x108]
push ecx
mov ecx, esi
call fcn.100028b0
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, esi
pop ebx
call fcn.10034d4a
mov esp, ebp
pop ebp
ret
Function at 0x10023b80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1004e8e8
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x1005d500]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
call fcn.10024340
mov dword [esp + 0x1c], vtable.WTL::CMessageLoop.0
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x60], ebx
mov edi, dword [0x100a20fc]
lea eax, [esp + 0x1c]
add edi, 0x10
push edi
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, dword [0x10061c14]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x20], eax
call fcn.10018700
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0xc]
xor esi, esi
cmp eax, 7
jne 0x10023c3a
push eax
call fcn.1000d770
add esp, 4
push ecx
call fcn.10023d50
jmp 0x10023c4e
cmp eax, 8
jne 0x10023c5d
push eax
call fcn.1000d770
add esp, 4
push ecx
call fcn.10023d50
lea edi, [esp + 0x1c]
mov esi, eax
call fcn.10024210
mov dword [esp + 0x14], eax
call fcn.100240c0
call fcn.10023e10
mov edi, dword [0x10061c14]
cmp edi, ebx
je 0x10023ca1
mov eax, dword [edi]
cmp eax, ebx
je 0x10023c82
push eax
call fcn.100358cc
add esp, 4
mov dword [edi], ebx
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x10023c95
push eax
call fcn.100358cc
add esp, 4
mov dword [edi + 4], ebx
push edi
mov dword [edi + 8], ebx
call fcn.10032db0
add esp, 4
call fcn.10023e90
cmp esi, ebx
je 0x10023cb4
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x10023ccf
push eax
call fcn.100358cc
add esp, 4
mov dword [esp + 0x2c], ebx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
cmp eax, ebx
je 0x10023ce8
push eax
call fcn.100358cc
add esp, 4
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10025650
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [esi + 0x20]
push eax
push 0x10060380
mov ebx, 0x100600f0
mov dword [ebp - 4], edi
call fcn.100212a0
add esp, 8
movzx ebx, ax
mov ecx, 0x1005fdb4
test edi, edi
je 0x10025680
mov ecx, edi
push ecx
mov eax, esp
push 0x40304
push 0x80ca0000
mov dword [eax], 0
push ecx
mov eax, esp
mov dword [eax], ecx
mov eax, esi
call fcn.10025eb0
mov ecx, dword [0x10060388]
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
push 0xc
mov dword [ebp - 4], ecx
call ebx
push eax
push 0xb
call ebx
mov edx, dword [ebp - 4]
push eax
push 1
push 0x6a
push edx
call dword [sym.imp.USER32.dll_LoadImageA]
push eax
mov eax, dword [esi + 4]
push 1
push 0x80
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [0x10060388]
push 0
push 0x32
mov dword [ebp - 4], ecx
call ebx
push eax
push 0x31
call ebx
mov edx, dword [ebp - 4]
push eax
push 1
push 0x6a
push edx
call dword [sym.imp.USER32.dll_LoadImageA]
push eax
mov eax, dword [esi + 4]
push 0
push 0x80
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esi + 4]
mov ebx, dword [sym.imp.USER32.dll_GetWindowLongA]
push 0xffffffffffffffec
push ecx
call ebx
mov edx, dword [esi + 4]
push eax
push 0
push 0xfffffffffffffff0
push edx
call ebx
push eax
push edi
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov eax, dword [edi + 4]
mov edx, dword [edi + 0xc]
mov ecx, dword [edi]
push 1
sub edx, eax
push edx
mov edx, dword [edi + 8]
sub edx, ecx
push edx
push eax
mov eax, dword [esi + 4]
push ecx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, esi
mov edx, dword [ecx + 0x3c]
mov eax, dword [edx + 0xc]
cmp eax, 7
je 0x1002576b
cmp eax, 8
je 0x1002576b
lea ecx, [esi + 4]
call fcn.10026140
jmp 0x10025777
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [esi + 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10025ce0
Capabilities:
Clear file content
Read .ini file

Disassembly:
push esi
push 0
push 0
push 0
push 0
push 0
push str.kduef
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_GetTextCharsetInfo]
push 0
push 0
push 0
push 0
push str.dgewq
call dword [sym.imp.KERNEL32.dll_UnlockFile]
push str.yklb
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
push str.ehsc
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
push str.qydml
push 0
push 0
push 0
call esi
push 0
push 0
push 0
push 0
call esi
mov eax, dword [edi + 0x3c]
cmp dword [eax + 0x18], 0
pop esi
je 0x10025d9a
mov ecx, dword [eax + 0xc]
cmp ecx, 7
je 0x10025d9a
cmp ecx, 8
je 0x10025d9a
mov eax, dword [edi + 4]
push 0x4653
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [edi + 4]
push ecx
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov dword [0x10061a98], 0
mov dword [edi + 0x40], 0
xor eax, eax
ret
mov eax, dword [eax + 0xc]
cmp eax, 7
je 0x10025dc0
cmp eax, 8
je 0x10025dc0
mov edx, dword [edi + 4]
push 0x4653
push 0
push 0
push 0
push 0
push 1
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov dword [0x10061a98], 0
mov dword [edi + 0x40], 0
xor eax, eax
ret
Function at 0x10026820
Capabilities:
Delete directory
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004bd28
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x1005d500]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
push ebx
push str.djbv
mov dword [ebp - 0x58], eax
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
push ebx
push ebx
push ebx
push ebx
push ebx
push str.dfgd0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push ebx
push ebx
push ebx
push ebx
push str.sdfe
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push str.shjt
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push ebx
push ebx
push ebx
push ebx
push str.pigf
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push ebx
push 0x10054930
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeA]
mov ecx, dword [edi + 8]
sub ecx, dword [edi + 4]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [ebp - 0x54], ebx
test ecx, ecx
jle 0x10026990
mov dword [ebp - 0x50], ebx
mov esi, dword [edi + 4]
add esi, dword [ebp - 0x50]
push 0xffffffffffffffff
push ebx
push esi
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x38], 0xf
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
call fcn.10002da0
push 0xffffffffffffffff
mov dword [ebp - 4], ebx
push ebx
add esi, 0x1c
push esi
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
call fcn.10002da0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x4c]
mov esi, 0x10
cmp dword [ebp - 0x38], esi
jae 0x10026920
lea eax, [ebp - 0x4c]
mov edx, dword [ebp - 0x3c]
push edx
push eax
mov eax, dword [ebp - 0x58]
push eax
xor eax, eax
call fcn.1000b4f0
cmp eax, 0xffffffff
jne 0x100269af
cmp dword [ebp - 0x1c], esi
jb 0x10026946
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.10032db0
add esp, 4
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
cmp dword [ebp - 0x38], esi
jb 0x10026964
mov edx, dword [ebp - 0x4c]
push edx
call fcn.10032db0
add esp, 4
mov ecx, dword [edi + 8]
sub ecx, dword [edi + 4]
mov esi, dword [ebp - 0x54]
add dword [ebp - 0x50], 0x38
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
inc esi
add eax, edx
mov dword [ebp - 0x54], esi
cmp esi, eax
jl 0x100268cb
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10034d4a
mov esp, ebp
pop ebp
ret 4
cmp dword [ebp - 0x1c], esi
jb 0x100269c0
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.10032db0
add esp, 4
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
cmp dword [ebp - 0x38], esi
jb 0x100269de
mov edx, dword [ebp - 0x4c]
push edx
call fcn.10032db0
add esp, 4
mov al, 1
jmp 0x10026992