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

Disassembly:
push 0xc
mov eax, 0x10180776
call fcn.1015f971
mov dword [ebp - 0x10], ecx
xor edi, edi
mov dword [ebp - 4], edi
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], edi
je 0x10007d25
push ecx
add eax, 0xfffffff0
mov esi, esp
mov dword [ebp - 0x14], esi
push eax
mov dword [ebp - 0x14], eax
call fcn.100050e8
add eax, 0x10
pop ecx
mov dword [esi], eax
call fcn.10007c4b
pop ecx
test eax, eax
je 0x10007d22
mov ebx, edi
mov esi, edi
cmp dword [ebp - 0x10], ebx
jle 0x10007d1d
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x10007ce2
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, dword [ebp - 0x10]
jl 0x10007cc2
jmp 0x10007ce5
xor ebx, ebx
inc ebx
push ecx
mov esi, esp
push dword [ebp - 0x14]
mov dword [ebp - 0x18], esi
call fcn.100050e8
add eax, 0x10
pop ecx
mov dword [esi], eax
call fcn.10007c4b
pop ecx
test eax, eax
je 0x10007d1d
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
inc edi
cmp edi, dword [ebp - 0x10]
jl 0x10007ce5
mov eax, dword [ebp + 8]
jmp 0x10007d28
mov eax, dword [ebp + 8]
xor ebx, ebx
inc ebx
lea ecx, [eax - 0x10]
call fcn.10003bf1
mov eax, ebx
call fcn.1015f93f
ret

Function at 0x10007d38
Capabilities:
Download url
Receive data

Disassembly:
push 4
mov eax, 0x101807a8
call fcn.1015f971
mov dword [ebp - 4], 1
mov edi, dword [ebp + 0xc]
push ecx
mov esi, esp
add edi, 0xfffffff0
push edi
mov dword [ebp - 0x10], esi
call fcn.100050e8
pop ecx
add eax, 0x10
push 5
pop ecx
mov dword [esi], eax
call fcn.10007c77
pop ecx
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
xor eax, eax
push eax
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call dword [sym.imp.urlmon.dll_URLDownloadToFileA]
mov ecx, dword [ebp + 8]
xor ebx, ebx
test eax, eax
setns bl
lea ecx, [ecx - 0x10]
call fcn.10003bf1
mov ecx, edi
call fcn.10003bf1
mov eax, ebx
call fcn.1015f93f
ret

Function at 0x10007dd5
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x14
mov eax, 0x101807da
call fcn.1015f9a4
mov edi, edx
mov ebx, ecx
mov dword [ebp - 4], 1
lea edx, [ebp + 0xc]
or esi, 0xffffffff
mov dword [ebp - 0x14], esi
call fcn.10007da7
test eax, eax
je 0x10007e60
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
xor eax, eax
push eax
push 0x20019
push eax
push eax
push eax
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x10007e2a
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10007e60
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 4
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push dword [ebp + 8]
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp - 0x14]
test eax, eax
push dword [ebp - 0x20]
cmovne ecx, ebx
mov dword [ebp - 0x14], ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.10003bf1
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.10003bf1
mov eax, esi
call fcn.1015f953
ret
Function at 0x10007e7e
Capabilities:
Set registry value

