joyce8/EMBER2024-capa huggingface dataset:
Function at 0x562296
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
cmp eax, ebx
je 0x5622db
cmp dword [ebp + 0xc], ebx
je 0x5622db
push 0x2800
call fcn.004013d6
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x5622ef
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403fc1
mov esp, ebp
pop ebp
ret
push ebx
push str..PhysicalDrive_d
push 0x2800
push esi
call fcn.00561436
add esp, 0x10
push 0
push 0x80
push 3
push 0
push 3
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x562391
xor eax, eax
push 0x2800
push eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
push esi
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
call fcn.00402394
add esp, 0xc
push 0
lea eax, [ebp - 0x18]
push eax
push 0x2800
push esi
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x562384
mov eax, dword [esi + 0x18]
test eax, eax
je 0x562384
mov edx, dword [ebp + 0xc]
add eax, esi
push eax
mov eax, dword [ebp - 0x1c]
push edx
push eax
push str.DISKID:
call fcn.00562072
add esp, 0x10
mov dword [ebp - 0x14], eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], 0
jne 0x56239b
inc ebx
cmp ebx, 0x10
jl 0x5622ef
mov eax, dword [0x6a2f74]
cmp eax, 1
je 0x5623ed
jle 0x5623d0
cmp eax, 3
jg 0x5623d0
mov ecx, dword [0x69f4c8]
push esi
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403fc1
mov esp, ebp
pop ebp
ret
push esi
call fcn.00403b21
mov eax, dword [ebp - 0x14]
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403fc1
mov esp, ebp
pop ebp
ret
push esi
call fcn.0055e50e
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
add esp, 4
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403fc1
mov esp, ebp
pop ebp
ret
Function at 0x5624a7
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
xor edi, edi
xor ebx, ebx
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x20], edi
cmp dword [ebp + 8], edi
je 0x5624df
cmp dword [ebp + 0xc], edi
je 0x5624df
push 0x200
call fcn.004013d6
mov esi, eax
add esp, 4
cmp esi, edi
jne 0x5624e9
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 8]
push eax
push 0x20119
push edi
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x56262f
mov edx, dword [ebp - 8]
push eax
push eax
push eax
push eax
lea ecx, [ebp - 4]
push ecx
push esi
push eax
push edx
mov dword [ebp - 4], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x5625cf
mov eax, dword [ebp - 8]
test eax, eax
jne 0x56253a
mov eax, 0x80000002
lea ecx, [ebp - 0x10]
push ecx
push 0x20119
push 0
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x5625a7
lea edx, [ebp + 0xc]
push edx
mov edx, dword [ebp - 0x10]
lea eax, [esi + 4]
push eax
lea ecx, [ebp - 0x14]
push ecx
push 0
push str.ServiceName
push edx
mov dword [ebp - 0x14], 1
mov dword [ebp - 4], 0x200
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x56259d
mov eax, esi
mov dword [esi], 0x5c2e5c5c
call fcn.0056240a
cmp edx, ebx
jb 0x56259d
ja 0x562598
cmp eax, dword [ebp - 0x20]
jbe 0x56259d
mov dword [ebp - 0x20], eax
mov ebx, edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 8]
push 0
push 0
push 0
push 0
lea ecx, [ebp - 4]
push ecx
push esi
inc edi
push edi
push edx
mov dword [ebp - 4], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x56252e
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x5625e2
cmp dword [ebp - 0x20], ebx
jbe 0x56262f
mov ecx, dword [ebp - 0x20]
push ebx
push ecx
push str._012I64X
push 0x200
push esi
call fcn.00561436
add esp, 0x14
test eax, eax
jne 0x562616
mov ecx, esi
mov dword [ebp - 0xc], 0xffffffff
call fcn.0041793a
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push esi
push edx
push eax
push str.MAC:
call fcn.00562072
add esp, 0x10
mov dword [ebp - 0xc], eax
mov ecx, esi
call fcn.0041793a
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x563733
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f5fd9
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ecx, dword [0x6b05b0]
xor edi, edi
cmp ecx, edi
jne 0x56377e
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx + 4]
cmp eax, 0xffffffff
jne 0x56378b
mov dword [ebp - 0x14], edi
jmp 0x5637a3
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x14], eax
cmp eax, edi
jne 0x563849
mov ecx, dword [0x6b05b0]
mov eax, dword [ecx]
cmp eax, edi
je 0x56376a
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x56376a
push 0x6b05b0
mov dword [ebp - 4], edi
call fcn.0056385b
mov esi, eax
mov dword [ebp - 0x14], esi
cmp esi, edi
jne 0x5637e1
push 0x62a518
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], 1
call fcn.005e51ac
mov ecx, dword [0x6b05b0]
mov eax, dword [ecx + 4]
cmp eax, 0xffffffff
je 0x5637fb
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
cmp eax, edi
jne 0x563810
push 0x62a518
lea edx, [ebp - 0x1c]
push edx
mov dword [ebp - 0x1c], 4
call fcn.005e51ac
mov dword [ebp - 4], 0xffffffff
jmp 0x563835
mov eax, dword [0x6b05b0]
mov eax, dword [eax]
test eax, eax
je 0x563847
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x56385b
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
mov dword [ebp + 8], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 4], eax
mov eax, dword [ebx]
mov ecx, dword [eax + 0x5b0]
add eax, 8
mov dword [eax + 0x5b0], ecx
cmp ecx, eax
jne 0x56388d
xor ecx, ecx
jmp 0x563899
mov edx, dword [ecx + 0x5a8]
mov dword [eax + 0x5b0], edx
mov esi, ecx
test ecx, ecx
je 0x563946
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenThread]
nop
mov eax, dword [esi]
cmp dword [ebp - 4], eax
jne 0x5638b7
mov dword [ebp + 8], esi
jmp 0x56391b
push eax
push 1
push 0x40
call edi
test eax, eax
jne 0x563914
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x563907
mov eax, dword [esi + 0x5ac]
mov ecx, dword [esi + 0x5a8]
mov dword [eax + 0x5a8], ecx
mov edx, dword [esi + 0x5a8]
mov eax, dword [esi + 0x5ac]
mov dword [edx + 0x5ac], eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
test eax, eax
je 0x56391b
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x56391b
push 0x665ea0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x56391b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebx]
mov esi, dword [eax + 0x5b8]
add eax, 8
cmp esi, eax
je 0x56393e
mov ecx, dword [esi + 0x5a8]
mov dword [eax + 0x5b0], ecx
test esi, esi
jne 0x5638ab
mov eax, dword [ebp + 8]
pop edi
test eax, eax
jne 0x563959
mov ecx, dword [ebx]
add ecx, 8
call fcn.00563a05
test eax, eax
je 0x563959
mov edx, dword [ebp - 4]
mov dword [eax], edx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x564571
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f5f1c
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [section..data]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x2c], edi
mov dword [ebp - 4], edi
mov dword [esi + 0x30], edi
mov byte [ebp - 4], 1
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov byte [ebp - 4], 2
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov byte [ebp - 4], 3
mov eax, dword [0x6bbe20]
mov edx, dword [eax + 0xc]
mov ecx, 0x6bbe20
call edx
add eax, 0x10
mov dword [esi + 0x5c], eax
mov byte [ebp - 4], 4
mov eax, dword [0x6bbe20]
mov edx, dword [eax + 0xc]
mov ecx, 0x6bbe20
call edx
add eax, 0x10
mov dword [esi + 0x60], eax
mov byte [ebp - 4], 5
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
call fcn.005646e2
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x565836
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push ebx
lea eax, [ebp - 0x18]
push eax
push 8
lea ecx, [ebp - 0xc]
push ecx
push edi
mov dword [ebp - 0x18], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x56593f
cmp dword [ebp - 0x18], 8
jne 0x56593f
lea edx, [ebp - 0xc]
push 8
push edx
xor edx, edx
call fcn.0046afd9
add esp, 8
test eax, eax
jne 0x56593f
push esi
push fcn.005b8737
call fcn.0046b1a4
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
cmp esi, ebx
je 0x56592d
push esi
call fcn.0046b738
add esp, 4
mov dword [ebp - 0x10], eax
test eax, eax
je 0x56591f
mov ecx, 0x5657ee
mov dword [esi + 0x58], edi
test ecx, ecx
je 0x5658c8
mov dword [esi + 0x54], 0x5657ee
jmp 0x5658cf
mov dword [esi + 0x54], 0x5d179a
cmp dword [esi + 0x50], ebx
je 0x5658e4
mov ecx, str.Cant_set_both_read_data_fn_and_write_data_fn_in_the_same_structure
mov dword [esi + 0x50], ebx
call fcn.005d1630
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
push edx
push eax
mov dword [esi + 0x14c], ebx
push esi
mov byte [esi + 0x12c], 8
call fcn.0046b7c7
mov esi, eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.004717ed
add esp, 0x10
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403fc1
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x14]
push ecx
xor ecx, ecx
call fcn.004717ed
add esp, 4
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403fc1
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.00403fc1
mov esp, ebp
pop ebp
ret
Function at 0x5667c5
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0
lea eax, [ebp - 0x18]
push eax
mov edi, ecx
push 0xf
lea ecx, [ebp - 0x14]
push ecx
push edi
mov dword [ebp - 0x18], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x566805
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403fc1
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [ebp - 0x18]
cmp eax, 0xe
jbe 0x56684d
mov edx, 0x4d42
cmp word [ebp - 0x14], dx
jne 0x56684d
cmp word [ebp - 0xe], 0
jne 0x56684d
cmp word [ebp - 0xc], 0
jne 0x56684d
push esi
mov ecx, edi
call fcn.00565950
add esp, 4
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403fc1
mov esp, ebp
pop ebp
ret
cmp eax, 8
jbe 0x56687e
lea eax, [ebp - 0x14]
push 8
push eax
xor edx, edx
call fcn.0046afd9
add esp, 8
test eax, eax
jne 0x56687e
push esi
call fcn.00565836
add esp, 4
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403fc1
mov esp, ebp
pop ebp
ret
push edi
call fcn.00565773
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop edi
call fcn.00403fc1
mov esp, ebp
pop ebp
ret

