joyce8/EMBER2024-capa huggingface dataset:
Function at 0x435db2
Capabilities:
Enumerate files on windows

Disassembly:
mov eax, 0x45f174
call fcn.0045dac0
sub esp, 0x55c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
push ebx
lea eax, [ebp - 0x568]
push 0x103
push eax
mov dword [ebp - 0x18], ecx
push dword [0x534a50]
call fcn.00426466
add esp, 0x10
lea eax, [ebp - 0x568]
push 0x40aad4
push eax
push 0x40b8f8
lea eax, [ebp - 0x360]
push 0x104
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x14
lea eax, [ebp - 0x25c]
mov byte [ebp - 0x25d], bl
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp - 0x360]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp - 0x14], eax
jne 0x435e3a
xor eax, eax
jmp 0x435f63
mov esi, 0x40aad0
lea eax, [ebp - 0x230]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x435e67
cmp cl, bl
je 0x435e63
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x435e67
inc eax
inc eax
inc esi
inc esi
cmp cl, bl
jne 0x435e45
xor eax, eax
jmp 0x435e6c
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x435f33
mov esi, 0x40aacc
lea eax, [ebp - 0x230]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x435ea1
cmp cl, bl
je 0x435e9d
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x435ea1
inc eax
inc eax
inc esi
inc esi
cmp cl, bl
jne 0x435e7f
xor eax, eax
jmp 0x435ea6
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x435f33
test byte [ebp - 0x25c], 0x10
je 0x435f33
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x568]
push eax
push 0x40b8e0
lea eax, [ebp - 0x11c]
push 0x104
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x14
xor eax, eax
lea edi, [ebp - 0x463]
mov byte [ebp - 0x464], bl
push 0x40
mov byte [ebp - 0x19], bl
pop ecx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x464]
push 0x103
push eax
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
lea eax, [ebp - 0x11c]
push ebx
push eax
call fcn.0042653d
pop ecx
cmp eax, ebx
pop ecx
je 0x435f33
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x11c]
push eax
call fcn.004361cf
lea eax, [ebp - 0x25c]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x435e3a
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
call fcn.004368c8
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x436c7d
Capabilities:
Get common file path

Disassembly:
mov eax, 0x45f1e0
call fcn.0045dac0
sub esp, 0x120
and byte [ebp - 0x12c], 0
push esi
push edi
mov dword [ebp - 0x18], ecx
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x12b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov esi, 0x103
lea eax, [ebp - 0x12c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp - 0x12c]
mov ecx, 0x46343c
push eax
call fcn.0041463c
lea eax, [ebp - 0x12c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [ebp - 0x12c]
mov ecx, 0x463434
push eax
call fcn.0041463c
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
and dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.ole32.dll_StringFromCLSID]
cmp dword [ebp - 0x10], 0
pop edi
pop esi
je 0x436d41
push dword [ebp - 0x10]
lea ecx, [ebp - 0x14]
call fcn.00414536
push dword [ebp - 0x10]
and dword [ebp - 4], 0
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push dword [ebp - 0x14]
mov ecx, 0x4632c4
call fcn.0041463c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00411e66
mov ecx, dword [ebp - 0x18]
call fcn.00435db2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret
Function at 0x43711e
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
push 7
xor eax, eax
pop ecx
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 8]
stosw word es:[edi], ax
xor eax, eax
mov dword [ebp - 0x1c], 3
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xe], eax
mov dword [ebp - 0xa], eax
mov dword [ebp - 6], eax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x18], ecx
mov word [ebp - 0x10], 0x50
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
mov esi, eax
neg esi
sbb esi, esi
inc esi
je 0x437172
push dword [ebp - 0xa]
call dword [sym.imp.SHELL32.dll_SHFreeNameMappings]
mov eax, esi
pop edi
pop esi
leave
ret
Function at 0x43ad85
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x904
xor eax, eax
push ebx
cmp dword [ebp + 8], eax
push esi
push edi
mov esi, ecx
je 0x43ae45
cmp dword [0x473a94], eax
je 0x43ae45
cmp dword [esi + 0x20], eax
je 0x43ae45
and byte [ebp - 0x904], al
mov ecx, 0x1ff
lea edi, [ebp - 0x903]
and byte [ebp - 0x104], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x904]
mov ebx, 0x4989c8
push 0x7ff
push eax
mov ecx, ebx
call fcn.00454565
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x104]
and dword [esi + 0x20], 0
push 0x103
push eax
lea eax, [ebp - 0x904]
mov ecx, esi
push eax
push dword [ebp + 8]
call fcn.0043ab73
test eax, eax
je 0x43ae45
lea edi, [ebp - 0x104]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x43ae45
push eax
lea eax, [ebp - 0x104]
push eax
mov ecx, ebx
call fcn.00450cee
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x43e05a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
and byte [ebp - 0x10c], 0
push edi
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x10b]
rep stosd dword es:[edi], eax
and byte [ebp - 0x210], 0
push 0x40
stosw word es:[edi], ax
stosb byte es:[edi], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x20f]
push 1
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
pop edi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 4]
push eax
push 0x45fc38
push 0x40b050
push SysReAllocStringLen
mov dword [ebp - 4], edi
mov dword [ebp - 8], 0x104
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x43e102
push 0x40e400
lea eax, [ebp - 0x210]
push 0x104
push eax
push dword [0x534a50]
call fcn.00426466
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 0x18
test eax, eax
jne 0x43e102
mov eax, edi
jmp 0x43e104
xor eax, eax
pop edi
leave
ret