Disassembly:
push 0x10
mov eax, 0x10180816
call fcn.1015f9a4
mov edi, edx
mov dword [ebp - 0x14], ecx
xor esi, esi
lea edx, [ebp + 0xc]
inc esi
mov dword [ebp - 4], esi
call fcn.10007da7
xor ebx, ebx
test eax, eax
je 0x10007ecb
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push 0x20006
push ebx
push ebx
push ebx
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x10007eeb
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, ebx
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.10003bf1
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.10003bf1
mov eax, esi
call fcn.1015f953
ret
push 4
lea eax, [ebp - 0x14]
push eax
push 4
push ebx
push dword [ebp + 8]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x1c]
test eax, eax
jne 0x10007ec5
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10007ecd
Function at 0x10007f0f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018085a
mov eax, dword fs:[0]
push eax
mov eax, 0x1014
call fcn.1015fb20
mov eax, dword [0x101ece94]
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 dword [ebp - 0x1020], edx
mov ebx, ecx
mov dword [ebp - 0x1014], ebx
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1014], ebx
xor eax, eax
mov dword [ebp - 4], 2
push 0x1000
push eax
mov dword [ebp - 0x101c], eax
mov dword [ebp - 0x1018], eax
lea eax, [ebp - 0x1010]
push eax
call fcn.10160d70
add esp, 0xc
lea edx, [ebp + 0x10]
add esi, 0xfffffff0
add edi, 0xfffffff0
call fcn.10007da7
test eax, eax
jne 0x10007fbc
push 0x101c86f6
mov ecx, ebx
call fcn.10004da4
mov ecx, esi
call fcn.10003bf1
mov ecx, edi
call fcn.10003bf1
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
jmp 0x10008080
lea eax, [ebp - 0x1018]
push eax
lea eax, [ebp - 0x101c]
push eax
xor eax, eax
push eax
push 0x20019
push eax
push eax
push eax
push dword [ebp + 0x10]
push dword [ebp - 0x1020]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x10007ffb
push dword [ebp - 0x101c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x101c86f6
jmp 0x10008065
lea eax, [ebp - 0x1014]
mov dword [ebp - 0x1014], 0x1000
push eax
lea eax, [ebp - 0x1010]
push eax
push 0
push 0
push dword [ebp + 8]
push dword [ebp - 0x101c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x101c]
test eax, eax
je 0x10008044
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call fcn.100050e8
add eax, 0x10
pop ecx
mov dword [ebx], eax
jmp 0x1000806c
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x1010]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10008053
sub ecx, edx
je 0x10008036
lea eax, [ebp - 0x1010]
push eax
mov ecx, ebx
call fcn.10004da4
mov ecx, esi
call fcn.10003bf1
mov ecx, edi
call fcn.10003bf1
mov ecx, dword [ebp + 0x10]
lea ecx, [ecx - 0x10]
call fcn.10003bf1
mov eax, ebx
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.1015ecc3
leave
ret
Function at 0x100080a1
Capabilities:
Set registry value

Disassembly:
push 0xc
mov eax, 0x101808a1
call fcn.1015f9a4
mov esi, ecx
lea edx, [ebp + 0x10]
mov dword [ebp - 4], 2
call fcn.10007da7
xor edi, edi
test eax, eax
je 0x100080ec
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push edi
push 0x20006
push edi
push edi
push edi
push dword [ebp + 0x10]
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x10008117
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, edi
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.10003bf1
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.10003bf1
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.10003bf1
mov eax, esi
call fcn.1015f953
ret
mov eax, dword [ebp + 0xc]
xor esi, esi
inc esi
mov ecx, dword [eax - 0xc]
inc ecx
push ecx
push eax
push esi
push edi
push dword [ebp + 8]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x18]
test eax, eax
jne 0x100080e6
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100080ee

Function at 0x10008140
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x101ece94]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x44
pop edi
push edi
xor ebx, ebx
lea eax, [ebp - 0x48]
push ebx
push eax
mov esi, ecx
call fcn.10160d70
add esp, 0xc
mov dword [ebp - 0x48], edi
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push ebx
push ebx
push 0x8000000
push ebx
push ebx
push ebx
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov edi, eax
test esi, esi
je 0x10008198
push 0xffffffffffffffff
push dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x58]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x54]
call esi
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.10003bf1
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1015ecc3
leave
ret
Function at 0x1000899a
Capabilities:
Delete file

Disassembly:
push 0x18
mov eax, 0x10180b0c
call fcn.1015f9a4
mov edi, ecx
mov dword [ebp - 0x1c], edi
xor ebx, ebx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], ebx
xor esi, esi
inc esi
mov dword [ebp - 4], esi
mov dword [edi], ebx
call fcn.10017b67
push eax
mov ecx, edi
call fcn.10005087
mov edx, esi
mov dword [ebp - 0x20], esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
call fcn.10007baf
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x1c], esp
mov esi, esp
push eax
mov dword [ebp - 0x18], esi
call fcn.100050e8
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 3
mov esi, esp
mov ebx, dword [ebp + 8]
add ebx, 0xfffffff0
mov dword [ebp - 0x18], esi
push ebx
call fcn.100050e8
add eax, 0x10
mov dword [esi], eax
pop ecx
mov byte [ebp - 4], 2
call fcn.10007d38
pop ecx
pop ecx
test eax, eax
je 0x10008a58
mov eax, dword [ebp - 0x14]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
mov dword [ebp - 0x18], esi
call fcn.100050e8
pop ecx
add eax, 0x10
lea ecx, [ebp - 0x1c]
mov dword [esi], eax
call fcn.10008a7b
pop ecx
push eax
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.10005037
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.10003bf1
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.10003bf1
mov ecx, ebx
call fcn.10003bf1
mov eax, edi
call fcn.1015f953
ret

