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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
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 0x42b5c0
mov al, 1
leave
ret 8
cmp eax, 2
jne 0x42b5c9
xor al, al
jmp 0x42b5bc
push eax
lea eax, [ebp - 0x10]
push str.RegQueryValueExA___error_u
push eax
call fcn.0042a481
add esp, 0xc
lea eax, [ebp - 0x10]
push 0x4924b4
push eax
call sub.MSVCRT.dll__CxxThrowException

Function at 0x42b5e9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
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.0042dd18
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 0x42b62d
push dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
call fcn.0042ddee
mov al, 1
leave
ret 8
cmp eax, 2
jne 0x42b643
mov ecx, dword [ebp + 0xc]
push 0x4b3190
call fcn.0042d9f5
xor al, al
jmp 0x42b629
push eax
lea eax, [ebp - 0x10]
push str.RegQueryValueExA___error_u
push eax
call fcn.0042a481
add esp, 0xc
lea eax, [ebp - 0x10]
push 0x4924b4
push eax
call sub.MSVCRT.dll__CxxThrowException

Function at 0x42b663
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
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 0x42b68d
xor al, al
leave
ret 4
test eax, eax
jne 0x42b695
mov al, 1
jmp 0x42b689
push eax
lea eax, [ebp - 0x10]
push str.IsExistW___error_u
push eax
call fcn.0042a481
add esp, 0xc
lea eax, [ebp - 0x10]
push 0x4924b4
push eax
call sub.MSVCRT.dll__CxxThrowException
Function at 0x42b6b5
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
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 0x42b6e7
xor al, al
pop edi
pop esi
pop ebx
leave
ret 8
cmp eax, esi
jne 0x42b748
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 0x42b748
cmp dword [ebp - 4], 0xf4240
jb 0x42b736
push 0x78
push str.S:Ammyy_sourcesRLRLRegistry.cpp
lea ecx, [ebp - 0xc]
call fcn.004282fa
mov ecx, eax
call fcn.00428406
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 0x42b6e0
push eax
lea eax, [ebp - 0x10]
push str.RegQueryValueExW___error_u
push eax
call fcn.0042a481
add esp, 0xc
lea eax, [ebp - 0x10]
push 0x4924b4
push eax
call sub.MSVCRT.dll__CxxThrowException

Function at 0x42b768
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
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 0x42b7b1
push eax
lea eax, [ebp - 0xc]
push str.RegSetValueExW_REG_BINARY__error_u
push eax
call fcn.0042a481
add esp, 0xc
lea eax, [ebp - 0xc]
push 0x4924b4
push eax
call sub.MSVCRT.dll__CxxThrowException
leave
ret 8

Function at 0x42b7b5
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, ecx
mov ecx, dword [ebp + 0xc]
call fcn.0042dfef
mov ecx, dword [ebp + 0xc]
push eax
call fcn.0042f61b
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 0x42b804
push eax
lea eax, [ebp - 0xc]
push str.RegSetValueExA___error_u
push eax
call fcn.0042a481
add esp, 0xc
lea eax, [ebp - 0xc]
push 0x4924b4
push eax
call sub.MSVCRT.dll__CxxThrowException
leave
ret 8

