joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a9f0
Capabilities:
Create process on windows
Delete volume shadow copies

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
push 0x401d2c
push 0x401d3c
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call esi
mov edi, eax
test edi, edi
je 0x40aa36
lea eax, [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
test eax, eax
je 0x40aa59
cmp dword [ebp - 4], 0
je 0x40aa59
push 0x401d3c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0x401d4c
push eax
call esi
test eax, eax
je 0x40aa59
lea ecx, [ebp - 8]
push ecx
call eax
push 0
push 0
push 0x401d70
push 0x401dc8
push 0x401dd8
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0x401d2c
push 0x401d3c
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call esi
mov edi, eax
test edi, edi
je 0x40aaa5
lea eax, [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
test eax, eax
je 0x40aac7
cmp dword [ebp - 4], 0
je 0x40aac7
push 0x401d3c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0x401de4
push eax
call esi
test eax, eax
je 0x40aac7
push dword [ebp - 8]
call eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40aad0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x40d1e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0
push 0xf
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
push ebx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x40ab79
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
xor esi, esi
nop dword [eax]
nop dword [eax + eax]
lea eax, [ebp - 0x20c]
push eax
push dword [esi + 0x40d0b0]
call edi
test eax, eax
je 0x40ab40
add esi, 4
cmp esi, 0x80
jb 0x40ab20
jmp 0x40ab66
push dword [ebp - 0x228]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x40ab66
push 9
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x230]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x40ab12
pop edi
pop esi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040cc9c
mov esp, ebp
pop ebp
ret
Function at 0x40ade0
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0xf0000000
push 0x18
push 0
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x40ae22
push 0xf0000008
push 0x18
push eax
push eax
lea eax, [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
neg eax
sbb eax, eax
and eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x40af30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x40d1e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
push 0x40d1f4
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [ebp + 0x10]
lea eax, [ebp - 0x18]
push 0x401e04
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebp - 0x1c]
add esp, 0xc
push 0
push eax
push esi
call edi
push eax
push esi
push dword [0x40d1f0]
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
call esi
push 0
lea eax, [ebp - 0x1c]
push eax
push 0xe
push 0x401e08
push dword [0x40d1f0]
call esi
push 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
call edi
push eax
lea eax, [ebp - 0x18]
push eax
push dword [0x40d1f0]
call esi
push 0
lea eax, [ebp - 0x1c]
push eax
push 4
push 0x401e18
push dword [0x40d1f0]
call esi
push 0
lea eax, [ebp - 0x1c]
push eax
push ebx
call edi
push eax
push ebx
push dword [0x40d1f0]
call esi
push 0
lea eax, [ebp - 0x1c]
push eax
push 2
push 0x401e20
push dword [0x40d1f0]
call esi
push 0x40d1f4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040cc9c
mov esp, ebp
pop ebp
ret
Function at 0x40b750
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
push 0xe
call fcn.0040c980
mov edi, eax
add esp, 4
test edi, edi
je 0x40b802
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x404220
push edi
call esi
push 0x40422c
lea ecx, [edi + 0xa]
push ecx
call esi
mov ax, word [ebp + 8]
lea ebx, [edi + 8]
push edi
mov word [ebx], ax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
test eax, eax
je 0x40b7f7
cmp eax, 5
je 0x40b7f7
cmp eax, 4
je 0x40b7bc
push edi
call fcn.0040c5d0
add esp, 4
push edi
call fcn.0040c9b0
add esp, 4
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
push 0x208
mov dword [ebp - 4], 0x104
call fcn.0040c980
mov esi, eax
add esp, 4
test esi, esi
je 0x40b7f7
lea eax, [ebp - 4]
push eax
push esi
push ebx
call sub.MPR.dll_WNetGetConnectionW
test eax, eax
jne 0x40b7ee
push esi
call fcn.0040c5d0
add esp, 4
push esi
call fcn.0040c9b0
add esp, 4
push edi
call fcn.0040c9b0
add esp, 4
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x40c5d0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x40d1e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 0
push edi
push 0x40d23c
mov dword [ebp - 0x260], edi
call fcn.0040cb40
add esp, 0xc
test eax, eax
jne 0x40c65c
lea eax, [ebp - 0x25c]
push eax
push 0
push 0x40d20c
call fcn.0040cac0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x40c648
nop
push esi
call fcn.0040b030
push esi
call fcn.0040c9b0
lea eax, [ebp - 0x25c]
push eax
push 0
push 0x40d20c
call fcn.0040cac0
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x40c620
push 0
push edi
push 0x40d23c
call fcn.0040cb40
add esp, 0xc
test eax, eax
je 0x40c603
push 0x10000
call fcn.0040c980
mov ebx, eax
add esp, 4
mov dword [ebp - 0x264], ebx
test ebx, ebx
je 0x40c7b8
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x4041a8
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x254]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x258], eax
cmp eax, 0xffffffff
je 0x40c732
nop word [eax + eax]
test byte [ebp - 0x254], 0x10
je 0x40c711
xor esi, esi
nop dword [eax + eax]
push dword [esi + 0x40d130]
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x40c70b
add esi, 4
cmp esi, 0x88
jb 0x40c6c0
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x4041b0
push ebx
call esi
lea eax, [ebp - 0x228]
push eax
push ebx
call esi
push ebx
call fcn.0040c5d0
add esp, 4
mov eax, dword [ebp - 0x258]
lea ecx, [ebp - 0x254]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
mov eax, dword [ebp - 0x258]
jne 0x40c6b0
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x40c7af
cmp dword [0x40d26c], 0
je 0x40c7af
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0
push 0
push 0
push 0
push edi
call ebx
push eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0
push 0xfde9
call edi
mov esi, eax
push esi
call fcn.0040c980
add esp, 4
mov dword [ebp - 0x258], eax
push 0
push 0
push esi
mov esi, dword [ebp - 0x260]
push eax
push esi
call ebx
push eax
push esi
push 0
push 0xfde9
call edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [ebp - 0x258]
push eax
push esi
push 0x4041f0
call fcn.0040af30
push esi
call fcn.0040c9b0
mov ebx, dword [ebp - 0x264]
add esp, 0x10
push ebx
call fcn.0040c9b0
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040cc9c
mov esp, ebp
pop ebp
ret
Function at 0x1005b26
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, 0x10137a0
call fcn.010136c0
sub esp, 0xc
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x2c], ebx
je 0x1005b4b
xor eax, eax
cmp dword [esi + 0x30], ebx
sete al
jmp 0x1005c5d
push edi
lea eax, [esi + 4]
push eax
lea ecx, [ebp - 0x18]
call fcn.01005804
push dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
inc dword [ebp - 0x18]
mov dword [ebp - 4], ebx
call fcn.01012fa3
cmp dword [esi + 0x2c], ebx
jne 0x1005c34
push 0x1001648
mov dword [esi + 0x30], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebx
mov dword [esi + 0x30], eax
je 0x1005c00
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1001664
push eax
call edi
push 0x1001678
push dword [esi + 0x30]
mov dword [esi + 0x34], eax
call edi
push 0x100168c
push dword [esi + 0x30]
mov dword [esi + 0x38], eax
call edi
push 0x100169c
push dword [esi + 0x30]
mov dword [esi + 0x3c], eax
call edi
push 0x10016ac
push dword [esi + 0x30]
mov dword [esi + 0x40], eax
call edi
push 0x10016c4
push dword [esi + 0x30]
mov dword [esi + 0x44], eax
call edi
push 0x10016d8
push dword [esi + 0x30]
mov dword [esi + 0x48], eax
call edi
push 0x10016ec
push dword [esi + 0x30]
mov dword [esi + 0x4c], eax
call edi
push 0x1001704
push dword [esi + 0x30]
mov dword [esi + 0x50], eax
call edi
mov dword [esi + 0x54], eax
mov eax, dword [esi + 0x30]
cmp eax, ebx
je 0x1005c28
cmp dword [esi + 0x38], ebx
je 0x1005c1a
cmp dword [esi + 0x4c], ebx
je 0x1005c1a
cmp dword [esi + 0x3c], ebx
je 0x1005c1a
xor edi, edi
jmp 0x1005c2b
cmp eax, ebx
je 0x1005c28
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi + 0x30], ebx
xor edi, edi
inc edi
mov dword [esi + 0x2c], 1
jmp 0x1005c3e
xor eax, eax
cmp dword [esi + 0x30], ebx
sete al
mov edi, eax
cmp dword [ebp - 0x18], ebx
jbe 0x1005c4e
mov ecx, dword [ebp - 0x14]
dec dword [ebp - 0x18]
call fcn.01012fb8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.01005820
mov eax, edi
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x1005c6b
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, 0x10137a0
call fcn.010136c0
sub esp, 0xc
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x58], ebx
je 0x1005c90
xor eax, eax
cmp dword [esi + 0x5c], ebx
sete al
jmp 0x1005d94
push edi
lea eax, [esi + 4]
push eax
lea ecx, [ebp - 0x18]
call fcn.01005804
push dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
inc dword [ebp - 0x18]
mov dword [ebp - 4], ebx
call fcn.01012fa3
cmp dword [esi + 0x58], ebx
jne 0x1005d6b
push 0x100171c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebx
mov dword [esi + 0x5c], eax
je 0x1005d28
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1001734
push eax
call edi
push 0x1001744
push dword [esi + 0x5c]
mov dword [esi + 0x60], eax
call edi
push 0x1001754
push dword [esi + 0x5c]
mov dword [esi + 0x64], eax
call edi
push 0x1001764
push dword [esi + 0x5c]
mov dword [esi + 0x68], eax
call edi
push 0x1001778
push dword [esi + 0x5c]
mov dword [esi + 0x6c], eax
call edi
push 0x1001790
push dword [esi + 0x5c]
mov dword [esi + 0x70], eax
call edi
push 0x10017a8
push dword [esi + 0x5c]
mov dword [esi + 0x74], eax
call edi
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x5c]
cmp eax, ebx
je 0x1005d5f
cmp dword [esi + 0x60], ebx
je 0x1005d51
cmp dword [esi + 0x68], ebx
je 0x1005d51
cmp dword [esi + 0x6c], ebx
je 0x1005d51
cmp dword [esi + 0x70], ebx
je 0x1005d51
cmp dword [esi + 0x74], ebx
je 0x1005d51
cmp dword [esi + 0x78], ebx
je 0x1005d51
xor edi, edi
jmp 0x1005d62
cmp eax, ebx
je 0x1005d5f
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi + 0x5c], ebx
xor edi, edi
inc edi
mov dword [esi + 0x58], 1
jmp 0x1005d75
xor eax, eax
cmp dword [esi + 0x5c], ebx
sete al
mov edi, eax
cmp dword [ebp - 0x18], ebx
jbe 0x1005d85
mov ecx, dword [ebp - 0x14]
dec dword [ebp - 0x18]
call fcn.01012fb8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.01005820
mov eax, edi
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x1005ebf
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x1001898
push SysReAllocString
mov dword [ebp - 4], 0x80004005
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x1005f77
push ebx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 4
pop ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push esi
push 0x1001874
push dword [ebp - 0x10]
mov dword [ebp - 8], ebx
call edi
mov esi, eax
xor eax, eax
cmp esi, eax
jne 0x1005f58
cmp dword [ebp - 0xc], eax
je 0x1005f58
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
push 0x1001858
push dword [ebp - 0x10]
mov dword [ebp - 8], ebx
call edi
mov esi, eax
test esi, esi
jne 0x1005f49
cmp dword [ebp - 0xc], eax
jne 0x1005f64
mov eax, dword [ebp + 8]
and dword [ebp - 4], 0
mov dword [eax], 2
jmp 0x1005f64
mov ecx, dword [ebp + 8]
mov dword [ecx], 1
mov dword [ebp - 4], eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], 0
pop edi
pop ebx
je 0x1005f88
test esi, esi
jle 0x1005f85
and esi, 0xffff
or esi, 0x80070000
mov dword [ebp - 4], esi
mov eax, dword [ebp - 4]
pop esi
leave
ret 4