Function at 0x100092c1
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 5
xor eax, eax
push eax
push eax
push dword [ebp + 8]
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
pop ebp
jmp fcn.10003bf1
Function at 0x1000965e
Capabilities:
Enumerate processes

Disassembly:
push 0x420
mov eax, 0x10180e89
call fcn.1015f9a4
mov dword [ebp - 0x420], edx
mov ebx, ecx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x428], eax
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
je 0x10009825
call sub.KERNEL32.dll_GetCurrentProcessId
mov esi, eax
lea ecx, [ebp + 8]
mov dword [ebp - 0x42c], esi
call fcn.10006932
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x10009825
push ebx
push edi
mov dword [ebx], 0x128
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x1000981e
mov dword [ebp - 0x41c], 1
cmp dword [ebp + 0x14], 0
jne 0x100096e8
cmp esi, dword [ebx + 8]
je 0x1000980e
and dword [ebp - 0x414], 0
lea ecx, [ebp - 0x414]
push 0x101c86f6
call fcn.10004da4
mov byte [ebp - 4], 1
push dword [ebx + 8]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
lea ecx, [ebp - 0x418]
mov dword [ebp - 0x424], eax
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp - 0x418], 0x103
jne 0x100097be
lea esi, [ebx + 0x24]
push esi
call fcn.1000501d
pop ecx
push eax
push esi
lea ecx, [ebp - 0x414]
call fcn.1000520a
mov esi, dword [ebp - 0x424]
lea eax, [ebp - 0x410]
push 0x400
push eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExA]
test eax, eax
je 0x100097c4
cmp dword [ebp - 0x420], 0
je 0x10009796
lea eax, [ebp - 0x410]
push eax
call fcn.1000501d
pop ecx
mov ecx, dword [ebp - 0x420]
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.1000520a
cmp dword [ebp + 0xc], 0
je 0x100097c4
lea eax, [ebp - 0x410]
push eax
call fcn.1000501d
pop ecx
push eax
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x414]
call fcn.1000520a
jmp 0x100097c4
mov esi, dword [ebp - 0x424]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
lea ecx, [ebp - 0x414]
call fcn.10006932
push dword [ebp - 0x414]
lea ecx, [ebp + 8]
call fcn.10004f2e
test eax, eax
jne 0x100097f6
mov eax, dword [ebp - 0x428]
test eax, eax
je 0x10009843
inc dword [eax]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x414]
lea ecx, [ecx - 0x10]
call fcn.10003bf1
mov esi, dword [ebp - 0x42c]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x100096d9
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [ebp - 0x41c], 0
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.10003bf1
mov eax, dword [ebp - 0x41c]
call fcn.1015f953
ret
push edi
call esi
mov ecx, dword [ebp - 0x414]
lea ecx, [ecx - 0x10]
call fcn.10003bf1
jmp 0x1000982c
Function at 0x100099ac
Capabilities:
Move file

