joyce8/EMBER2024-capa huggingface dataset:
Function at 0x428801
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
push dword [ebp + 0xc]
push 0
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x42882e
mov al, 1
leave
ret 8
cmp eax, 2
jne 0x428837
xor al, al
jmp 0x42882a
push eax
lea eax, [ebp - 0xc]
push str.RegQueryValueExA___error_u
push eax
call fcn.0042777f
add esp, 0xc
lea eax, [ebp - 0xc]
push 0x48e0c0
push eax
call sub.MSVCRT.dll__CxxThrowException

Function at 0x428857
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, ecx
lea ecx, [ebp - 4]
mov eax, 0x104
push ecx
mov ecx, dword [ebp + 0xc]
push eax
mov dword [ebp - 4], eax
call fcn.0042adda
push eax
push 0
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
pop esi
jne 0x42889b
push dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
call fcn.0042aeb0
mov al, 1
leave
ret 8
cmp eax, 2
jne 0x4288b1
mov ecx, dword [ebp + 0xc]
push 0x4adf20
call fcn.0042aab7
xor al, al
jmp 0x428897
push eax
lea eax, [ebp - 0xc]
push str.RegQueryValueExA___error_u
push eax
call fcn.0042777f
add esp, 0xc
lea eax, [ebp - 0xc]
push 0x48e0c0
push eax
call sub.MSVCRT.dll__CxxThrowException

Function at 0x4288d1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
and dword [ebp - 4], 0
push eax
push 0
push 0
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 2
jne 0x4288fb
xor al, al
leave
ret 4
test eax, eax
jne 0x428903
mov al, 1
jmp 0x4288f7
push eax
lea eax, [ebp - 0xc]
push str.IsExistW___error_u
push eax
call fcn.0042777f
add esp, 0xc
lea eax, [ebp - 0xc]
push 0x48e0c0
push eax
call sub.MSVCRT.dll__CxxThrowException
Function at 0x428923
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
lea eax, [ebp - 4]
push edi
xor esi, esi
push eax
push esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
push esi
push dword [ebp + 8]
mov ebx, ecx
mov dword [ebp - 4], esi
push dword [ebx]
call edi
cmp eax, 2
jne 0x428955
xor al, al
pop edi
pop esi
pop ebx
leave
ret 8
cmp eax, esi
jne 0x4289b6
mov esi, dword [ebp + 0xc]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi]
add ecx, dword [ebp - 4]
push ecx
mov ecx, esi
call dword [eax + 4]
lea eax, [ebp - 4]
mov ecx, esi
push eax
mov eax, dword [esi]
call dword [eax + 0x18]
push eax
push 0
push 0
push dword [ebp + 8]
push dword [ebx]
call edi
test eax, eax
jne 0x4289b6
cmp dword [ebp - 4], 0xf4240
jb 0x4289a4
push 0x78
push str.S:Ammyy_sourcesRLRLRegistry.cpp
lea ecx, [ebp - 0xc]
call fcn.00425667
mov ecx, eax
call fcn.00425773
mov ecx, dword [esi + 0xc]
mov eax, dword [esi]
add ecx, dword [ebp - 4]
push ecx
mov ecx, esi
call dword [eax + 0x20]
mov al, 1
jmp 0x42894e
push eax
lea eax, [ebp - 0xc]
push str.RegQueryValueExW___error_u
push eax
call fcn.0042777f
add esp, 0xc
lea eax, [ebp - 0xc]
push 0x48e0c0
push eax
call sub.MSVCRT.dll__CxxThrowException

Function at 0x4289d6
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, ecx
mov ecx, dword [ebp + 0xc]
push dword [ecx + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x14]
push eax
push 3
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
pop esi
je 0x428a1e
push eax
lea eax, [ebp - 8]
push str.RegSetValueExW_REG_BINARY__error_u
push eax
call fcn.0042777f
add esp, 0xc
lea eax, [ebp - 8]
push 0x48e0c0
push eax
call sub.MSVCRT.dll__CxxThrowException
leave
ret 8