Function at 0x56be96
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xcc]
push ebx
push eax
call edx
mov eax, dword [ebx]
mov ecx, dword [eax + 0x78]
push 0x4b9
push ebx
call ecx
cmp eax, 0x20
jne 0x56bf3e
mov eax, dword [esi + 0x18]
test al, 1
je 0x56bf3e
and eax, 0xfffffffe
push 1
mov dword [esi + 0x18], eax
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
mov eax, dword [esi + 0xc]
push eax
jne 0x56bf19
mov edx, dword [eax]
mov eax, dword [edx + 0x17c]
call eax
test eax, eax
je 0x56befe
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x140]
push eax
call edx
mov ecx, dword [esi + 0x14]
mov edx, dword [ecx + 0xc]
lea eax, [esi + 0x14]
push eax
call edx
test eax, eax
je 0x56bf2c
push edi
mov edi, esi
call fcn.0056bcf2
pop edi
jmp 0x56bf2c
mov ecx, dword [eax]
mov edx, dword [ecx + 0x17c]
call edx
test eax, eax
je 0x56bf2c
call fcn.0056bc4c
mov eax, dword [ebx]
mov ecx, dword [eax + 0xc4]
push 1
push 0x4b2
push ebx
call ecx
pop esi
pop ebx
pop ebp
ret 8
Function at 0x56c079
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [edi]
mov ecx, dword [eax + 0xc4]
push 1
push 0x4b2
push edi
call ecx
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0xc]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 0x144]
call eax
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push 1
call ebx
shr eax, 0xf
test al, 1
je 0x56c10a
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x13c]
push eax
call edx
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x17c]
push eax
call edx
test eax, eax
je 0x56c10a
push 1
call ebx
shr eax, 0xf
test al, 1
je 0x56c0fc
mov ecx, dword [esi + 0x14]
mov edx, dword [ecx + 0xc]
lea eax, [esi + 0x14]
push eax
call edx
test eax, eax
jne 0x56c10a
push 1
mov ecx, esi
call fcn.0056bb6d
jmp 0x56c10a
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x140]
push eax
call edx
mov esi, dword [esi + 0x10]
mov eax, dword [esi]
mov ecx, dword [eax + 0x84]
push edi
push esi
call ecx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x56c1b8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x80]
push edi
mov edi, dword [ebp + 0xc]
push edi
push eax
call edx
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x17c]
push eax
call edx
test eax, eax
je 0x56c210
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
je 0x56c210
test byte [esi + 0x18], 1
jne 0x56c210
call fcn.0056bc4c
mov eax, dword [edi]
mov ecx, dword [eax + 0xc4]
push 1
push 0x4b2
push edi
call ecx
pop edi
pop esi
pop ebp
ret 8