Disassembly:
push 0xc
mov eax, 0x10180f0a
call fcn.1015f971
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 1
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
je 0x10009a94
mov ecx, dword [ebp + 0xc]
cmp dword [ecx - 0xc], 0
je 0x10009a94
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
mov dword [ebp - 0x18], esi
call fcn.100050e8
add eax, 0x10
pop ecx
mov dword [esi], eax
call fcn.10007c4b
pop ecx
test eax, eax
je 0x10009a91
mov eax, dword [ebp + 0xc]
push ecx
add eax, 0xfffffff0
mov esi, esp
mov dword [ebp - 0x18], esi
push eax
mov dword [ebp - 0x18], eax
call fcn.100050e8
pop ecx
add eax, 0x10
mov ecx, ebx
mov dword [esi], eax
call fcn.10007c77
mov esi, dword [ebp - 0x14]
xor edi, edi
mov dword [ebp - 0x10], edi
mov ebx, edi
pop ecx
test esi, esi
jle 0x10009a8c
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x10009a5a
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp eax, esi
jl 0x10009a32
jmp 0x10009a5d
xor ebx, ebx
inc ebx
push ecx
mov esi, esp
push dword [ebp - 0x18]
mov dword [ebp - 0x10], esi
call fcn.100050e8
add eax, 0x10
pop ecx
mov dword [esi], eax
call fcn.10007c4b
pop ecx
test eax, eax
jne 0x10009a8c
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, dword [ebp - 0x14]
jl 0x10009a5d
mov eax, dword [ebp + 8]
jmp 0x10009a96
mov eax, dword [ebp + 8]
xor ebx, ebx
lea ecx, [eax - 0x10]
call fcn.10003bf1
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.10003bf1
mov eax, ebx
call fcn.1015f93f
ret

Function at 0x10009ab1
Capabilities:
Delete file

Disassembly:
push 0x138
mov eax, 0x10180f4a
call fcn.1015f9a4
push ecx
xor ebx, ebx
mov ecx, esp
mov dword [ebp - 4], ebx
mov dword [ebp - 0x140], esp
push 0x101c86f6
call fcn.10004da4
push ecx
mov byte [ebp - 4], 1
mov ecx, esp
mov dword [ebp - 0x144], esp
push 0x101c8fa0
call fcn.10004da4
mov byte [ebp - 4], 2
mov edi, dword [ebp + 8]
push ecx
mov esi, esp
add edi, 0xfffffff0
push edi
mov dword [ebp - 0x13c], esi
call fcn.100050e8
pop ecx
add eax, 0x10
lea ecx, [ebp - 0x138]
mov dword [esi], eax
or edx, 0xffffffff
mov byte [ebp - 4], bl
call fcn.10009856
mov ecx, dword [ebp - 0x138]
add esp, 0xc
lea ecx, [ecx - 0x10]
call fcn.10003bf1
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x114]
mov edx, eax
sub esi, eax
mov cl, byte [edx]
mov byte [esi + edx], cl
inc edx
test cl, cl
jne 0x10009b3d
mov eax, dword [eax - 0xc]
inc eax
cmp eax, 0x104
jae 0x10009bb3
mov byte [ebp + eax - 0x114], bl
lea eax, [ebp - 0x114]
mov dword [ebp - 0x12c], eax
mov eax, 0x414
mov word [ebp - 0x124], ax
lea eax, [ebp - 0x134]
push eax
mov dword [ebp - 0x134], ebx
mov dword [ebp - 0x130], 3
mov dword [ebp - 0x128], ebx
mov dword [ebp - 0x122], ebx
mov dword [ebp - 0x11e], ebx
mov dword [ebp - 0x11a], ebx
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
mov ecx, edi
call fcn.10003bf1
call fcn.1015f953
ret
call fcn.1015f438
int3
Function at 0x10009d3d
Capabilities:
Create process on windows