Function at 0x428a22
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, ecx
mov ecx, dword [ebp + 0xc]
call fcn.0042b068
mov ecx, dword [ebp + 0xc]
push eax
call fcn.0042b08a
push eax
push 1
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
pop esi
je 0x428a70
push eax
lea eax, [ebp - 8]
push str.RegSetValueExA___error_u
push eax
call fcn.0042777f
add esp, 0xc
lea eax, [ebp - 8]
push 0x48e0c0
push eax
call sub.MSVCRT.dll__CxxThrowException
leave
ret 8

Function at 0x428a74
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
je 0x428aae
cmp eax, 2
je 0x428aae
push eax
lea eax, [ebp - 8]
push str.RegDeleteKeyA___error_u
push eax
call fcn.0042777f
add esp, 0xc
lea eax, [ebp - 8]
push 0x48e0c0
push eax
call sub.MSVCRT.dll__CxxThrowException
leave
ret
Function at 0x428ae3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceExA]
mov esi, eax
test esi, esi
jne 0x428b2b
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 8]
push str.FindResourceEx___error_d_lpName0x_X
push eax
call fcn.0042777f
add esp, 0x10
lea eax, [ebp - 8]
push 0x48e0c0
push eax
call sub.MSVCRT.dll__CxxThrowException
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
jne 0x428b61
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 8]
push str.SizeofResource___error_d
push eax
call fcn.0042777f
add esp, 0xc
lea eax, [ebp - 8]
push 0x48e0c0
push eax
call sub.MSVCRT.dll__CxxThrowException
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x428b95
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 8]
push str.LoadResource___error_d
push eax
call fcn.0042777f
add esp, 0xc
lea eax, [ebp - 8]
push 0x48e0c0
push eax
call sub.MSVCRT.dll__CxxThrowException
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
jne 0x428bc6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 8]
push str.LockResource___error_d
push eax
call fcn.0042777f
add esp, 0xc
lea eax, [ebp - 8]
push 0x48e0c0
push eax
call sub.MSVCRT.dll__CxxThrowException
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
mov eax, edi
pop edi
pop esi
leave
ret