Function at 0x42b808
Capabilities:
Delete registry key

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
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 0x42b8c1
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0xc]
push str.FindResourceEx___error_d_lpName0x_X
push eax
call fcn.0042a481
add esp, 0x10
lea eax, [ebp - 0xc]
push 0x4924b4
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 0x42b8f7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0xc]
push str.SizeofResource___error_d
push eax
call fcn.0042a481
add esp, 0xc
lea eax, [ebp - 0xc]
push 0x4924b4
push eax
call sub.MSVCRT.dll__CxxThrowException
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x42b92b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0xc]
push str.LoadResource___error_d
push eax
call fcn.0042a481
add esp, 0xc
lea eax, [ebp - 0xc]
push 0x4924b4
push eax
call sub.MSVCRT.dll__CxxThrowException
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
jne 0x42b95c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0xc]
push str.LockResource___error_d
push eax
call fcn.0042a481
add esp, 0xc
lea eax, [ebp - 0xc]
push 0x4924b4
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 0x42cfd1
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x482ad3
call fcn.0047e070
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.0042d52f
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 0x42d027
inc ebx
lea ecx, [ebp - 0x10]
push ebx
call fcn.0042dd18
push eax
push ebx
push 0xd
push dword [edi + 4]
call esi
push eax
lea ecx, [ebp - 0x10]
call fcn.0042ddee
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.0042d53b
mov dword [ebp - 0x14], 1
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0042d82b
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 0x42d05a
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x482aff
call fcn.0047e070
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.0042eba0
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 0x42d0b1
inc edi
lea ecx, [ebp - 0x10]
push edi
call fcn.0042f3a1
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.0042f477
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.0042ebac
mov dword [ebp - 0x14], ebx
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0042eea2
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 0x43000d
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x482d50
call fcn.0047e070
push ecx
push ebx
push esi
xor ebx, ebx
mov esi, ecx
push ebx
mov dword [ebp - 0x10], esi
call fcn.0042d13e
lea ecx, [esi + 0x28]
mov dword [ebp - 4], ebx
call fcn.0042d52f
push 0xf
mov dword [esi], 0x48e778
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 0x430d8e
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov esi, ecx
call fcn.00430e5a
mov ecx, esi
call fcn.004314f4
mov ecx, dword [esi + 0xba4]
mov edi, dword [esi + 0xba0]
mov eax, ecx
xor ebx, ebx
imul eax, eax, 0x190
cdq
idiv edi
push ebx
mov byte [esi + 0xca0], 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.00432656
push ebx
push 1
mov ecx, esi
call fcn.00437459
push 0x4a9acc
mov ecx, esi
call fcn.00430d3a
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 4], esp
push 0x4b3190
call fcn.0042ef62
mov ecx, esi
call fcn.00436309
push ebx
push ebx
push esi
push 0x43556f
push ebx
push ebx
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
cmp eax, ebx
mov dword [esi + 0xe4c], eax
jne 0x430e55
call dword [sym.imp.MSVCRT.dll__errno]
push dword [eax]
lea eax, [ebp - 0x10]
push str.Failed__beginthreadex____errno___d_
push eax
call fcn.0042a481
add esp, 0xc
lea eax, [ebp - 0x10]
push 0x4924b4
push eax
call sub.MSVCRT.dll__CxxThrowException
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4363a7
Capabilities:
Create process on windows
Create process suspended

