joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5ccaf0
Capabilities:
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x746694]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x38]
push ebx
push esi
push edi
push ecx
push eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
call fcn.005be920
add esp, 8
push 4
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
mov dword [ebp - 0x44], esi
test esi, esi
jne 0x5ccbbb
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x5ccb4f
push eax
call fcn.00663ce7
add esp, 4
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], 0
push eax
push dword [ebp - 0x30]
mov dword [ebp - 0x3c], 0
call fcn.005be920
add esp, 8
push 1
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, dword [ebp - 0x40]
mov esi, eax
test esi, esi
je 0x5ccb99
push 0x10
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0x30], eax
test eax, eax
jne 0x5ccc38
push esi
call ebx
xor bl, bl
test edi, edi
je 0x5ccba8
push edi
call fcn.00663ce7
add esp, 4
pop edi
pop esi
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0065d16a
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x38]
push 4
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0x34], eax
test eax, eax
jne 0x5ccbe0
push esi
call ebx
test edi, edi
je 0x5ccb4f
push edi
jmp 0x5ccb47
lea ecx, [ebp - 0x3c]
push ecx
push 0x24
lea ecx, [ebp - 0x28]
push ecx
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
push dword [ebp - 0x34]
mov esi, eax
call ebx
push dword [ebp - 0x44]
call ebx
test esi, esi
je 0x5ccbd2
cmp dword [ebp - 0x24], 4
sete al
mov byte [ebp - 0x29], al
test edi, edi
je 0x5ccc1d
push edi
call fcn.00663ce7
mov al, byte [ebp - 0x29]
add esp, 4
test al, al
je 0x5ccb4f
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0065d16a
mov esp, ebp
pop ebp
ret
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
push dword [ebp - 0x30]
test eax, eax
setne byte [ebp - 0x29]
call ebx
push esi
call ebx
mov bl, byte [ebp - 0x29]
jmp 0x5ccb9b
Function at 0x5ce000
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68c18d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x746694]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.0065d127
mov edi, eax
add esp, 4
test edi, edi
je 0x5ce09d
push 1
mov dword [ebp - 4], 0
call fcn.0065f07d
add esp, 4
mov dword [edi + 4], eax
jmp 0x5ce09f
xor edi, edi
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov edi, dword [edi + 4]
mov ecx, edi
mov dword [ebp - 0x10], edi
mov eax, dword [edi]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 1
push eax
call fcn.005a21f0
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0x20
mov eax, dword [edx + 0x20]
call eax
mov dword [ebp - 4], 0xffffffff
mov bl, al
test edi, edi
je 0x5ce0fa
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 8]
test eax, eax
je 0x5ce0fa
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov byte [esi + 0x40], bl
jne 0x5ce116
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
and eax, 0x13
or eax, 4
mov dword [esi + 0xc], eax
and ecx, eax
jne 0x5ce139
cmp byte [ebp + 0xc], 0
je 0x5ce125
push esi
call fcn.0065f56c
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
test cl, 4
je 0x5ce145
mov esi, str.ios_base::badbit_set
jmp 0x5ce155
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x14]
push 1
push eax
call fcn.005a5d80
add esp, 8
lea ecx, [ebp - 0x28]
push eax
push esi
call fcn.005a2ff0
push 0x73a704
lea eax, [ebp - 0x28]
push eax
call fcn.0065fe37
int3
Function at 0x5cf290
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68c2d9
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x746694]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0
push ecx
push eax
call fcn.005be920
add esp, 8
mov dword [0x7460d8], 0
cmp dword [0x7460dc], 0x10
mov eax, 0x7460c8
cmovae eax, dword [0x7460c8]
mov byte [eax], 0
lea eax, [ebp - 0x38]
push eax
push 0
push 0
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x5cf31c
mov esi, dword [ebp - 0x38]
mov edi, dword [ebp - 0x34]
jmp 0x5cf37b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.005c0b70
add esp, 8
lea eax, [ebp - 0x28]
mov ecx, 0x7460c8
push eax
call fcn.005a3660
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x5cf36d
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5cf363
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5cf3aa
push edx
push ecx
call fcn.0065d157
add esp, 8
xorps xmm0, xmm0
movlpd qword [ebp - 0x40], xmm0
mov edi, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x5cf38b
push ecx
call fcn.00663ce7
add esp, 4
mov eax, esi
mov edx, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0065d16a
mov esp, ebp
pop ebp
ret
call fcn.00663c8b
int3
Function at 0x5d1640
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68c632
mov eax, dword fs:[0]
push eax
sub esp, 0x47c
mov eax, dword [0x746694]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
push 0x72cdb8
push eax
mov dword [ebp - 0x488], eax
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 0x484], esi
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x480]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x484], eax
cmp eax, 0xffffffff
je 0x5d1784
nop dword [eax + eax]
mov ax, word [ebp - 0x454]
cmp ax, 0x2e
je 0x5d175d
test byte [ebp - 0x480], 0x10
je 0x5d1754
lea eax, [ebp - 0x454]
push eax
push dword [ebp - 0x488]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push edi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.005d1640
add esp, 0xc
cmp dword [ebp - 0x220], 0
jne 0x5d17c2
mov edx, dword [ebp - 0x21c]
cmp edx, 0x10
jb 0x5d175d
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5d1748
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5d1899
push edx
push ecx
call fcn.0065d157
add esp, 8
jmp 0x5d175d
cmp ax, word [edi]
je 0x5d17ef
lea eax, [ebp - 0x480]
push eax
push dword [ebp - 0x484]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x5d16c0
push dword [ebp - 0x484]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov dword [esi + 0x10], 0
mov byte [esi], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0065d16a
mov esp, ebp
pop ebp
ret
movups xmm0, xmmword [ebp - 0x230]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x220]
movq qword [esi + 0x10], xmm0
jmp 0x5d17a5
mov edx, dword [ebp - 0x488]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5d1821
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x230]
call fcn.005cdde0
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 0
push eax
push esi
call fcn.005c8030
mov edx, dword [ebp - 0x21c]
add esp, 8
cmp edx, 8
jb 0x5d17a5
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5d188a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5d1899
push edx
push ecx
call fcn.0065d157
add esp, 8
jmp 0x5d17a5
call fcn.00663c8b
int3
Function at 0x5d54f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x74c8b4]
test eax, eax
jne 0x5d5553
push esi
push 0x10
call fcn.0065d127
mov esi, eax
add esp, 4
mov dword [ebp - 4], esi
test esi, esi
je 0x5d5548
lea eax, [ebp - 4]
mov dword [esi], vtable.Installer.0
push eax
push 0
push esi
push 0x5d84c0
push 0
push 0
mov dword [esi + 8], 0
mov byte [esi + 0xc], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
mov eax, esi
mov dword [0x74c8b4], esi
pop esi
mov esp, ebp
pop ebp
ret
xor esi, esi
mov dword [0x74c8b4], esi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x5f0c80
Capabilities:
Identify system language via api