Function at 0x42a0a2
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x4802cb
call fcn.0047bfa0
push ecx
push ecx
push ebx
push esi
push edi
mov edi, ecx
xor esi, esi
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], esi
call fcn.0042a5ec
push esi
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0xe
push dword [edi + 4]
mov dword [ebp - 4], 1
call esi
mov ebx, eax
test ebx, ebx
jbe 0x42a0f8
inc ebx
lea ecx, [ebp - 0x10]
push ebx
call fcn.0042adda
push eax
push ebx
push 0xd
push dword [edi + 4]
call esi
push eax
lea ecx, [ebp - 0x10]
call fcn.0042aeb0
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.0042a5f8
mov dword [ebp - 0x14], 1
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0042a8ed
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x42a12b
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x4802f7
call fcn.0047bfa0
push ecx
push ecx
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], edi
call fcn.0042bba6
push edi
push edi
xor ebx, ebx
push 0xe
push dword [esi + 4]
inc ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
test edi, edi
jbe 0x42a182
inc edi
lea ecx, [ebp - 0x10]
push edi
call fcn.0042c3a2
push eax
push edi
push 0xd
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
lea ecx, [ebp - 0x10]
call fcn.0042c478
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.0042bbb2
mov dword [ebp - 0x14], ebx
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0042bea3
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x42d00b
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x48051c
call fcn.0047bfa0
push ecx
push ebx
push esi
xor ebx, ebx
mov esi, ecx
push ebx
mov dword [ebp - 0x10], esi
call fcn.0042a20f
lea ecx, [esi + 0x28]
mov dword [ebp - 4], ebx
call fcn.0042a5ec
push 0xf
mov dword [esi], 0x48a658
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], 0x64
mov dword [esi + 0x24], ebx
mov dword [esi + 0x30], 0xff000000
call dword [sym.imp.USER32.dll_GetSysColor]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x34], eax
mov dword [esi + 0x18], 0xff000000
mov dword [esi + 0x2c], ebx
mov byte [esi + 0x3c], bl
mov dword [esi + 0x38], ebx
mov dword [esi + 0x10], 0x24
mov byte [esi + 0x14], 1
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x42dd9b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov esi, ecx
call fcn.0042e092
mov ecx, esi
call fcn.0042e736
mov ecx, dword [esi + 0x790]
mov edi, dword [esi + 0x78c]
mov eax, ecx
xor ebx, ebx
imul eax, eax, 0x190
cdq
idiv edi
push ebx
mov byte [esi + 0x88c], bl
mov dword [esi + 0x218], eax
mov eax, ecx
imul eax, eax, 0xc8
cdq
idiv edi
mov ecx, esi
mov dword [esi + 0x21c], eax
call fcn.0042f7dd
push ebx
push 1
mov ecx, esi
call fcn.0043483e
push 0x4a41ec
mov ecx, esi
call fcn.0042dd47
push ebx
push 0x4adf20
mov ecx, esi
call fcn.00433562
push ebx
push ebx
push esi
push 0x432882
push ebx
push ebx
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 0xa38], eax
cmp eax, ebx
pop edi
pop esi
pop ebx
jne 0x42de59
call dword [sym.imp.MSVCRT.dll__errno]
push dword [eax]
lea eax, [ebp - 8]
push str.Failed__beginthreadex____errno___d_
push eax
call fcn.0042777f
add esp, 0xc
lea eax, [ebp - 8]
push 0x48e0c0
push eax
call sub.MSVCRT.dll__CxxThrowException
leave
ret
Function at 0x42df6a
Capabilities:
Log keystrokes via application hook

Disassembly:
mov eax, 0x4807cc
call fcn.0047bfa0
sub esp, 0x20
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
xor ebx, ebx
push 0x4ae848
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], ebx
call fcn.004283a9
cmp byte [ebp + 8], bl
mov byte [ebp - 4], 1
je 0x42e02e
cmp dword [0x4ae894], ebx
jne 0x42e026
cmp dword [0x4ae890], ebx
je 0x42dfcf
lea eax, [ebp - 0x24]
push str.ERROR1_in_HookKeyboard__
push eax
call fcn.0042777f
pop ecx
lea eax, [ebp - 0x24]
pop ecx
push 0x48e0c0
push eax
call sub.MSVCRT.dll__CxxThrowException
push 0x100
lea eax, [esi + 0xb06]
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push ebx
push 0x400000
push 0x42de5b
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
cmp eax, ebx
mov dword [0x4ae894], eax
jne 0x42e026
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x2c]
push str.Error_d_while_SetWindowsHookEx__
push eax
call fcn.0042777f
add esp, 0xc
lea eax, [ebp - 0x2c]
push 0x48e0c0
push eax
call sub.MSVCRT.dll__CxxThrowException
mov dword [0x4ae890], esi
jmp 0x42e052
mov eax, dword [0x4ae894]
cmp eax, ebx
je 0x42e052
cmp dword [0x4ae890], esi
jne 0x42e052
push eax
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov dword [0x4ae894], ebx
mov dword [0x4ae890], ebx
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.004283bd
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x433652
Capabilities:
Create process on windows
Create process suspended