Disassembly:
mov eax, 0x48357c
call fcn.0047e070
sub esp, 0x74
push ebx
push esi
lea eax, [ebp - 0x10]
push edi
push eax
mov esi, ecx
call fcn.0041b558
lea eax, [ebp - 0x10]
xor ebx, ebx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
mov dword [ebp - 4], ebx
call fcn.0042ebac
call fcn.0040b62b
cmp al, bl
pop ecx
je 0x43642d
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push 0x4a866c
push eax
call fcn.0042f1f1
push 0x4aa438
push eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 1
push eax
call fcn.0042f186
add esp, 0x18
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.0042efe3
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0042eea2
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.0042eea2
jmp 0x43643a
push 0x4b3190
lea ecx, [ebp - 0x10]
call fcn.0042f096
lea ecx, [ebp - 0x14]
call fcn.0042eba0
movzx eax, word [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.0042f61b
push eax
lea eax, [ebp - 0x14]
push str.mstsc.exe__s_v:127.0.0.1:_u
push eax
call fcn.0042fef9
add esp, 0x10
xor eax, eax
lea edi, [ebp - 0x7c]
push 0x10
pop ecx
rep stosd dword es:[edi], eax
inc eax
lea ecx, [ebp - 0x20]
push eax
mov dword [ebp - 0x80], 0x44
mov dword [ebp - 0x54], eax
mov word [ebp - 0x50], 5
call fcn.0040c66f
lea eax, [ebp - 0x3c]
lea ecx, [ebp - 0x14]
push eax
lea eax, [ebp - 0x80]
push eax
push ebx
push ebx
push 0x20
push ebx
push ebx
push ebx
push ebx
mov byte [ebp - 4], 4
call fcn.0042f3a1
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4364d7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x2c]
push str.ERROR:_Failed_to_run_RDP_client__error_d
push eax
call fcn.0042a481
add esp, 0xc
lea eax, [ebp - 0x2c]
push 0x4924b4
push eax
call sub.MSVCRT.dll__CxxThrowException
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.0040c6af
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x14]
mov dword [esi], eax
mov eax, dword [ebp - 0x3c]
mov dword [esi + 4], eax
mov byte [ebp - 4], bl
call fcn.0042eea2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0042eea2
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x436734
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov eax, 0x4835b4
call fcn.0047e070
sub esp, 0x1c
push esi
mov esi, ecx
cmp byte [esi + 0xf1c], 0
je 0x43683a
cmp byte [esi + 0xc64], 0
je 0x43683a
mov eax, dword [esi + 0xc38]
shr eax, 3
test al, 1
je 0x43683a
call dword [sym.imp.USER32.dll_GetClipboardOwner]
cmp eax, dword [esi + 0x6a4]
je 0x43683a
cmp byte [esi + 0xb9a], 0
je 0x43683a
lea ecx, [esi + 0xb50]
push edi
mov dword [ebp - 0x10], ecx
call fcn.004583ee
push dword [esi + 0x6a4]
and dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x43682d
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
test edi, edi
jne 0x4367c7
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x43682d
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
lea ecx, [ebp - 0x28]
mov ebx, eax
call fcn.0042bb84
lea eax, [ebp - 0x28]
push 1
push eax
push ebx
mov byte [ebp - 4], 1
call fcn.0040c2d7
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.0042c48e
mov edi, eax
mov ecx, eax
pop ebx
mov dl, byte [edi]
inc edi
cmp dl, 0xd
je 0x436806
mov byte [ecx], dl
inc ecx
test dl, dl
jne 0x436806
sub ecx, eax
dec ecx
push ecx
push eax
mov ecx, esi
call fcn.00435178
and byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0042bc46
mov ecx, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
call fcn.0042b131
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x43767c
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x4836d7
call fcn.0047e070
push ecx
push ebx
push esi
push edi
xor edi, edi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.0042cd68
mov dword [esi], 0x486c04
lea ecx, [esi + 0x14]
mov dword [ebp - 4], edi
call fcn.0042d52f
push edi
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 1
call fcn.0042cd68
push edi
lea ecx, [esi + 0x40]
mov byte [ebp - 4], 2
call fcn.0042cd68
lea ebx, [esi + 0x4c]
push edi
mov ecx, ebx
mov byte [ebp - 4], 3
call fcn.0042cd68
mov dword [ebx], 0x486c30
push edi
lea ecx, [esi + 0x58]
mov byte [ebp - 4], 4
call fcn.0042cd68
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 5
mov dword [esi], 0x48e7c8
mov dword [esi + 0xc], 0x9f
mov dword [esi + 0x30], edi
mov dword [esi + 0x64], edi
call fcn.00454c09
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x43ab3a
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 0x43ac49
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.0043ac71
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 0x43ac26
push str.235
push edi
mov ecx, esi
call fcn.0043ab02
push 0x4aa8e0
push edi
mov ecx, esi
mov dword [ebx], eax
call fcn.0043ab02
push 0x4aa8dc
push edi
mov ecx, esi
mov dword [esi + 0xc], eax
call fcn.0043ab02
push 0x4aa8d8
push edi
mov ecx, esi
mov dword [esi + 0x10], eax
call fcn.0043ab02
push 0x4aa8d4
push edi
mov ecx, esi
mov dword [esi + 0x14], eax
call fcn.0043ab02
push 0x4aa8d0
push edi
mov ecx, esi
mov dword [esi + 0x18], eax
call fcn.0043ab02
push 0x4aa8cc
push edi
mov ecx, esi
mov dword [esi + 0x1c], eax
call fcn.0043ab02
push 0x4aa8c8
push edi
mov ecx, esi
mov dword [esi + 0x20], eax
call fcn.0043ab02
push edi
mov dword [esi + 0x24], eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x43ac49
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4aa8a4
push 0x4b39b0
call fcn.0042b4a1
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 0x43ac71
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 0x43ad39
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 0x43acf2
push 0xe8
push edi
lea ecx, [ebp - 8]
call fcn.004282fa
mov ecx, eax
call fcn.00428406
cmp dword [ebp + 8], ebx
jg 0x43ad0c
push 0xe9
push edi
lea ecx, [ebp - 8]
call fcn.004282fa
mov ecx, eax
call fcn.00428406
cmp dword [ebp + 0xc], ebx
jg 0x43ad26
push 0xea
push edi
lea ecx, [ebp - 8]
call fcn.004282fa
mov ecx, eax
call fcn.00428406
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 0x43bf07
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x483bb4
call fcn.0047e070
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 0x43bf93
mov eax, dword [edi]
call dword [eax + 0x10]
test al, al
je 0x43c094
lea eax, [edi + 4]
lea ecx, [ebp - 0x14]
push eax
call fcn.0042ebac
mov edi, dword [edi + 0xf8]
xor ebx, ebx
add esi, edi
lea ecx, [ebp + 8]
push esi
mov dword [ebp - 4], ebx
call fcn.0042ebac
push 5
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0042f61b
push eax
push ebx
lea ecx, [ebp + 8]
call fcn.0042f61b
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.0042eea2
lea ecx, [ebp - 0x14]
jmp 0x43c08b
lea ecx, [ebp - 0x10]
call fcn.0042eba0
lea ecx, [edi + 4]
mov dword [ebp - 4], 2
call fcn.0042f61b
mov ebx, eax
cmp word [ebx], 0
je 0x43bffb
cmp dword [ebp + 8], 0
jne 0x43bffb
push ebx
call dword [sym.imp.MSVCRT.dll_wcslen]
sub eax, 2
pop ecx
js 0x43c079
cmp word [ebx + eax*2], 0x5c
je 0x43bfd8
dec eax
jns 0x43bfc9
jmp 0x43c079
lea esi, [eax + 1]
lea ecx, [ebp - 0x10]
push esi
push ebx
push esi
call fcn.0042f3a1
push eax
call dword [sym.imp.MSVCRT.dll_wcsncpy]
add esp, 0xc
lea ecx, [ebp - 0x10]
push esi
call fcn.0042f477
jmp 0x43c079
mov eax, dword [edi + 0xf8]
add eax, esi
mov ecx, dword [eax + 4]
cmp ecx, 4
je 0x43c088
cmp ecx, 0x10
jne 0x43c021
lea eax, [edi + 0x108]
push eax
lea ecx, [ebp - 0x10]
call fcn.0042efe3
jmp 0x43c079
cmp ecx, 0x11
jne 0x43c02e
lea eax, [edi + 0x10c]
jmp 0x43c016
cmp ecx, 1
push eax
je 0x43c017
lea eax, [edi + 4]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0042f11a
push 0x5c
push eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 3
push eax
call fcn.0042f5b7
add esp, 0x18
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.0042efe3
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.0042eea2
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.0042eea2
mov esi, dword [edi]
lea ecx, [ebp - 0x10]
call fcn.0042f61b
push eax
mov ecx, edi
call dword [esi]
lea ecx, [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
call fcn.0042eea2
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x43feb5
Capabilities:
Get file size

Disassembly:
mov eax, 0x4842d4
call fcn.0047e070
sub esp, 0x18
mov al, byte [0x4b393e]
push ebx
push esi
push edi
mov esi, ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.0041d8c3
xor ebx, ebx
mov dword [ebp - 4], ebx
jmp 0x43fffc
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.0042f11a
add esp, 0xc
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0042f61b
push eax
call fcn.0044ee5c
mov edi, eax
pop ecx
cmp edi, ebx
je 0x43ff30
lea ecx, [ebp - 0x10]
call fcn.0042f61b
push eax
push edi
push str.Error__d_while_create_local_folder__d
jmp 0x43ffc2
mov eax, dword [esi + 0x188]
add eax, 0xc0
push eax
call fcn.0044f0c6
test al, al
pop ecx
jne 0x43fff1
cmp dword [esi + 0x160], 0xffffffff
je 0x43ff6c
push 0x102
push str.S:Ammyy_sources_viewerVrFmBlockR.cpp
lea ecx, [ebp - 0x24]
call fcn.004282fa
mov ecx, eax
call fcn.00428406
push ebx
push 0x20
push 4
push ebx
push 1
push 0xc0000000
lea ecx, [ebp - 0x10]
call fcn.0042f61b
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [esi + 0x160], eax
jne 0x43ffa4
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error__d_while_opening_local_file__s
jmp 0x43ffc2
lea ecx, [ebp - 0x1c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x43ffcd
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.0043c628
add esp, 0x10
jmp 0x43fff1
cmp dword [ebp - 0x18], ebx
jl 0x43ffdd
jg 0x43ffd9
cmp dword [ebp - 0x1c], ebx
jbe 0x43ffdd
mov al, 1
jmp 0x43ffdf
xor al, al
push eax
mov ecx, esi
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call fcn.0044003e
test al, al
jne 0x440018
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.0042eea2
mov ecx, esi
call fcn.0043f559
mov ecx, dword [esi + 0x188]
call fcn.0043b8f3
test al, al
je 0x43fedf
jmp 0x440023
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.0042eea2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0041d8e0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret