joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10006814
Capabilities:
Get common file path

Disassembly:
push 0x810
mov eax, 0x1017f267
call fcn.1015ea5b
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x81c], edi
push 0x800
xor ebx, ebx
mov dword [ebp - 0x81c], edi
lea eax, [ebp - 0x810]
push ebx
push eax
call fcn.1015fe20
add esp, 0xc
mov dword [ebp - 0x814], ebx
call fcn.10016c17
push eax
lea ecx, [ebp - 0x814]
call fcn.100050be
mov dword [ebp - 4], ebx
sub esi, 1
je 0x10006952
sub esi, 1
je 0x1000694a
sub esi, 3
je 0x10006943
sub esi, 4
je 0x100068b7
sub esi, 1
je 0x100068b2
sub esi, 1
je 0x100068ad
sub esi, 1
jne 0x10006984
push ebx
push 0x1c
lea eax, [ebp - 0x810]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
jmp 0x10006964
push ebx
push 0x23
jmp 0x1000689a
push ebx
push 0x1a
jmp 0x1000689a
push 1
push 2
pop edx
lea ecx, [ebp - 0x818]
call fcn.10006814
mov byte [ebp - 4], 1
mov dword [esp], str.Links
push eax
lea eax, [ebp - 0x81c]
push eax
call fcn.10004c89
add esp, 0xc
push eax
lea ecx, [ebp - 0x814]
mov byte [ebp - 4], 2
call fcn.1000506e
mov ecx, dword [ebp - 0x81c]
lea ecx, [ecx - 0x10]
call fcn.10003bf1
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x818]
add ecx, 0xfffffff0
call fcn.10003bf1
push ecx
mov esi, esp
mov dword [ebp - 0x818], esi
mov eax, dword [ebp - 0x814]
add eax, 0xfffffff0
push eax
call fcn.1000511f
pop ecx
add eax, 0x10
lea ecx, [ebp - 0x818]
mov edx, ebx
mov dword [esi], eax
call fcn.10006713
pop ecx
mov byte [ebp - 4], 3
jmp 0x100069b4
push ebx
push ebx
jmp 0x1000689a
push ebx
push 6
jmp 0x1000689a
lea eax, [ebp - 0x810]
push eax
push 0x800
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x810]
push eax
call fcn.10005054
pop ecx
push eax
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x814]
call fcn.10005241
push ecx
mov esi, esp
mov dword [ebp - 0x818], esi
mov eax, dword [ebp - 0x814]
add eax, 0xfffffff0
push eax
call fcn.1000511f
pop ecx
add eax, 0x10
lea ecx, [ebp - 0x818]
mov edx, ebx
mov dword [esi], eax
call fcn.10006713
pop ecx
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x814]
call fcn.1000506e
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x818]
lea ecx, [ecx - 0x10]
call fcn.10003bf1
mov esi, dword [ebp - 0x814]
add esi, 0xfffffff0
push esi
call fcn.1000511f
pop ecx
add eax, 0x10
mov ecx, esi
mov dword [edi], eax
call fcn.10003bf1
mov eax, edi
call fcn.1015ea0a
ret
Function at 0x10006abd
Capabilities:
Delete file

Disassembly:
push 0xc
mov eax, 0x1017f29e
call fcn.1015ea28
mov dword [ebp - 0x10], ecx
xor edi, edi
mov dword [ebp - 4], edi
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], edi
je 0x10006b6b
push ecx
add eax, 0xfffffff0
mov esi, esp
mov dword [ebp - 0x14], esi
push eax
mov dword [ebp - 0x14], eax
call fcn.1000511f
add eax, 0x10
pop ecx
mov dword [esi], eax
call fcn.10006a91
pop ecx
test eax, eax
je 0x10006b68
mov ebx, edi
mov esi, edi
cmp dword [ebp - 0x10], ebx
jle 0x10006b63
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x10006b28
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, dword [ebp - 0x10]
jl 0x10006b08
jmp 0x10006b2b
xor ebx, ebx
inc ebx
push ecx
mov esi, esp
push dword [ebp - 0x14]
mov dword [ebp - 0x18], esi
call fcn.1000511f
add eax, 0x10
pop ecx
mov dword [esi], eax
call fcn.10006a91
pop ecx
test eax, eax
je 0x10006b63
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 0x10006b2b
mov eax, dword [ebp + 8]
jmp 0x10006b6e
mov eax, dword [ebp + 8]
xor ebx, ebx
inc ebx
lea ecx, [eax - 0x10]
call fcn.10003bf1
mov eax, ebx
call fcn.1015e9f6
ret