Disassembly:
mov eax, 0x480cc8
call fcn.0047bfa0
sub esp, 0x68
push ebx
push esi
lea eax, [ebp - 0x10]
push edi
push eax
mov esi, ecx
call fcn.0041a77b
lea eax, [ebp - 0x10]
xor ebx, ebx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
mov dword [ebp - 4], ebx
call fcn.0042bbb2
call fcn.0040b03c
cmp al, bl
pop ecx
je 0x4336d8
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push 0x4a2dbc
push eax
call fcn.0042c1f2
push 0x4a4c54
push eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 1
push eax
call fcn.0042c187
add esp, 0x18
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.0042bfe4
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0042bea3
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.0042bea3
jmp 0x4336e5
push 0x4adf20
lea ecx, [ebp - 0x10]
call fcn.0042c097
lea ecx, [ebp - 0x14]
call fcn.0042bba6
movzx eax, word [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.0042b08a
push eax
lea eax, [ebp - 0x14]
push str.mstsc.exe__s_v:127.0.0.1:_u
push eax
call fcn.0042cef7
add esp, 0x10
xor eax, eax
lea edi, [ebp - 0x70]
push 0x10
pop ecx
rep stosd dword es:[edi], eax
lea ecx, [ebp + 8]
mov dword [ebp - 0x74], 0x44
mov dword [ebp - 0x48], 1
mov word [ebp - 0x44], 5
call fcn.004337cc
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x14]
push eax
lea eax, [ebp - 0x74]
push eax
push ebx
push ebx
push 0x20
push ebx
push ebx
push ebx
push ebx
mov byte [ebp - 4], 4
call fcn.0042c3a2
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x433784
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x20]
push str.ERROR:_Failed_to_run_RDP_client__error_d
push eax
call fcn.0042777f
add esp, 0xc
lea eax, [ebp - 0x20]
push 0x48e0c0
push eax
call sub.MSVCRT.dll__CxxThrowException
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
call fcn.004337fd
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x14]
mov dword [esi], eax
mov eax, dword [ebp - 0x30]
mov dword [esi + 4], eax
mov byte [ebp - 4], bl
call fcn.0042bea3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0042bea3
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x433a4f
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov eax, 0x480d00
call fcn.0047bfa0
sub esp, 0x1c
push esi
mov esi, ecx
cmp byte [esi + 0xb04], 0
je 0x433b55
cmp byte [esi + 0x850], 0
je 0x433b55
mov eax, dword [esi + 0x824]
shr eax, 3
test al, 1
je 0x433b55
call dword [sym.imp.USER32.dll_GetClipboardOwner]
cmp eax, dword [esi + 0x694]
je 0x433b55
cmp byte [esi + 0x786], 0
je 0x433b55
lea ecx, [esi + 0x738]
push edi
mov dword [ebp - 0x10], ecx
call fcn.004562f6
push dword [esi + 0x694]
and dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x433b48
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
test edi, edi
jne 0x433ae2
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x433b48
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
lea ecx, [ebp - 0x28]
mov ebx, eax
call fcn.00428def
lea eax, [ebp - 0x28]
push 1
push eax
push ebx
mov byte [ebp - 4], 1
call fcn.0040bba5
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [ebp - 0x28]
call fcn.004296bf
mov edi, eax
mov ecx, eax
pop ebx
mov dl, byte [edi]
inc edi
cmp dl, 0xd
je 0x433b21
mov byte [ecx], dl
inc ecx
test dl, dl
jne 0x433b21
sub ecx, eax
dec ecx
push ecx
push eax
mov ecx, esi
call fcn.004324a7
and byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00428eb1
mov ecx, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
call fcn.00428393
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x437cca
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x28]
add dword [esi + 0x28], 1
test eax, eax
jne 0x437dd9
lea eax, [ebp - 0x208]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x208]
push 1
push eax
mov ecx, esi
call fcn.00437e01
lea ebx, [esi + 8]
push 8
mov dword [esi + 4], eax
pop ecx
or eax, 0xffffffff
mov edi, ebx
rep stosd dword es:[edi], eax
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x437db6
push str.235
push edi
mov ecx, esi
call fcn.00437c92
push 0x4a523c
push edi
mov ecx, esi
mov dword [ebx], eax
call fcn.00437c92
push 0x4a5238
push edi
mov ecx, esi
mov dword [esi + 0xc], eax
call fcn.00437c92
push 0x4a5234
push edi
mov ecx, esi
mov dword [esi + 0x10], eax
call fcn.00437c92
push 0x4a5230
push edi
mov ecx, esi
mov dword [esi + 0x14], eax
call fcn.00437c92
push 0x4a522c
push edi
mov ecx, esi
mov dword [esi + 0x18], eax
call fcn.00437c92
push 0x4a5228
push edi
mov ecx, esi
mov dword [esi + 0x1c], eax
call fcn.00437c92
push 0x4a5224
push edi
mov ecx, esi
mov dword [esi + 0x20], eax
call fcn.00437c92
push edi
mov dword [esi + 0x24], eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x437dd9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4a5200
push 0x4ae590
call fcn.00428716
add esp, 0xc
or eax, 0xffffffff
mov edi, ebx
push 8
pop ecx
rep stosd dword es:[edi], eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x437e01
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2bc
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
mov ecx, 0xac
xor eax, eax
lea edi, [ebp - 0x2b8]
mov dword [ebp - 0x2bc], ebx
rep stosd dword es:[edi], eax
mov al, byte [ebp + 0xc]
neg al
sbb eax, eax
and eax, 0x3ff0
add eax, 0x10
or ax, 0x101
push eax
lea eax, [ebp - 0x2bc]
push 0x2b4
push eax
push ebx
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
cmp byte [ebp + 0xc], bl
je 0x437ec9
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [ebp + 8]
push ecx
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_GetIconSize]
cmp dword [esi], ebx
mov edi, str.S:Ammyy_sources_viewerVrFm1.cpp
je 0x437e82
push 0xe8
push edi
lea ecx, [ebp - 8]
call fcn.00425667
mov ecx, eax
call fcn.00425773
cmp dword [ebp + 8], ebx
jg 0x437e9c
push 0xe9
push edi
lea ecx, [ebp - 8]
call fcn.00425667
mov ecx, eax
call fcn.00425773
cmp dword [ebp + 0xc], ebx
jg 0x437eb6
push 0xea
push edi
lea ecx, [ebp - 8]
call fcn.00425667
mov ecx, eax
call fcn.00425773
push 0xa
push ebx
push 0x21
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
mov dword [esi], eax
push dword [ebp - 0x2bc]
push 0xffffffffffffffff
push dword [esi]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push dword [ebp - 0x2bc]
mov esi, eax
call dword [sym.imp.USER32.dll_DestroyIcon]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4390ab
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4812a8
call fcn.0047bfa0
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
shl esi, 5
mov eax, dword [edi + 0xf8]
cmp dword [esi + eax + 4], 4
jne 0x439137
mov eax, dword [edi]
call dword [eax + 0x10]
test al, al
je 0x439238
lea eax, [edi + 4]
lea ecx, [ebp - 0x14]
push eax
call fcn.0042bbb2
mov edi, dword [edi + 0xf8]
xor ebx, ebx
add esi, edi
lea ecx, [ebp + 8]
push esi
mov dword [ebp - 4], ebx
call fcn.0042bbb2
push 5
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0042b08a
push eax
push ebx
lea ecx, [ebp + 8]
call fcn.0042b08a
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
and byte [ebp - 4], bl
lea ecx, [ebp + 8]
call fcn.0042bea3
lea ecx, [ebp - 0x14]
jmp 0x43922f
lea ecx, [ebp - 0x10]
call fcn.0042bba6
lea ecx, [edi + 4]
mov dword [ebp - 4], 2
call fcn.0042b08a
mov ebx, eax
cmp word [ebx], 0
je 0x43919f
cmp dword [ebp + 8], 0
jne 0x43919f
push ebx
call dword [sym.imp.MSVCRT.dll_wcslen]
sub eax, 2
pop ecx
js 0x43921d
cmp word [ebx + eax*2], 0x5c
je 0x43917c
dec eax
jns 0x43916d
jmp 0x43921d
lea esi, [eax + 1]
lea ecx, [ebp - 0x10]
push esi
push ebx
push esi
call fcn.0042c3a2
push eax
call dword [sym.imp.MSVCRT.dll_wcsncpy]
add esp, 0xc
lea ecx, [ebp - 0x10]
push esi
call fcn.0042c478
jmp 0x43921d
mov eax, dword [edi + 0xf8]
add eax, esi
mov ecx, dword [eax + 4]
cmp ecx, 4
je 0x43922c
cmp ecx, 0x10
jne 0x4391c5
lea eax, [edi + 0x108]
push eax
lea ecx, [ebp - 0x10]
call fcn.0042bfe4
jmp 0x43921d
cmp ecx, 0x11
jne 0x4391d2
lea eax, [edi + 0x10c]
jmp 0x4391ba
cmp ecx, 1
push eax
je 0x4391bb
lea eax, [edi + 4]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0042c11b
push 0x5c
push eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 3
push eax
call fcn.0042c5b8
add esp, 0x18
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.0042bfe4
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.0042bea3
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.0042bea3
mov esi, dword [edi]
lea ecx, [ebp - 0x10]
call fcn.0042b08a
push eax
mov ecx, edi
call dword [esi]
lea ecx, [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
call fcn.0042bea3
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x43d063
Capabilities:
Get file size

Disassembly:
mov eax, 0x4819c8
call fcn.0047bfa0
sub esp, 0x18
mov al, byte [0x4ae532]
push ebx
push esi
push edi
mov esi, ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.0041c690
xor ebx, ebx
mov dword [ebp - 4], ebx
jmp 0x43d1aa
mov eax, dword [esi + 0x188]
add eax, 0xc0
push eax
mov eax, dword [esi + 0xf0]
add eax, 0x1a4
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0042c11b
add esp, 0xc
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0042b08a
push eax
call fcn.0044b860
mov edi, eax
pop ecx
cmp edi, ebx
je 0x43d0de
lea ecx, [ebp - 0x10]
call fcn.0042b08a
push eax
push edi
push str.Error__d_while_create_local_folder__d
jmp 0x43d170
mov eax, dword [esi + 0x188]
add eax, 0xc0
push eax
call fcn.0044baca
test al, al
pop ecx
jne 0x43d19f
cmp dword [esi + 0x160], 0xffffffff
je 0x43d11a
push 0x102
push str.S:Ammyy_sources_viewerVrFmBlockR.cpp
lea ecx, [ebp - 0x24]
call fcn.00425667
mov ecx, eax
call fcn.00425773
push ebx
push 0x20
push 4
push ebx
push 1
push 0xc0000000
lea ecx, [ebp - 0x10]
call fcn.0042b08a
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [esi + 0x160], eax
jne 0x43d152
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error__d_while_opening_local_file__s
jmp 0x43d170
lea ecx, [ebp - 0x1c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x43d17b
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error__d_GetFileSizeEx___for_local_file__s
push esi
call fcn.004397cc
add esp, 0x10
jmp 0x43d19f
cmp dword [ebp - 0x18], ebx
jl 0x43d18b
jg 0x43d187
cmp dword [ebp - 0x1c], ebx
jbe 0x43d18b
mov al, 1
jmp 0x43d18d
xor al, al
push eax
mov ecx, esi
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call fcn.0043d1ec
test al, al
jne 0x43d1c6
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.0042bea3
mov ecx, esi
call fcn.0043c707
mov ecx, dword [esi + 0x188]
call fcn.00438a9a
test al, al
je 0x43d08d
jmp 0x43d1d1
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.0042bea3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0041c6ad
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret