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

Disassembly:
push 0xc
mov eax, 0x1017f27d
call fcn.1015ea07
mov dword [ebp - 0x10], ecx
xor edi, edi
mov dword [ebp - 4], edi
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], edi
je 0x10006b5f
push ecx
add eax, 0xfffffff0
mov esi, esp
mov dword [ebp - 0x14], esi
push eax
mov dword [ebp - 0x14], eax
call fcn.10005109
add eax, 0x10
pop ecx
mov dword [esi], eax
call fcn.10006a85
pop ecx
test eax, eax
je 0x10006b5c
mov ebx, edi
mov esi, edi
cmp dword [ebp - 0x10], ebx
jle 0x10006b57
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x10006b1c
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, dword [ebp - 0x10]
jl 0x10006afc
jmp 0x10006b1f
xor ebx, ebx
inc ebx
push ecx
mov esi, esp
push dword [ebp - 0x14]
mov dword [ebp - 0x18], esi
call fcn.10005109
add eax, 0x10
pop ecx
mov dword [esi], eax
call fcn.10006a85
pop ecx
test eax, eax
je 0x10006b57
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 0x10006b1f
mov eax, dword [ebp + 8]
jmp 0x10006b62
mov eax, dword [ebp + 8]
xor ebx, ebx
inc ebx
lea ecx, [eax - 0x10]
call fcn.10003bf1
mov eax, ebx
call fcn.1015e9d5
ret

Function at 0x10006b72
Capabilities:
Download url
Receive data

Disassembly:
push 4
mov eax, 0x1017f2af
call fcn.1015ea07
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.10005109
pop ecx
add eax, 0x10
push 5
pop ecx
mov dword [esi], eax
call fcn.10006ab1
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.1015e9d5
ret

Function at 0x10006c0f
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x14
mov eax, 0x1017f2e1
call fcn.1015ea3a
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.10006be1
test eax, eax
je 0x10006c9a
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 0x10006c64
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10006c9a
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.1015e9e9
ret
Function at 0x10006cb8
Capabilities:
Set registry value

Disassembly:
push 0x10
mov eax, 0x1017f31d
call fcn.1015ea3a
mov edi, edx
mov dword [ebp - 0x14], ecx
xor esi, esi
lea edx, [ebp + 0xc]
inc esi
mov dword [ebp - 4], esi
call fcn.10006be1
xor ebx, ebx
test eax, eax
je 0x10006d05
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 0x10006d25
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.1015e9e9
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 0x10006cff
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10006d07
Function at 0x10006d49
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017f361
mov eax, dword fs:[0]
push eax
mov eax, 0x1014
call fcn.1015ebb0
mov eax, dword [0x101ebe94]
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.1015fe00
add esp, 0xc
lea edx, [ebp + 0x10]
add esi, 0xfffffff0
add edi, 0xfffffff0
call fcn.10006be1
test eax, eax
jne 0x10006df6
push 0x101c76a6
mov ecx, ebx
call fcn.10004dc5
mov ecx, esi
call fcn.10003bf1
mov ecx, edi
call fcn.10003bf1
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
jmp 0x10006eba
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 0x10006e35
push dword [ebp - 0x101c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x101c76a6
jmp 0x10006e9f
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 0x10006e7e
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call fcn.10005109
add eax, 0x10
pop ecx
mov dword [ebx], eax
jmp 0x10006ea6
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 0x10006e8d
sub ecx, edx
je 0x10006e70
lea eax, [ebp - 0x1010]
push eax
mov ecx, ebx
call fcn.10004dc5
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.1015dd59
leave
ret
Function at 0x10006edb
Capabilities:
Set registry value

Disassembly:
push 0xc
mov eax, 0x1017f3a8
call fcn.1015ea3a
mov esi, ecx
lea edx, [ebp + 0x10]
mov dword [ebp - 4], 2
call fcn.10006be1
xor edi, edi
test eax, eax
je 0x10006f26
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 0x10006f51
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.1015e9e9
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 0x10006f20
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10006f28

Function at 0x10006f7a
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x101ebe94]
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.1015fe00
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 0x10006fd2
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.1015dd59
leave
ret
Function at 0x100076d6
Capabilities:
Delete file