Disassembly:
push 0x48
mov eax, 0x10180fdd
call fcn.1015f9a4
mov dword [ebp - 0x50], ecx
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0xc]
lea edi, [eax - 0x10]
mov dword [ebp - 0x4c], edi
test edx, edx
je 0x10009e19
push ecx
mov ecx, esp
mov dword [ebp - 0x54], esp
push 0x101c8fa0
lea edi, [edx - 1]
call fcn.10004da4
push ecx
mov esi, esp
mov byte [ebp - 4], 2
push dword [ebp - 0x4c]
mov dword [ebp - 0x48], esi
call fcn.100050e8
pop ecx
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
mov byte [ebp - 4], bl
call fcn.10009bb9
pop ecx
pop ecx
test eax, eax
jne 0x10009dd1
push dword [ebp - 0x4c]
call fcn.100050e8
add eax, 0x10
lea ecx, [ebp - 0x44]
push ecx
push eax
lea edi, [eax - 0x10]
call fcn.10168cfc
add esp, 0xc
or esi, 0xffffffff
test eax, eax
mov ecx, edi
cmove esi, dword [ebp - 0x30]
call fcn.10003bf1
cmp esi, dword [ebp - 0x50]
jbe 0x10009e16
and dword [ebp - 0x14], 0
mov edi, dword [ebp - 0x4c]
push ecx
mov esi, esp
push edi
mov dword [ebp - 0x48], esi
call fcn.100050e8
pop ecx
add eax, 0x10
lea ecx, [ebp - 0x14]
mov edx, ebx
mov dword [esi], eax
call fcn.10009c36
pop ecx
push ebx
push dword [ebp - 0x14]
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.10003bf1
jmp 0x10009e1b
mov edi, dword [ebp - 0x4c]
xor ebx, ebx
mov ecx, edi
call fcn.10003bf1
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.10003bf1
mov eax, ebx
call fcn.1015f953
ret
Function at 0x10019fdb
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x10182ae2
call fcn.1015f971
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x1001a001
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x1001a05b
lea ecx, [ebp - 0x10]
call fcn.10004df2
mov edi, dword [edi + 0x74]
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x8c]
mov ecx, esi
call dword [0x10192a68]
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.1016dd0a
push eax
call fcn.10005b91
add esp, 0x14
test esi, esi
je 0x1001a04e
push esi
call fcn.1016dc10
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.10003bf1
mov eax, ebx
call fcn.1015f93f
ret 8

Function at 0x1001cc9e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
xor esi, esi
mov ebx, ecx
push edi
cmp dword [ebp + 8], esi
je 0x1001ccdd
call fcn.10034024
push 0xf0
push dword [ebp + 8]
mov edi, dword [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x1001ccdd
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1001cce5
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
push esi
mov ecx, ebx
call fcn.10038b0d
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x1001d6ea
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x1001d776
cmp dword [esi + 0x20], 0
je 0x1001d776
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1001d776
cmp dword [ebp + 8], 0
je 0x1001d776
xor edi, edi
mov ebx, edi
call fcn.10034024
push str.AFX_DIALOG_LAYOUT
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 8], eax
test eax, eax
je 0x1001d75a
mov ebx, dword [ebp - 4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 8]
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1001d776
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push edi
push ebx
push esi
call fcn.1003d5d4
mov edi, eax
add esp, 0xc
test edi, edi
je 0x1001d772
mov ecx, esi
call fcn.1001d488
mov eax, edi
jmp 0x1001d778
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x10031756
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push edi
cmp dword [ecx + 0x58], esi
je 0x100317a9
push esi
push dword [ebp + 8]
call fcn.1003193c
mov edi, eax
test edi, edi
je 0x100317a4
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x100317a4
mov eax, dword [ebp - 8]
jmp 0x100317bb
mov eax, dword [ebp + 0x10]
jmp 0x100317bb
push dword [ecx + 0x6c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
pop edi
pop esi
leave
ret 0xc

Function at 0x10033533
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
mov eax, ecx
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], edi
je 0x10033578
call fcn.10034024
push 0xf0
push dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x10033575
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x100335bf
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov eax, dword [ebp - 4]
push ebx
xor ebx, ebx
inc ebx
test edi, edi
je 0x1003359b
mov ecx, dword [eax]
push dword [ebp + 0x10]
push edi
mov esi, dword [ecx + 0x20]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10192a68]
mov ecx, dword [ebp - 4]
call esi
mov ebx, eax
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x70]
test edi, edi
je 0x100335bc
mov edx, dword [edi]
push dword [ebp + 0x10]
mov esi, dword [edx + 0xa0]
mov ecx, esi
call dword [0x10192a68]
mov ecx, edi
call esi
mov eax, ebx
pop ebx
pop edi
pop esi
leave
ret 0xc

Function at 0x10035e82
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x84], ebx
test ebx, 0xffff0000
jne 0x10035ead
cmp dword [edi + 0x80], 0
jne 0x10035ead
movzx eax, bx
mov dword [edi + 0x80], eax
call fcn.10034024
push 5
push ebx
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ecx, edi
push eax
call fcn.1003611b
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x10035eda
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, ecx
xor esi, esi
call fcn.10034024
push 5
push dword [ebp + 8]
mov edi, dword [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10035f0d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
push edi
push dword [ebp + 0xc]
mov ecx, ebx
push esi
call fcn.10035f20
pop edi
pop esi
pop ebx
pop ebp
ret 8