Disassembly:
mov eax, dword [0x74640c]
cmp eax, 0xa
jne 0x5f0d1b
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
and eax, 0x1ff
add eax, 0xfffffffe
cmp eax, 0x83
ja case.0x5f0caa.3
movzx eax, byte [eax + 0x5f0d44]
jmp dword [eax*4 + 0x5f0d1c]
mov eax, 1
mov dword [0x74640c], eax
ret
mov eax, 2
mov dword [0x74640c], eax
ret
mov eax, 3
mov dword [0x74640c], eax
ret
mov eax, 4
mov dword [0x74640c], eax
ret
mov eax, 5
mov dword [0x74640c], eax
ret
mov eax, 6
mov dword [0x74640c], eax
ret
mov eax, 9
mov dword [0x74640c], eax
ret
mov eax, 7
mov dword [0x74640c], eax
ret
mov eax, 8
mov dword [0x74640c], eax
ret
xor eax, eax
mov dword [0x74640c], eax
ret
Function at 0x5f2cc0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x746694]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push edi
mov edi, ecx
cmp eax, 0x201
jne 0x5f2d11
push 5
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [edi + 0x898]
push eax
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov byte [edi + 0xc50], 0
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0065d16a
mov esp, ebp
pop ebp
ret 0x10
mov ecx, 0x205
cmp ax, cx
jne 0x5f2db1
push ebx
push esi
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 0
push eax
mov dword [ebp - 0x30], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ebx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x34]
mov eax, dword [edi + 4]
push 0
push ebx
push esi
mov dword [ebp - 0x38], eax
call dword [sym.imp.USER32.dll_MonitorFromPoint]
test eax, eax
jne 0x5f2d9b
push 2
push ebx
push esi
call dword [sym.imp.USER32.dll_MonitorFromPoint]
test eax, eax
je 0x5f2d9b
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0x28
xorps xmm0, xmm0
mov dword [ebp - 8], 0
push ecx
push eax
movups xmmword [ebp - 0x28], xmm0
movups xmmword [ebp - 0x18], xmm0
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
test eax, eax
je 0x5f2d9b
mov eax, dword [ebp - 0x18]
cmp esi, eax
jge 0x5f2d94
mov esi, eax
jmp 0x5f2d9b
cmp esi, dword [ebp - 0x10]
cmovg esi, dword [ebp - 0x10]
push 0
push dword [ebp - 0x38]
push 0
push ebx
push esi
push 4
push dword [edi + 0x68]
call dword [sym.imp.USER32.dll_TrackPopupMenu]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop edi
call fcn.0065d16a
mov esp, ebp
pop ebp
ret 0x10
Function at 0x5f3530
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68fad0
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x746694]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [esi + 4], 0
mov dword [esi], vtable.ATL::CComPolyObject_class_ATL::CAxHostWindow_.0
mov dword [esi + 0x58], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x28], eax
mov dword [esi + 0x44], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0xe0], 0
mov dword [esi + 0xe4], 0
mov dword [esi + 0xf0], 0
mov eax, dword [esi + 0xd0]
and dword [esi + 0xa0], 0xffffff40
and eax, 0xfffffffb
or eax, 3
mov dword [esi + 0x20], 0
push 8
mov dword [esi + 0x24], 0
mov dword [esi + 0xd0], eax
mov dword [esi + 0xd4], 0
call dword [sym.imp.USER32.dll_GetSysColor]
and dword [esi + 0xa0], 0xffffffbf
mov ecx, esi
mov dword [esi + 0xd8], eax
xorps xmm0, xmm0
mov eax, dword [esi + 0xd0]
and eax, 0xffffffaf
mov dword [esi + 0xdc], 0x400
or eax, 0x28
mov dword [esi + 0x98], 0
mov dword [esi + 0xd0], eax
mov eax, dword [ebp + 8]
test eax, eax
movups xmmword [esi + 0x88], xmm0
cmovne ecx, eax
mov dword [esi + 0x9c], 0xcdcdcdcd
mov dword [esi + 0xe8], 4
mov dword [esi + 0xec], 0
mov dword [esi + 0x60], 0
mov byte [esi + 0x64], 1
mov dword [esi + 0xcc], 0
mov dword [esi + 0xa4], 0
mov dword [esi + 0xa8], 0
mov dword [esi + 0xac], 0
mov dword [esi + 0xb0], 0
mov dword [esi + 0xb4], 0
mov dword [esi + 0xb8], 0
movups xmmword [esi + 0xbc], xmm0
mov dword [esi + 8], vtable.ATL::CComContainedObject_class_ATL::CAxHostWindow_.0
mov dword [esi + 0x2c], vtable.ATL::CComContainedObject_class_ATL::CAxHostWindow_.1.0
mov dword [esi + 0x30], vtable.ATL::CComContainedObject_class_ATL::CAxHostWindow_.2.0
mov dword [esi + 0x34], vtable.ATL::CComContainedObject_class_ATL::CAxHostWindow_.3.0
mov dword [esi + 0x38], vtable.ATL::CComContainedObject_class_ATL::CAxHostWindow_.4.0
mov dword [esi + 0x3c], vtable.ATL::CComContainedObject_class_ATL::CAxHostWindow_.5.0
mov dword [esi + 0x40], vtable.ATL::CComContainedObject_class_ATL::CAxHostWindow_.6.0
mov dword [esi + 0x48], vtable.ATL::CComContainedObject_class_ATL::CAxHostWindow_.7.0
mov dword [esi + 0x4c], vtable.ATL::CComContainedObject_class_ATL::CAxHostWindow_.8.0
mov dword [esi + 0x50], vtable.ATL::CComContainedObject_class_ATL::CAxHostWindow_.9.0
mov dword [esi + 0x54], vtable.ATL::CComContainedObject_class_ATL::CAxHostWindow_.10.0
mov dword [esi + 0x58], ecx
mov ecx, dword [0x74c328]
mov dword [ebp - 4], 0
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x5f3860
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68fb80
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x746694]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi + 4], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov byte [edi + 0x20], 0
mov dword [edi + 0x24], 0
lea ecx, [edi + 0x34]
mov dword [ebp - 4], 0
call fcn.005f3760
mov dword [edi + 0x28], vtable.WTL::CMessageFilter.0
mov dword [edi + 0x2c], vtable.WTL::CIdleHandler.0
mov dword [edi + 0x30], vtable.BrowserOwner.0
mov dword [edi], vtable.CMainDlg.0
mov dword [edi + 0x28], vtable.CMainDlg.1.0
mov dword [edi + 0x2c], vtable.CMainDlg.2.0
mov dword [edi + 0x30], vtable.CMainDlg.3.0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
lea esi, [edi + 0x70]
mov byte [ebp - 4], 4
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.00610e40
mov dword [esi], vtable.CMainDlg::WindowButton.0
lea esi, [edi + 0x318]
mov byte [ebp - 4], 5
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.00610e40
mov dword [esi], vtable.CMainDlg::WindowButton.0
lea esi, [edi + 0x5c0]
mov byte [ebp - 4], 6
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.00610e40
mov dword [esi], vtable.CMainDlg::WindowButton.0
push 0xc
mov byte [ebp - 4], 7
mov dword [edi + 0x86c], 0
mov dword [edi + 0x870], 0
call fcn.0065d127
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 0x86c], eax
mov dword [edi + 0x874], 0
call fcn.005fd420
mov dword [edi + 0x890], 0
lea eax, [edi + 0xc54]
mov dword [edi + 0x894], 0
xor ecx, ecx
movups xmm0, xmmword [0x6adae4]
mov dword [ebp - 0x14], eax
movups xmmword [eax + 4], xmm0
movups xmm0, xmmword [0x6adae4]
mov dword [eax + 0x24], ecx
mov dword [eax + 0x28], 0xfefefefe
movups xmmword [eax + 0x14], xmm0
movups xmm0, xmmword [0x6adae4]
movups xmmword [eax + 4], xmm0
movups xmm0, xmmword [0x6adae4]
mov dword [eax + 0x24], ecx
movups xmmword [eax + 0x14], xmm0
mov dword [eax + 0x2c], vtable.IBrowser.0
mov dword [eax], vtable.MyWebBrowser_1000_.0
mov dword [eax + 0x2c], vtable.MyWebBrowser_1000_.1.0
mov dword [eax + 0x30], ecx
mov dword [eax + 0x34], ecx
mov dword [eax + 0x38], ecx
mov dword [eax + 0x3c], ecx
mov eax, edi
mov byte [edi + 0x6c], cl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x5fbd30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x5fbd89
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x5fbd89
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x5fbd7a
cmp esi, edx
jae 0x5fbd89
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x5fbd68
cmp esi, edx
jae 0x5fbd89
cmp word [esi], 0
je 0x5fbd89
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret
Function at 0x5ff640
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + 8]
test edi, edi
je 0x5ff79f
test esi, esi
je 0x5ff79f
mov dword [edi], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x74600c
mov dword [edi + 4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x746024]
mov dword [edi + 8], eax
push 0x74600c
mov dword [0x746024], edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov edi, dword [0x74ce78]
mov dword [ebp - 8], edi
call fcn.005fd420
push 5
push 0x81
push edi
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x5ff774
push 0xf0
push 0x81
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ecx, dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], ebx
test eax, eax
je 0x5ff6f3
push eax
push edi
call ecx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
push dword [ebp - 0xc]
xor edi, edi
push dword [ebp - 8]
call ecx
test eax, eax
je 0x5ff75d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x5ff75d
push dword [ebp - 4]
push eax
call fcn.006012e0
add esp, 8
mov dword [ebp - 0xc], eax
push dword [ebp + 0xc]
push 0x601610
push dword [ebp + 8]
push eax
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
mov ebx, eax
test ebx, ebx
jne 0x5ff741
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x10]
je 0x5ff765
test eax, eax
je 0x5ff765
push eax
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x5ff765
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test edi, edi
je 0x5ff774
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
call edi
jmp 0x5ff77a
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [esi + 0x24], 0
jge 0x5ff794
test ebx, ebx
je 0x5ff794
push dword [esi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
push dword [esi + 0x24]
call edi
xor ebx, ebx
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 8
push 1
push 0xc0000005
call fcn.005b3bb0
int3
Function at 0x6001b0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x746694]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, ecx
mov dword [ebp - 0x214], 0
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x218]
push edi
push edx
mov edi, dword [eax + 4]
or edi, 0x2001f
mov dword [ebp - 0x220], eax
push edi
push 0
push ecx
push dword [eax]
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x210], 0
mov dword [ebp - 0x20c], 0
mov dword [ebp - 0x218], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, eax
test esi, esi
jne 0x60030b
mov eax, dword [ebp - 0x214]
xor esi, esi
test eax, eax
je 0x60023c
push eax
call ebx
mov esi, eax
mov eax, dword [ebp - 0x218]
and edi, 0x300
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x210], edi
test esi, esi
jne 0x60030b
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea ecx, [ebp - 0x228]
push ecx
push esi
push esi
push esi
lea ecx, [ebp - 0x208]
mov dword [ebp - 0x208], 0x100
push ecx
lea ecx, [ebp - 0x204]
push ecx
push esi
push eax
call edi
test eax, eax
jne 0x6002d7
nop dword [eax]
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x214]
call fcn.006001b0
mov esi, eax
test esi, esi
jne 0x60030b
lea eax, [ebp - 0x228]
mov dword [ebp - 0x208], 0x100
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x204]
push eax
push esi
push dword [ebp - 0x214]
call edi
test eax, eax
je 0x600290
mov eax, dword [ebp - 0x214]
test eax, eax
je 0x6002ee
push eax
call ebx
mov dword [ebp - 0x214], 0
push dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x220]
mov dword [ebp - 0x210], 0
call fcn.005ff7b0
mov esi, eax
mov eax, dword [ebp - 0x214]
test eax, eax
je 0x600318
push eax
call ebx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0065d16a
mov esp, ebp
pop ebp
ret 4