Disassembly:
push 0x18
mov eax, 0x1017f5cf
call fcn.1015ea3a
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.10016bf7
push eax
mov ecx, edi
call fcn.100050a8
mov edx, esi
mov dword [ebp - 0x20], esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
call fcn.100069e9
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.10005109
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.10005109
add eax, 0x10
mov dword [esi], eax
pop ecx
mov byte [ebp - 4], 2
call fcn.10006b72
pop ecx
pop ecx
test eax, eax
je 0x10007794
mov eax, dword [ebp - 0x14]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
mov dword [ebp - 0x18], esi
call fcn.10005109
pop ecx
add eax, 0x10
lea ecx, [ebp - 0x1c]
mov dword [esi], eax
call fcn.100077b7
pop ecx
push eax
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.10005058
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.1015e9e9
ret
Function at 0x10008924
Capabilities:
Move file

Disassembly:
push 0xc
mov eax, 0x1017f93b
call fcn.1015ea07
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 1
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
je 0x10008a0c
mov ecx, dword [ebp + 0xc]
cmp dword [ecx - 0xc], 0
je 0x10008a0c
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
mov dword [ebp - 0x18], esi
call fcn.10005109
add eax, 0x10
pop ecx
mov dword [esi], eax
call fcn.10006a85
pop ecx
test eax, eax
je 0x10008a09
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.10005109
pop ecx
add eax, 0x10
mov ecx, ebx
mov dword [esi], eax
call fcn.10006ab1
mov esi, dword [ebp - 0x14]
xor edi, edi
mov dword [ebp - 0x10], edi
mov ebx, edi
pop ecx
test esi, esi
jle 0x10008a04
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x100089d2
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 0x100089aa
jmp 0x100089d5
xor ebx, ebx
inc ebx
push ecx
mov esi, esp
push dword [ebp - 0x18]
mov dword [ebp - 0x10], esi
call fcn.10005109
add eax, 0x10
pop ecx
mov dword [esi], eax
call fcn.10006a85
pop ecx
test eax, eax
jne 0x10008a04
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, dword [ebp - 0x14]
jl 0x100089d5
mov eax, dword [ebp + 8]
jmp 0x10008a0e
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.1015e9d5
ret

Function at 0x10008a29
Capabilities:
Delete file

Disassembly:
push 0x138
mov eax, 0x1017f97b
call fcn.1015ea3a
push ecx
xor ebx, ebx
mov ecx, esp
mov dword [ebp - 4], ebx
mov dword [ebp - 0x140], esp
push 0x101c76a6
call fcn.10004dc5
push ecx
mov byte [ebp - 4], 1
mov ecx, esp
mov dword [ebp - 0x144], esp
push 0x101c7e08
call fcn.10004dc5
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.10005109
pop ecx
add eax, 0x10
lea ecx, [ebp - 0x138]
mov dword [esi], eax
or edx, 0xffffffff
mov byte [ebp - 4], bl
call fcn.10008834
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 0x10008ab5
mov eax, dword [eax - 0xc]
inc eax
cmp eax, 0x104
jae 0x10008b2b
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.1015e9e9
ret
call fcn.1015e4ce
int3
Function at 0x10008cb5
Capabilities:
Create process on windows