Function at 0x43e167
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push edi
mov edi, dword [ebp + 8]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x43e1c8
and byte [ebp - 0x104], al
push 0x40
pop ecx
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x40a37c
push dword [ebp + 8]
stosb byte es:[edi], al
push 0x40e42c
lea eax, [ebp - 0x104]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x14
lea eax, [ebp - 0x104]
push eax
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
pop edi
leave
ret
Function at 0x43e1cb
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
xor eax, eax
push edi
push eax
push 0x26
push ebx
push eax
mov byte [ebx], al
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov edi, 0x40e434
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebx
ret

Function at 0x43e20f
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x208]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [ebp - 0x208]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push 0x40
rep movsb byte es:[edi], byte [esi]
mov edi, 0x40e460
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ax, word [0x40e45c]
mov ecx, ebx
and ecx, 3
mov word [ebp - 0x104], ax
rep movsb byte es:[edi], byte [esi]
pop ecx
xor eax, eax
lea edi, [ebp - 0x102]
push 5
mov ebx, dword [sym.imp.SHLWAPI.dll_SHSetValueA]
push 0x40a7e0
rep stosd dword es:[edi], eax
push 1
push 0x45fc38
push dword [ebp + 8]
stosw word es:[edi], ax
push SysReAllocStringLen
call ebx
cmp dword [ebp + 0xc], 0
je 0x43e2ff
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x43e2e5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x104]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x43e312
lea eax, [ebp - 0x103]
push 0x103
push eax
push dword [0x534a50]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
jmp 0x43e312
lea eax, [ebp - 0x103]
push 0x104
push eax
call fcn.0043e1cb
pop ecx
pop ecx
mov edi, 0x40e454
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x104]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x104]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ebp - 0x104]
push ecx
push eax
push 1
lea eax, [ebp - 0x208]
push 0x45fc38
push eax
push SysReAllocStringLen
call ebx
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x442d99
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x9ac48]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ecx, ecx
xor ebx, ebx
cmp dword [esi + 0x9ac60], ecx
jle 0x442de4
lea edx, [esi + 0x9a848]
mov eax, dword [edx]
cmp dword [esp + 0x10], eax
jne 0x442dc7
mov ebx, ecx
imul eax, eax, 0x9a8
inc ecx
add edx, 4
mov dword [eax + esi + 0x9c8], 1
cmp ecx, dword [esi + 0x9ac60]
jl 0x442dbd
mov eax, dword [esi + 0x9ac68]
cmp eax, 0xffffffff
je 0x442e0b
mov eax, dword [esi + eax*4 + 0x9a848]
push 0
imul eax, eax, 0x9a8
push dword [eax + esi + 0x9e0]
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
mov ecx, esi
call fcn.00445f52
mov eax, dword [esi + 0x9ac68]
mov ecx, 0x4776b0
mov eax, dword [esi + eax*4 + 0x9a848]
imul eax, eax, 0x9a8
mov dword [eax + esi + 0x9c8], 2
mov eax, dword [esi + 0x9ac68]
push dword [esi + eax*4 + 0x9a848]
call fcn.00415ed0
cmp dword [0x4755ac], 0
je 0x442e73
mov eax, dword [esi + 0x9ac68]
mov ecx, 0x5341b0
mov eax, dword [esi + eax*4 + 0x9a848]
imul eax, eax, 0x9a8
lea eax, [eax + esi + 0x48]
push eax
call fcn.0042d98d
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, 0x497d60
mov ecx, edi
call fcn.004421fe
mov eax, dword [esi + 0x9ac68]
mov ecx, edi
mov eax, dword [esi + eax*4 + 0x9a848]
imul eax, eax, 0x9a8
push dword [eax + esi + 0x9ec]
add eax, esi
push dword [eax + 0x9e8]
call fcn.00442560
pop edi
mov eax, ebx
pop esi
pop ebx
ret 4
Function at 0x443533
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x374
push ebx
push esi
xor esi, esi
mov ebx, ecx
push esi
push dword [0x534a50]
push 0x1000
push dword [ebx + 4]
push 0x10
push 0x38
push esi
push esi
push 0x5600b94c
push esi
push 0x40a91c
push esi
call dword [sym.imp.USER32.dll_CreateWindowExA]
cmp eax, esi
mov dword [ebp - 0x10], eax
je 0x443677
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push esi
push 0x14
push 0x41e
push eax
call edi
push 0xa000a
push esi
push 0x420
push dword [ebp - 0x10]
call edi
lea eax, [ebp - 0x2c]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
lea ecx, [ebp - 0x374]
xor eax, eax
mov dword [ebp - 8], ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x421
mov dword [ebp - 0x18], 0x423
mov dword [ebp - 0x14], 0x422
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ecx
lea esi, [ebp - 0x64]
jmp 0x4435d4
mov eax, dword [ebp - 4]
mov dword [esi - 4], eax
push 0x104
push dword [ebp - 8]
mov dword [esi], eax
mov eax, dword [ebp - 0xc]
mov byte [esi + 4], 4
mov byte [esi + 5], 0x10
and dword [esi + 8], 0
push dword [eax]
push dword [0x534a50]
call dword [sym.imp.USER32.dll_LoadStringA]
mov eax, dword [ebp - 8]
inc dword [ebp - 4]
add dword [ebp - 0xc], 4
add dword [ebp - 8], 0x104
mov dword [esi + 0xc], eax
add esi, 0x14
cmp dword [ebp - 4], 3
jl 0x4435d1
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x68]
push eax
push 3
push 0x414
push esi
call edi
push 8
push 0
push 0x454
push esi
call edi
push 0
push 0
push 0x421
push esi
call edi
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
mov ecx, ebx
mov dword [ebx + 0x9ac94], esi
call fcn.00442be7
mov eax, dword [0x475350]
push 2
push 0
lea ecx, [ebx + 8]
push dword [ebx + 4]
mov dword [ebx + 0x9ac64], eax
call fcn.0041df7e
pop edi
pop esi
pop ebx
leave
ret
Function at 0x443a2d
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
lea eax, [ebp - 0x14]
push dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
cmp dword [ebp + 0x10], 2
mov esi, dword [0x477630]
je 0x443a55
mov esi, dword [0x477628]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push esi
push eax
mov dword [ebp + 0xc], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov edi, 0xcc0020
mov esi, dword [sym.imp.GDI32.dll_BitBlt]
push edi
push 0
push 0
mov dword [ebp - 4], eax
push dword [ebp + 0xc]
push dword [0x477634]
push dword [0x477638]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push dword [ebp + 8]
call esi
mov ecx, dword [0x477638]
push 1
lea eax, [ecx + ecx]
mov edx, eax
mov eax, dword [ebp - 0xc]
sub eax, edx
xor edx, edx
sub eax, dword [ebp - 0x14]
div ecx
mov ebx, eax
pop eax
inc ebx
mov dword [ebp + 0x10], eax
cmp ebx, eax
jl 0x443ae6
push edi
push 0
push ecx
push dword [ebp + 0xc]
push dword [0x477634]
push ecx
imul ecx, dword [ebp + 0x10]
push dword [ebp - 0x10]
add ecx, dword [ebp - 0x14]
push ecx
push dword [ebp + 8]
call esi
inc dword [ebp + 0x10]
mov ecx, dword [0x477638]
cmp dword [ebp + 0x10], ebx
jle 0x443aba
push edi
lea eax, [ecx + ecx]
push 0
push eax
push dword [ebp + 0xc]
mov eax, dword [ebp - 0xc]
sub eax, ecx
push dword [0x477634]
push ecx
push dword [ebp - 0x10]
push eax
push dword [ebp + 8]
call esi
push dword [ebp - 4]
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_DeleteDC]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x4452b7
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x302c
call fcn.0045da90
push ebx
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x10]
mov esi, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [esi + 4]
and dword [ebp - 4], 0
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x10], 0x10
mov dword [ebp - 0xc], 2
call dword [sym.imp.USER32.dll_TrackMouseEvent]
cmp dword [esi + 0x9ac60], 0
jle 0x445419
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.00444135
mov ebx, eax
cmp ebx, 0xffffffff
je 0x445419
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
je 0x445358
cmp dword [esi + 0x9ac60], 1
jle 0x445358
mov eax, dword [esi + 0x18]
cmp eax, 0xffffffff
je 0x445358
cmp eax, dword [ebp - 0x18]
je 0x445358
mov eax, dword [esi + 0x1c]
cmp eax, dword [ebp - 0x14]
je 0x445358
push dword [esi + 0x24]
mov ecx, esi
call fcn.0044541e
mov eax, ebx
push 0x800
imul eax, eax, 0x9a8
lea edi, [eax + esi]
lea eax, [ebp - 0x102c]
push eax
lea eax, [edi + 0x1c8]
push eax
call fcn.00424ed6
add edi, 0xc8
lea eax, [ebp - 0x302c]
push edi
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
mov edi, dword [sym.imp.MSVCRT.dll_wcscat]
lea eax, [ebp - 0x302c]
push 0x40ef38
push eax
call edi
lea eax, [ebp - 0x102c]
push eax
lea eax, [ebp - 0x302c]
push eax
call edi
lea eax, [ebp - 0x302c]
push 0x40ef34
push eax
call edi
add esp, 0x2c
lea eax, [ebp - 0x302c]
mov ecx, 0x497d60
push 0
push 1
push eax
call fcn.004417c0
cmp dword [esi + 0x9ac74], ebx
lea eax, [esi + 0x9ac74]
je 0x445419
push dword [esi + 4]
mov dword [eax], ebx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
lea eax, [ebp - 0x2c]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x2c]
push 0xffffffffffffffff
push eax
push edi
mov ecx, esi
call fcn.00443723
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x446173
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
push esi
push edi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push 0x27
pop ecx
xor eax, eax
lea edi, [ebp - 0xa0]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0xa0]
mov dword [ebp - 0xa0], 0x9c
push eax
call esi
test eax, eax
jne 0x4461c7
lea eax, [ebp - 0xa0]
mov dword [ebp - 0xa0], 0x94
push eax
call esi
test eax, eax
jne 0x4461c7
xor ax, ax
jmp 0x446250
mov eax, dword [ebp - 0x90]
xor ecx, ecx
sub eax, ecx
je 0x446245
dec eax
je 0x446214
dec eax
je 0x4461de
mov dword [ebp - 4], ecx
jmp 0x44624c
push 4
pop eax
cmp dword [ebp - 0x9c], eax
ja 0x4461ec
mov dword [ebp - 4], eax
push 5
pop eax
cmp dword [ebp - 0x9c], eax
jne 0x44624c
cmp dword [ebp - 0x98], ecx
jne 0x446202
mov dword [ebp - 4], eax
cmp dword [ebp - 0x98], 1
jne 0x44624c
mov dword [ebp - 4], 6
jmp 0x44624c
cmp dword [ebp - 0x9c], 4
jne 0x44624c
cmp dword [ebp - 0x98], ecx
push 2
pop eax
jne 0x44622b
mov dword [ebp - 4], eax
cmp dword [ebp - 0x98], 0xa
jne 0x446237
mov dword [ebp - 4], eax
cmp dword [ebp - 0x98], 0x5a
jne 0x44624c
mov dword [ebp - 4], eax
jmp 0x44624c
mov dword [ebp - 4], 1
mov ax, word [ebp - 4]
pop edi
pop esi
leave
ret