Function at 0x1005fbb
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
lea eax, [ebp - 4]
push eax
push 0x2001f
xor edi, edi
push edi
push 0x1001898
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
cmp esi, edi
jne 0x1006043
mov eax, dword [ebp + 8]
dec eax
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], edi
je 0x1006006
dec eax
push 1
pop ecx
je 0x1006003
dec eax
dec eax
je 0x1006000
push 0x57
pop esi
jmp 0x100603a
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], ecx
push 4
lea eax, [ebp - 8]
push eax
push 4
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x1001874
push dword [ebp - 4]
call edi
mov esi, eax
test esi, esi
jne 0x100603a
push 4
lea eax, [ebp - 0xc]
push eax
push 4
push esi
push 0x1001858
push dword [ebp - 4]
call edi
mov esi, eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jle 0x1006053
and esi, 0xffff
or esi, 0x80070000
pop edi
mov eax, esi
pop esi
leave
ret 4
Function at 0x10069f7
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x10171b0]
push ebx
push esi
xor esi, esi
push esi
push 0x20019
push 4
mov dword [ebp - 4], eax
mov dword [ebp - 0x420], esi
call fcn.0100c898
mov ebx, eax
cmp ebx, esi
jne 0x1006a2c
xor eax, eax
jmp 0x1006ab2
push edi
mov edi, 0x104
push edi
lea eax, [ebp - 0x210]
push eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x1006aa1
inc dword [ebp - 0x420]
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x41c]
push eax
push 0
push 0x10000002
push 0x10019d4
lea eax, [ebp - 0x210]
push eax
push ebx
mov dword [ebp - 0x424], 0x20a
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
test eax, eax
jne 0x1006a93
push dword [ebp + 0x10]
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1006ac0
push edi
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x420]
push ebx
call esi
test eax, eax
je 0x1006a43
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.0101209b
leave
ret 0xc
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp + 0xc], 0x7fffffff
jbe 0x1006ad7
mov eax, 0x80070057
jmp 0x1006ae9
lea eax, [ebp - 0x210]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.01003863
xor ecx, ecx
test eax, eax
setge cl
mov eax, ecx
jmp 0x1006ab1