Function at 0x10006b7e
Capabilities:
Download url
Receive data

Disassembly:
push 4
mov eax, 0x1017f2d0
call fcn.1015ea28
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.1000511f
pop ecx
add eax, 0x10
push 5
pop ecx
mov dword [esi], eax
call fcn.10006abd
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.1015e9f6
ret

Function at 0x10006c1b
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x14
mov eax, 0x1017f302
call fcn.1015ea5b
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.10006bed
test eax, eax
je 0x10006ca6
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 0x10006c70
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10006ca6
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.1015ea0a
ret
Function at 0x10006cc4
Capabilities:
Set registry value

Disassembly:
push 0x10
mov eax, 0x1017f33e
call fcn.1015ea5b
mov edi, edx
mov dword [ebp - 0x14], ecx
xor esi, esi
lea edx, [ebp + 0xc]
inc esi
mov dword [ebp - 4], esi
call fcn.10006bed
xor ebx, ebx
test eax, eax
je 0x10006d11
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 0x10006d31
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.1015ea0a
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 0x10006d0b
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10006d13
Function at 0x10006d55
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017f382
mov eax, dword fs:[0]
push eax
mov eax, 0x1014
call fcn.1015ebd0
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.1015fe20
add esp, 0xc
lea edx, [ebp + 0x10]
add esi, 0xfffffff0
add edi, 0xfffffff0
call fcn.10006bed
test eax, eax
jne 0x10006e02
push 0x101c76a6
mov ecx, ebx
call fcn.10004ddb
mov ecx, esi
call fcn.10003bf1
mov ecx, edi
call fcn.10003bf1
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
jmp 0x10006ec6
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 0x10006e41
push dword [ebp - 0x101c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x101c76a6
jmp 0x10006eab
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 0x10006e8a
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call fcn.1000511f
add eax, 0x10
pop ecx
mov dword [ebx], eax
jmp 0x10006eb2
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 0x10006e99
sub ecx, edx
je 0x10006e7c
lea eax, [ebp - 0x1010]
push eax
mov ecx, ebx
call fcn.10004ddb
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.1015dd7a
leave
ret
Function at 0x10006ee7
Capabilities:
Set registry value

Disassembly:
push 0xc
mov eax, 0x1017f3c9
call fcn.1015ea5b
mov esi, ecx
lea edx, [ebp + 0x10]
mov dword [ebp - 4], 2
call fcn.10006bed
xor edi, edi
test eax, eax
je 0x10006f32
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 0x10006f5d
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.1015ea0a
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 0x10006f2c
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10006f34

Function at 0x10006f86
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.1015fe20
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 0x10006fde
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.1015dd7a
leave
ret
Function at 0x100076e2
Capabilities:
Delete file

Disassembly:
push 0x18
mov eax, 0x1017f5f0
call fcn.1015ea5b
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.10016c17
push eax
mov ecx, edi
call fcn.100050be
mov edx, esi
mov dword [ebp - 0x20], esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
call fcn.100069f5
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.1000511f
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.1000511f
add eax, 0x10
mov dword [esi], eax
pop ecx
mov byte [ebp - 4], 2
call fcn.10006b7e
pop ecx
pop ecx
test eax, eax
je 0x100077a0
mov eax, dword [ebp - 0x14]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
mov dword [ebp - 0x18], esi
call fcn.1000511f
pop ecx
add eax, 0x10
lea ecx, [ebp - 0x1c]
mov dword [esi], eax
call fcn.100077c3
pop ecx
push eax
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.1000506e
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.1015ea0a
ret
Function at 0x10008930
Capabilities:
Move file

Disassembly:
push 0xc
mov eax, 0x1017f95c
call fcn.1015ea28
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 1
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
je 0x10008a18
mov ecx, dword [ebp + 0xc]
cmp dword [ecx - 0xc], 0
je 0x10008a18
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
mov dword [ebp - 0x18], esi
call fcn.1000511f
add eax, 0x10
pop ecx
mov dword [esi], eax
call fcn.10006a91
pop ecx
test eax, eax
je 0x10008a15
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.1000511f
pop ecx
add eax, 0x10
mov ecx, ebx
mov dword [esi], eax
call fcn.10006abd
mov esi, dword [ebp - 0x14]
xor edi, edi
mov dword [ebp - 0x10], edi
mov ebx, edi
pop ecx
test esi, esi
jle 0x10008a10
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x100089de
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 0x100089b6
jmp 0x100089e1
xor ebx, ebx
inc ebx
push ecx
mov esi, esp
push dword [ebp - 0x18]
mov dword [ebp - 0x10], esi
call fcn.1000511f
add eax, 0x10
pop ecx
mov dword [esi], eax
call fcn.10006a91
pop ecx
test eax, eax
jne 0x10008a10
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, dword [ebp - 0x14]
jl 0x100089e1
mov eax, dword [ebp + 8]
jmp 0x10008a1a
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.1015e9f6
ret
Function at 0x10008cc1
Capabilities:
Create process on windows

Disassembly:
push 0x48
mov eax, 0x1017fa2f
call fcn.1015ea5b
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 0x10008d9d
push ecx
mov ecx, esp
mov dword [ebp - 0x54], esp
push 0x101c7e10
lea edi, [edx - 1]
call fcn.10004ddb
push ecx
mov esi, esp
mov byte [ebp - 4], 2
push dword [ebp - 0x4c]
mov dword [ebp - 0x48], esi
call fcn.1000511f
pop ecx
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
mov byte [ebp - 4], bl
call fcn.10008b3d
pop ecx
pop ecx
test eax, eax
jne 0x10008d55
push dword [ebp - 0x4c]
call fcn.1000511f
add eax, 0x10
lea ecx, [ebp - 0x44]
push ecx
push eax
lea edi, [eax - 0x10]
call fcn.10167b7c
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 0x10008d9a
and dword [ebp - 0x14], 0
mov edi, dword [ebp - 0x4c]
push ecx
mov esi, esp
push edi
mov dword [ebp - 0x48], esi
call fcn.1000511f
pop ecx
add eax, 0x10
lea ecx, [ebp - 0x14]
mov edx, ebx
mov dword [esi], eax
call fcn.10008bba
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 0x10008d9f
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.1015ea0a
ret
Function at 0x1001908b
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x101815f2
call fcn.1015ea28
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x100190b1
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x1001910b
lea ecx, [ebp - 0x10]
call fcn.10004e29
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.1016cb8a
push eax
call fcn.100056c0
add esp, 0x14
test esi, esi
je 0x100190fe
push esi
call fcn.1016ca90
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.10003bf1
mov eax, ebx
call fcn.1015e9f6
ret 8

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

Function at 0x1001c79a
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 0x1001c826
cmp dword [esi + 0x20], 0
je 0x1001c826
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1001c826
cmp dword [ebp + 8], 0
je 0x1001c826
xor edi, edi
mov ebx, edi
call fcn.100330d6
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 0x1001c80a
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 0x1001c826
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push edi
push ebx
push esi
call fcn.1003c685
mov edi, eax
add esp, 0xc
test edi, edi
je 0x1001c822
mov ecx, esi
call fcn.1001c538
mov eax, edi
jmp 0x1001c828
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x10030808
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 0x1003085b
push esi
push dword [ebp + 8]
call fcn.100309ee
mov edi, eax
test edi, edi
je 0x10030856
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 0x10030856
mov eax, dword [ebp - 8]
jmp 0x1003086d
mov eax, dword [ebp + 0x10]
jmp 0x1003086d
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 0x100325e5
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 0x1003262a
call fcn.100330d6
push 0xf0
push dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x10032627
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10032671
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 0x1003264d
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 0x1003266e
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 0x10034f34
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 0x10034f5f
cmp dword [edi + 0x80], 0
jne 0x10034f5f
movzx eax, bx
mov dword [edi + 0x80], eax
call fcn.100330d6
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.100351cd
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x10034f8c
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.100330d6
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 0x10034fbf
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.10034fd2
pop edi
pop esi
pop ebx
pop ebp
ret 8