Function at 0x446559
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push edi
xor edi, edi
xor ebx, ebx
cmp dword [ebp + 0xc], edi
mov dword [ebp - 4], edi
je 0x446660
lea eax, [ebp - 4]
push esi
push eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push 0x40000
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
test eax, eax
jne 0x446651
push dword [ebp + 0x10]
push 4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetKeySecurity]
test eax, eax
jne 0x446651
cmp dword [ebp + 0x14], edi
je 0x44664e
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 4]
mov dword [ebp - 4], edi
push eax
push 0x20019
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
test eax, eax
jne 0x446651
push edi
lea eax, [ebp - 0xc]
push edi
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push edi
push eax
lea eax, [ebp - 8]
push eax
push edi
push edi
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x446651
mov esi, 0x105
push esi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
cmp dword [ebp - 8], edi
pop ecx
mov ebx, eax
mov dword [ebp + 0xc], edi
jbe 0x446647
push esi
push ebx
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
cmp eax, edi
jne 0x446635
push 1
push dword [ebp + 0x10]
push ebx
push dword [ebp - 4]
call fcn.00446559
add esp, 0x10
jmp 0x44663c
cmp eax, 0x103
je 0x446647
inc dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 8]
jb 0x446610
push ebx
call fcn.0045da7b
pop ecx
push 1
pop ebx
cmp dword [ebp - 4], edi
pop esi
je 0x446660
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop edi
pop ebx
leave
ret
Function at 0x44672e
Capabilities:
Enumerate browser history

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x4038f8
push 3
push 0
push str._J7_
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov eax, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 8]
mov dword [ebp - 0x34], 0x28
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [ebp - 8]
lea edx, [ebp - 0xc]
push edx
lea edx, [ebp - 0x34]
mov ecx, dword [eax]
push edx
push 1
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x446794
mov eax, dword [ebp - 4]
push 0
push dword [ebp - 0x30]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
jmp 0x44676d
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push 1
pop eax
leave
ret