Function at 0x1007337
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
push 0xfa7
push dword [ecx]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
xor ebx, ebx
push ebx
push ebx
push 0x1004
push eax
mov dword [ebp - 4], eax
call esi
cmp eax, ebx
mov dword [ebp - 8], eax
jle 0x10073a1
push edi
push 0xd
pop ecx
xor eax, eax
lea edi, [ebp - 0x3c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x3c]
push eax
push 0
push 0x104b
push dword [ebp - 4]
mov dword [ebp - 0x3c], 4
mov dword [ebp - 0x38], ebx
call esi
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x100739a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc ebx
cmp ebx, dword [ebp - 8]
jl 0x1007369
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret
Function at 0x1007415
Capabilities:
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0x200]
sub esp, 0x280
mov eax, dword [0x10171b0]
push ebx
push esi
push edi
push 0xd
mov dword [ebp + 0x1fc], eax
mov esi, ecx
pop ecx
xor eax, eax
lea edi, [ebp - 0x4c]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x208]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x4c]
push eax
push 0
push 0x104b
push 0xfa7
push dword [esi]
mov dword [ebp - 0x14], 0x105
mov dword [ebp - 0x4c], 4
call edi
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push eax
call ebx
cmp dword [ebp - 0x48], 0xffffffff
je 0x10074c3
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
push 0
push dword [esi]
mov dword [ebp - 0x18], eax
push eax
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
lea edx, [ebp - 0x14]
push edx
push eax
call dword [ecx + 0x1c]
and dword [ebp - 0x78], 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x80]
push eax
push dword [ebp + 0x208]
push 0x1074
push 0xfa7
push dword [esi]
call edi
push eax
call ebx
mov ecx, dword [ebp + 0x1fc]
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
call fcn.0101209b
add ebp, 0x200
leave
ret 4
Function at 0x10076c8
Capabilities:
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0xa00]
sub esp, 0xa80
mov eax, dword [0x10171b0]
mov dword [ebp + 0x9fc], eax
push esi
mov esi, ecx
xor eax, eax
cmp dword [esi + 8], eax
mov dword [ebp - 0x48], 0x105
je 0x1007897
push ebx
push edi
push 0xd
pop ecx
lea edi, [ebp - 0x80]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0xa08]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x80]
push eax
push 0
push 0x104b
push 0xfa7
push dword [esi]
mov dword [ebp - 0x80], 4
call edi
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push eax
call ebx
cmp dword [ebp - 0x7c], 0xffffffff
je 0x100783f
mov eax, dword [ebp - 0x60]
test eax, eax
mov dword [ebp - 0x4c], eax
je 0x100783f
mov ecx, dword [eax]
lea edx, [ebp + 0x5d4]
push edx
lea edx, [ebp - 0x48]
push edx
push eax
call dword [ecx + 0x1c]
test eax, eax
je 0x100776a
and word [ebp + 0x7e0], 0
jmp 0x100778a
lea eax, [ebp + 0x5d4]
push eax
push 0x105
lea eax, [ebp + 0x7e0]
push eax
call fcn.01003863
test eax, eax
jl 0x100783f
push 0x104
lea eax, [ebp - 0x44]
push eax
push 0x11f8
push dword [0x1017274]
call dword [sym.imp.USER32.dll_LoadStringW]
push 0x104
lea eax, [ebp + 0x3cc]
push eax
push 0x11f9
push dword [0x1017274]
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebp + 0x7e0]
push eax
lea eax, [ebp + 0x3cc]
push eax
lea eax, [ebp + 0x1c4]
push 0x104
push eax
call fcn.01002fcf
add esp, 0x10
push 0x24
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp + 0x1c4]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 7
je 0x100783f
mov ecx, dword [ebp - 0x4c]
lea eax, [ebp + 0x7e0]
push eax
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x48], 0x105
call fcn.0100a026
test eax, eax
jl 0x100783f
and word [ebp + 0x82c], 0
lea eax, [ebp + 0x7e0]
push eax
push 0x105
lea eax, [ebp + 0x5d4]
push eax
call fcn.01003863
test eax, eax
jge 0x1007843
xor eax, eax
jmp 0x1007895
lea eax, [ebp + 0x9ec]
push eax
lea eax, [ebp + 0x5d4]
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 8]
mov ecx, dword [eax]
lea edx, [ebp + 0x9ec]
push edx
push eax
call dword [ecx + 0x18]
push 0xfa7
push dword [esi]
call edi
push 0
push dword [ebp + 0xa08]
mov esi, eax
push 0x1008
push esi
call ebx
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
inc eax
pop edi
pop ebx
mov ecx, dword [ebp + 0x9fc]
pop esi
call fcn.0101209b
add ebp, 0xa00
leave
ret 4
Function at 0x1007bca
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x1013835
call fcn.010136c0
sub esp, 0x224
mov eax, dword [0x10171b0]
push esi
push edi
push 0xfa1
push dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov esi, ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
xor edi, edi
cmp eax, edi
je 0x1007c41
cmp dword [esi], edi
jne 0x1007d45
push 0x34
call fcn.0101216f
pop ecx
mov dword [ebp - 0x22c], eax
cmp eax, edi
mov dword [ebp - 4], edi
je 0x1007c22
push 3
mov ecx, eax
call fcn.010038a5
jmp 0x1007c24
xor eax, eax
or dword [ebp - 4], 0xffffffff
cmp eax, edi
mov dword [esi], eax
je 0x1007c41
push eax
call fcn.010038c9
test eax, eax
jge 0x1007c48
push dword [esi]
call fcn.010049fd
mov dword [esi], edi
xor eax, eax
jmp 0x1007d48
push 0x20019
call sym.mobsync.dll_RegGetHandlerTopLevelKey
cmp eax, edi
mov dword [ebp - 0x22c], eax
je 0x1007ce3
push ebx
mov ebx, 0x104
push ebx
lea ecx, [ebp - 0x228]
push ecx
push edi
mov dword [ebp - 0x230], edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
push eax
jmp 0x1007cce
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
jne 0x1007cb4
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [esi]
call fcn.010038f7
test eax, eax
jne 0x1007cb4
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 8]
push dword [esi]
call fcn.010045bc
inc dword [ebp - 0x230]
push ebx
lea eax, [ebp - 0x228]
push eax
push dword [ebp - 0x230]
push dword [ebp - 0x22c]
call edi
test eax, eax
je 0x1007c7e
push dword [ebp - 0x22c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
pop ebx
lea eax, [ebp + 8]
push eax
push 3
push dword [esi]
call fcn.0100457e
jmp 0x1007d14
push edi
push edi
push 0x100
push edi
push dword [ebp + 8]
push dword [esi]
call fcn.01004656
lea eax, [ebp + 8]
push eax
push 3
push dword [ebp + 8]
push dword [esi]
call fcn.01003bb6
test eax, eax
je 0x1007cf2
lea eax, [ebp + 8]
push eax
push 5
push dword [esi]
call fcn.0100457e
jmp 0x1007d41
push dword [ebp + 8]
push dword [esi]
call fcn.01004a1f
lea eax, [ebp + 8]
push eax
push 5
push dword [ebp + 8]
push dword [esi]
call fcn.01003bb6
test eax, eax
je 0x1007d27
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
call fcn.0101209b
leave
ret 8