Function at 0x573de7
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f3e65
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [section..data]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi], vtable.ATL::CComAggObject_class_SmartuiOld::CQtlImageBrush_.0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 8], vtable.ATL::CComContainedObject_class_SmartuiOld::CQtlImageBrush_.0
mov dword [esi + 0x18], vtable.ATL::CComContainedObject_class_SmartuiOld::CQtlImageBrush_.1.0
mov dword [esi + 0x1c], vtable.ATL::CComContainedObject_class_SmartuiOld::CQtlImageBrush_.2.0
mov dword [esi + 0x20], vtable.ATL::CComContainedObject_class_SmartuiOld::CQtlImageBrush_.3.0
mov dword [esi + 0xc], ecx
mov dword [ebp - 4], eax
mov ecx, dword [0x6bb830]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
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 0x57418c
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f7b42
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [section..data]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi], vtable.ATL::CComAggObject_class_SmartuiOld::CQtlGrid_.0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 8], vtable.ATL::CComContainedObject_class_SmartuiOld::CQtlGrid_.0
mov dword [esi + 0x1c], vtable.ATL::CComContainedObject_class_SmartuiOld::CQtlGrid_.1.0
mov dword [esi + 0xc], ecx
mov dword [ebp - 4], eax
mov ecx, dword [0x6bb830]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
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 0x57730c
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f6c45
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0xb8], ecx
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0xbc], esi
mov dword [ebp - 0xa8], esi
mov dword [ebp - 4], ebx
or edi, 0xffffffff
cmp esi, edi
jne 0x577395
call fcn.004a6977
mov esi, eax
mov dword [ebp - 4], edi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0xa8], ebx
mov eax, esi
jmp 0x577526
lea edx, [ebp - 0xb0]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb0], ebx
je 0x5773cf
mov dword [ebp - 4], edi
cmp esi, ebx
je 0x5773c5
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0xa8], ebx
mov eax, 0x80004005
jmp 0x577526
cmp eax, edi
jne 0x5773df
call fcn.004a6977
mov edi, eax
jmp 0x57750c
mov dword [ebp - 0xa4], ebx
mov byte [ebp - 4], 1
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0xb4]
add eax, 2
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], ebx
cmp ebx, ebx
ja 0x57740a
cmp eax, edi
jbe 0x577414
push 0x80070216
call fcn.004a3cf3
cmp eax, 0x80
jbe 0x577431
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.00427501
mov dword [ebp - 4], 1
jmp 0x57745e
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 4], 1
jmp 0x57745e
mov eax, dword [ebp - 0xa4]
cmp eax, ebx
jne 0x5774a2
mov byte [ebp - 4], bl
lea edx, [ebp - 0xa0]
cmp dword [ebp - 0xa4], edx
je 0x577484
lea eax, [ebp - 0xa4]
call fcn.00426f7d
mov dword [ebp - 4], edi
cmp esi, ebx
je 0x577498
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0xa8], ebx
mov eax, 0x8007000e
jmp 0x577526
mov edi, eax
mov dword [ebp - 0xc0], ebx
push ebx
lea ecx, [ebp - 0xc0]
push ecx
mov edx, dword [ebp - 0xb4]
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x5774cc
call fcn.004a6977
jmp 0x5774ee
mov ecx, dword [ebp - 0xb4]
mov byte [edi + ecx], bl
mov edx, dword [ebp - 0xb4]
mov byte [edi + edx + 1], bl
push edi
mov ecx, dword [ebp - 0xb8]
call fcn.004489a9
add esp, 4
mov edi, eax
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], bl
cmp dword [ebp - 0xa4], eax
je 0x57750c
lea eax, [ebp - 0xa4]
call fcn.00426f7d
mov dword [ebp - 4], 0xffffffff
cmp esi, ebx
je 0x577524
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0xa8], ebx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00403fc1
mov esp, ebp
pop ebp
ret
Function at 0x57931a
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f427a
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [section..data]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, dword [sym.imp.USER32.dll_DefWindowProcW]
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi], vtable.ATL::CComAggObject_class_SmartuiOld::CQtlHwndSource_.0
mov dword [esi + 0x10], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 8], vtable.ATL::CComContainedObject_class_SmartuiOld::CQtlHwndSource_.0
mov dword [esi + 0xc], vtable.ATL::CComContainedObject_class_SmartuiOld::CQtlHwndSource_.1.0
mov dword [esi + 0x30], vtable.ATL::CComContainedObject_class_SmartuiOld::CQtlHwndSource_.2.0
mov dword [esi + 0x34], edx
mov dword [ebp - 4], eax
mov ecx, dword [0x6bb830]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4