Function at 0x4467b4
Capabilities:
Delete internet cache
Enumerate internet cache

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x824
push ebx
mov ebx, 0x1000
push esi
push ebx
mov dword [ebp - 4], ebx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
mov eax, dword [ebp - 4]
pop ecx
mov dword [esi], eax
lea eax, [ebp - 4]
push eax
push esi
push 0x40ef7c
call dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryA]
test eax, eax
mov dword [ebp - 8], eax
jne 0x4467f8
push esi
call fcn.0045da7b
pop ecx
jmp 0x4468c5
push edi
xor eax, eax
push 1
push eax
push eax
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x446822
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
mov al, byte [0x45fc38]
mov ecx, 0x1ff
mov byte [ebp - 0x824], al
xor eax, eax
lea edi, [ebp - 0x823]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push dword [esi + 4]
lea eax, [ebp - 0x824]
push 0x40a158
push 0x800
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
mov edi, dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
add esp, 0x10
push dword [esi + 4]
call edi
test eax, eax
jne 0x446886
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x446886
push 0
push dword [esi + 4]
call dword [sym.imp.WININET.dll_UnlockUrlCacheEntryFile]
push dword [esi + 4]
call edi
push esi
call fcn.0045da7b
push ebx
mov dword [ebp - 4], ebx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
mov eax, dword [ebp - 4]
pop ecx
mov dword [esi], eax
pop ecx
lea eax, [ebp - 4]
push eax
push esi
push dword [ebp - 8]
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryA]
test eax, eax
jne 0x4467f9
push dword [ebp - 8]
call dword [sym.imp.WININET.dll_FindCloseUrlCache]
push esi
call fcn.0045da7b
pop ecx
pop edi
pop esi
pop ebx
leave
ret