Disassembly:
push 0x48
mov eax, 0x1017fa0e
call fcn.1015ea3a
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 0x10008d91
push ecx
mov ecx, esp
mov dword [ebp - 0x54], esp
push 0x101c7e08
lea edi, [edx - 1]
call fcn.10004dc5
push ecx
mov esi, esp
mov byte [ebp - 4], 2
push dword [ebp - 0x4c]
mov dword [ebp - 0x48], esi
call fcn.10005109
pop ecx
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
mov byte [ebp - 4], bl
call fcn.10008b31
pop ecx
pop ecx
test eax, eax
jne 0x10008d49
push dword [ebp - 0x4c]
call fcn.10005109
add eax, 0x10
lea ecx, [ebp - 0x44]
push ecx
push eax
lea edi, [eax - 0x10]
call fcn.10167b5c
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 0x10008d8e
and dword [ebp - 0x14], 0
mov edi, dword [ebp - 0x4c]
push ecx
mov esi, esp
push edi
mov dword [ebp - 0x48], esi
call fcn.10005109
pop ecx
add eax, 0x10
lea ecx, [ebp - 0x14]
mov edx, ebx
mov dword [esi], eax
call fcn.10008bae
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 0x10008d93
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.1015e9e9
ret
Function at 0x1001906b
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x101815d2
call fcn.1015ea07
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x10019091
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x100190eb
lea ecx, [ebp - 0x10]
call fcn.10004e13
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 [0x10191a68]
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.1016cb6a
push eax
call fcn.100056aa
add esp, 0x14
test esi, esi
je 0x100190de
push esi
call fcn.1016ca70
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.10003bf1
mov eax, ebx
call fcn.1015e9d5
ret 8

Function at 0x1001bd2e
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 0x1001bd6d
call fcn.100330bc
push 0xf0
push dword [ebp + 8]
mov edi, dword [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x1001bd6d
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1001bd75
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
push esi
mov ecx, ebx
call fcn.10037ba4
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x1001c77a
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 0x1001c806
cmp dword [esi + 0x20], 0
je 0x1001c806
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1001c806
cmp dword [ebp + 8], 0
je 0x1001c806
xor edi, edi
mov ebx, edi
call fcn.100330bc
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 0x1001c7ea
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 0x1001c806
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push edi
push ebx
push esi
call fcn.1003c66b
mov edi, eax
add esp, 0xc
test edi, edi
je 0x1001c802
mov ecx, esi
call fcn.1001c518
mov eax, edi
jmp 0x1001c808
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x100307ec
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 0x1003083f
push esi
push dword [ebp + 8]
call fcn.100309d2
mov edi, eax
test edi, edi
je 0x1003083a
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 0x1003083a
mov eax, dword [ebp - 8]
jmp 0x10030851
mov eax, dword [ebp + 0x10]
jmp 0x10030851
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 0x100325cb
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 0x10032610
call fcn.100330bc
push 0xf0
push dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x1003260d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10032657
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 0x10032633
mov ecx, dword [eax]
push dword [ebp + 0x10]
push edi
mov esi, dword [ecx + 0x20]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10191a68]
mov ecx, dword [ebp - 4]
call esi
mov ebx, eax
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x70]
test edi, edi
je 0x10032654
mov edx, dword [edi]
push dword [ebp + 0x10]
mov esi, dword [edx + 0xa0]
mov ecx, esi
call dword [0x10191a68]
mov ecx, edi
call esi
mov eax, ebx
pop ebx
pop edi
pop esi
leave
ret 0xc

Function at 0x10034f1a
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 0x10034f45
cmp dword [edi + 0x80], 0
jne 0x10034f45
movzx eax, bx
mov dword [edi + 0x80], eax
call fcn.100330bc
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.100351b3
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x10034f72
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.100330bc
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 0x10034fa5
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.10034fb8
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x1003f0e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 4], ebx
test byte [esi + 4], 1
mov edi, dword [esi + 0xc]
jne 0x1003f136
push 5
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x1003f10f
call fcn.100363ef
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x1003f124
call fcn.100363ef
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x1003f136
call fcn.100363ef
call fcn.100330bc
cmp dword [eax + 0x3c], 0
je 0x1003f14b
push edi
mov ecx, ebx
call fcn.1003e803
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.1003f331
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x1003f174
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x1003f180
mov edi, ebx
mov dword [eax + 0x88], ebx
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x1004c705
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
push edi
test esi, esi
jne 0x1004c71e
call fcn.100330bc
mov esi, dword [eax + 0xc]
push 0x1019848c
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x1004c760
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1004c760
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x1004c760
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.1004c769
jmp 0x1004c762
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8