joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42e8b0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5195f5
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x559410]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x28]
mov esi, dword [ebp + 0xc]
xor eax, eax
push eax
push 0x524a84
mov dword [ebp - 0x280], edi
mov dword [ebp - 0x284], 0
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.004197f0
cmp dword [esi + 0x14], 8
mov dword [ebp - 4], 0
jb 0x42e927
mov eax, dword [esi]
jmp 0x42e929
mov eax, esi
lea ecx, [ebp - 0x278]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x42e9fe
cmp dword [esi + 0x14], 8
jb 0x42e948
mov esi, dword [esi]
push 0
push 0x80
push 3
push 0
push 7
push SysReAllocStringLen
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x42e9fe
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
je 0x42e9f1
push 0
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push edi
call fcn.004552ce
add esp, 4
mov esi, eax
lea eax, [ebp - 0x288]
push 0
push eax
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42e9e8
mov ax, word [esi]
mov word [ebp - 0x27c], ax
cmp al, 0xff
jne 0x42e9dc
mov eax, dword [ebp - 0x27c]
shr eax, 8
cmp al, 0xfe
jne 0x42e9dc
lea eax, [edi - 2]
add esi, 2
shr eax, 1
lea ecx, [ebp - 0x28]
push eax
push esi
call fcn.004197f0
sub esi, 2
jmp 0x42e9e8
shr edi, 1
lea ecx, [ebp - 0x28]
push edi
push esi
call fcn.004197f0
push esi
call fcn.00455296
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0x280]
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.0041b700
cmp dword [ebp - 0x14], 8
jb 0x42ea1a
push dword [ebp - 0x28]
call fcn.00406890
add esp, 4
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 - 0x10]
xor ecx, ebp
call fcn.00453c72
mov esp, ebp
pop ebp
ret
Function at 0x42ea40
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x519628
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x559410]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x26c], eax
mov eax, dword [ebp + 0x10]
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x268], eax
jb 0x42ea8d
mov eax, dword [esi]
jmp 0x42ea8f
mov eax, esi
lea ecx, [ebp - 0x260]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x42eb81
cmp dword [esi + 0x14], 8
jb 0x42eaae
mov esi, dword [esi]
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x42eb81
push 0xc
call fcn.004531b9
mov esi, eax
add esp, 4
test esi, esi
je 0x42eaf5
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0x525820
mov dword [esi + 4], eax
mov dword [esi + 8], edi
jmp 0x42eaf7
xor esi, esi
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x42eb6e
push 0
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
call fcn.004552ce
mov ecx, dword [ebp - 0x26c]
add esp, 4
mov dword [ecx], eax
test eax, eax
jne 0x42eb2d
xor bl, bl
jmp 0x42eb57
push 0
lea ecx, [ebp - 0x264]
mov dword [ebp - 0x264], 0
push ecx
push ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42eb6e
mov eax, dword [ebp - 0x268]
mov dword [eax], ebx
mov bl, 1
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x42eb6a
mov edx, dword [esi]
mov ecx, esi
push 1
call dword [edx]
mov al, bl
jmp 0x42eb83
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x42eb81
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00453c72
mov esp, ebp
pop ebp
ret
Function at 0x42eba0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x42ec4f
cmp dword [ebp + 0x10], 0
je 0x42ec4f
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x42ebc4
mov eax, dword [eax]
push edi
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x42ec49
push esi
push 0xc
call fcn.004531b9
mov esi, eax
add esp, 4
test esi, esi
je 0x42ec09
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0x525820
mov dword [esi + 4], eax
mov dword [esi + 8], edi
jmp 0x42ec0b
xor esi, esi
push 0
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0
push eax
push dword [ebp + 0x10]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
sete bl
test esi, esi
je 0x42ec42
mov edx, dword [esi]
mov ecx, esi
push 1
call dword [edx]
pop esi
pop edi
mov al, bl
pop ebx
pop ebp
ret
pop edi
xor al, al
pop ebx
pop ebp
ret
xor al, al
pop ebx
pop ebp
ret

Function at 0x42ece0
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
mov eax, dword [0x559410]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
cmp dword [esi + 0x14], 8
jb 0x42ed06
mov eax, dword [esi]
jmp 0x42ed08
mov eax, esi
lea ecx, [ebp - 0x254]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x42ed2e
cmp dword [esi + 0x14], 8
jb 0x42ed25
mov eax, dword [esi]
jmp 0x42ed27
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esi + 0x14], 8
jb 0x42ed36
mov esi, dword [esi]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
test edi, edi
je 0x42edb5
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
push 0
push 0
push edi
mov word [ebp - 0x258], 0xfeff
call esi
push 0
lea eax, [ebp - 0x25c]
push eax
push 2
lea eax, [ebp - 0x258]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
push 0
push 2
push edi
call esi
cmp dword [ebx + 0x14], 8
mov eax, dword [ebx + 0x10]
jb 0x42ed9a
mov ebx, dword [ebx]
push 0
lea ecx, [ebp - 0x25c]
add eax, eax
push ecx
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00453c72
mov esp, ebp
pop ebp
ret
Function at 0x42f730
Capabilities:
Enumerate processes
Get session information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51976c
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x559410]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x258], eax
call fcn.0042f6d0
mov ebx, eax
mov dword [ebp - 0x260], 0
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x258]
push eax
push 4
push 0xffffffffffffffff
push 0
call sub.WTSAPI32.dll_WTSQuerySessionInformationW
test eax, eax
je 0x42f7b7
mov eax, dword [ebp - 0x258]
push eax
mov ebx, dword [eax]
call sub.WTSAPI32.dll_WTSFreeMemory
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x42f8b3
push 0x208
lea eax, [ebp - 0x230]
mov dword [ebp - 0x254], 0x22c
push 0
push eax
call fcn.00455160
add esp, 0xc
lea eax, [ebp - 0x254]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x42f8b3
lea eax, [ebp - 0x230]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42f810
sub eax, edx
lea ecx, [ebp - 0x28]
sar eax, 1
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.004197f0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push str.explorer.exe
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x42f89e
lea eax, [ebp - 0x25c]
push eax
push dword [ebp - 0x24c]
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x42f89e
cmp dword [ebp - 0x25c], ebx
jne 0x42f89e
push dword [ebp - 0x24c]
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x42f89e
lea eax, [ebp - 0x264]
push eax
push dword [ebp + 8]
push esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
push esi
test eax, eax
jne 0x42f8e4
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x254]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x42f800
xor ebx, ebx
cmp dword [ebp - 0x14], 8
jb 0x42f8c6
push dword [ebp - 0x28]
call fcn.00406890
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00453c72
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 0x264]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x42f8b5
Function at 0x42fe30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51983c
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x559410]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push 8
mov dword [ebp - 0x164], 0
call fcn.0042f730
add esp, 4
mov edi, eax
push 0
push 0x5238f8
test edi, edi
jne 0x42fe9a
mov dword [esi + 0x14], 0xf
mov ecx, esi
mov dword [esi + 0x10], eax
mov byte [esi], al
call fcn.00405b80
jmp 0x42fff6
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0x118], 0xf
mov dword [ebp - 0x11c], 0
mov byte [ebp - 0x12c], 0
call fcn.00405b80
push 0x103
lea eax, [ebp - 0x113]
mov dword [ebp - 4], 0
push 0
push eax
mov byte [ebp - 0x114], 0
call fcn.00455160
add esp, 0xc
mov dword [ebp - 0x160], 0x104
lea eax, [ebp - 0x160]
push eax
lea eax, [ebp - 0x114]
push eax
push edi
call dword [sym.imp.USERENV.dll_GetUserProfileDirectoryA]
test eax, eax
je 0x42ffca
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x15c]
call fcn.00405c80
lea eax, [ebp - 0x15c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x144]
push eax
call fcn.00429860
mov ebx, eax
add esp, 8
lea eax, [ebp - 0x12c]
cmp eax, ebx
je 0x42ff81
cmp dword [ebp - 0x118], 0x10
jb 0x42ff5a
push dword [ebp - 0x12c]
call fcn.00406890
add esp, 4
push ebx
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0x118], 0xf
mov dword [ebp - 0x11c], 0
mov byte [ebp - 0x12c], 0
call fcn.00405cd0
cmp dword [ebp - 0x130], 0x10
jb 0x42ff98
push dword [ebp - 0x144]
call fcn.00406890
add esp, 4
cmp dword [ebp - 0x148], 0x10
mov dword [ebp - 0x130], 0xf
mov dword [ebp - 0x134], 0
mov byte [ebp - 0x144], 0
jb 0x42ffca
push dword [ebp - 0x15c]
call fcn.00406890
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x12c]
mov ecx, esi
push eax
call fcn.00405d30
cmp dword [ebp - 0x118], 0x10
jb 0x42fff6
push dword [ebp - 0x12c]
call fcn.00406890
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00453c72
mov esp, ebp
pop ebp
ret
Function at 0x430020
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51987a
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x559410]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push 8
mov dword [ebp - 0x268], 0
call fcn.0042f730
mov edi, eax
add esp, 4
test edi, edi
jne 0x43007c
push 0x524a84
mov ecx, esi
call fcn.00419370
jmp 0x4301e5
xor eax, eax
mov dword [ebp - 0x21c], 7
push eax
push 0x524a84
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
call fcn.004197f0
xor eax, eax
mov dword [ebp - 4], 0
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.00455160
add esp, 0xc
mov dword [ebp - 0x264], 0x104
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x218]
push eax
push edi
call dword [sym.imp.USERENV.dll_GetUserProfileDirectoryW]
test eax, eax
je 0x4301b9
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x260]
call fcn.00419370
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.00429940
mov ebx, eax
add esp, 8
lea eax, [ebp - 0x230]
cmp eax, ebx
je 0x43016e
cmp dword [ebp - 0x21c], 8
jb 0x430145
push dword [ebp - 0x230]
call fcn.00406890
add esp, 4
xor eax, eax
mov dword [ebp - 0x21c], 7
push ebx
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
call fcn.0041b9d0
cmp dword [ebp - 0x234], 8
jb 0x430185
push dword [ebp - 0x248]
call fcn.00406890
add esp, 4
xor eax, eax
mov dword [ebp - 0x234], 7
cmp dword [ebp - 0x24c], 8
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
jb 0x4301b9
push dword [ebp - 0x260]
call fcn.00406890
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x230]
mov ecx, esi
push eax
call fcn.0041b700
cmp dword [ebp - 0x21c], 8
jb 0x4301e5
push dword [ebp - 0x230]
call fcn.00406890
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00453c72
mov esp, ebp
pop ebp
ret
Function at 0x430d00
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x519a8e
mov eax, dword fs:[0]
push eax
sub esp, 0x3e4
mov eax, dword [0x559410]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x39c], eax
cmp dword [esi + 0x14], 0x10
jb 0x430d43
mov eax, dword [esi]
jmp 0x430d45
mov eax, esi
lea ecx, [ebp - 0x398]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x430d5f
xor eax, eax
jmp 0x430efa
cmp byte [ebp + 0x10], 0
mov eax, 0x8000020
mov edi, 0x20
cmovne edi, eax
lea eax, [ebp - 0x3f0]
push 0x44
push 0
push eax
or edi, 0x400
call fcn.00455160
push esi
lea eax, [ebp - 0x258]
mov dword [ebp - 0x3f0], 0x44
xorps xmm0, xmm0
mov dword [ebp - 0x3ec], 0
push 0x53d2bc
push eax
mov dword [ebp - 0x3e8], 0x525724
mov dword [ebp - 0x3c4], 0
movdqu xmmword [ebp - 0x3ac], xmm0
call fcn.004057b0
push 0x525734
push eax
lea eax, [ebp - 0x240]
mov dword [ebp - 4], 0
push eax
call fcn.00405fc0
push dword [ebp - 0x39c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x228]
push eax
call fcn.004088f0
add esp, 0x30
cmp dword [ebp - 0x22c], 0x10
jb 0x430e15
push dword [ebp - 0x240]
call fcn.00406890
add esp, 4
cmp dword [ebp - 0x244], 0x10
mov dword [ebp - 0x22c], 0xf
mov dword [ebp - 0x230], 0
mov byte [ebp - 0x240], 0
jb 0x430e47
push dword [ebp - 0x258]
call fcn.00406890
add esp, 4
push 0x1ff
lea eax, [ebp - 0x20f]
mov byte [ebp - 0x210], 0
push 0
push eax
call fcn.00455160
cmp dword [ebp - 0x214], 0x10
lea eax, [ebp - 0x228]
push dword [ebp - 0x218]
cmovae eax, dword [ebp - 0x228]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.004540d0
add esp, 0x18
cmp dword [esi + 0x14], 0x10
jb 0x430e93
mov esi, dword [esi]
lea eax, [ebp - 0x3ac]
push eax
lea eax, [ebp - 0x3f0]
push eax
push 0
push 0
push edi
push 0
push 0
push 0
lea eax, [ebp - 0x210]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov esi, eax
test esi, esi
je 0x430ee1
cmp byte [ebp + 0x14], 0
je 0x430ed5
push dword [ebp + 0x18]
push dword [ebp - 0x3ac]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x3ac]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x214], 0x10
jb 0x430ef8
push dword [ebp - 0x228]
call fcn.00406890
add esp, 4
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.00453c72
mov esp, ebp
pop ebp
ret
Function at 0x432af0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
push ebx
push edi
push eax
push dword [ebp + 8]
xor ebx, ebx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
je 0x432b79
push esi
push edi
call fcn.004552ce
add esp, 4
mov esi, eax
push esi
push edi
push dword [ebp - 4]
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x432b6f
lea eax, [ebp - 4]
mov dword [ebp - 8], ebx
push eax
lea eax, [ebp - 8]
push eax
push 0x5250f4
push esi
call sub.VERSION.dll_VerQueryValueA
mov edx, dword [ebp - 8]
test edx, edx
je 0x432b6f
movzx ecx, word [edx + 0xa]
mov ebx, 1
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
mov eax, dword [ebp + 0x10]
movzx ecx, word [edx + 8]
mov dword [eax], ecx
mov eax, dword [ebp + 0x14]
movzx ecx, word [edx + 0xe]
mov dword [eax], ecx
mov eax, dword [ebp + 0x18]
movzx ecx, word [edx + 0xc]
mov dword [eax], ecx
push esi
call fcn.00455296
add esp, 4
pop esi
pop edi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4338c0
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x559410]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x11c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je case.default.0x433a43
lea eax, [ebp - 0x144]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x11c]
lea ecx, [eax - 4]
cmp ecx, 6
ja case.0x433911.7
jmp dword [ecx*4 + 0x433af8]
mov eax, dword [ebp - 0x118]
test eax, eax
je 0x433956
cmp eax, 0xa
je 0x433943
cmp eax, 0x5a
jne case.default.0x433a43
mov eax, 6
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00453c72
mov esp, ebp
pop ebp
ret
mov eax, 5
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00453c72
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x110]
cmp eax, 2
jne 0x433974
mov eax, 3
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00453c72
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne case.default.0x433a43
mov eax, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00453c72
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x118]
sub eax, 0
je 0x433a21
dec eax
je 0x433a0e
dec eax
jne case.default.0x433a43
cmp byte [ebp - 6], 1
jne 0x4339cc
cmp word [ebp - 0x144], 9
jne 0x4339cc
mov eax, 9
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00453c72
mov esp, ebp
pop ebp
ret
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jne 0x4339eb
mov eax, 0xa
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00453c72
mov esp, ebp
pop ebp
ret
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je case.default.0x433a43
mov eax, 0xb
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00453c72
mov esp, ebp
pop ebp
ret
mov eax, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00453c72
mov esp, ebp
pop ebp
ret
mov eax, 7
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00453c72
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x118]
cmp eax, 3
ja case.default.0x433a43
jmp dword [eax*4 + 0x433b14]
xor eax, eax
cmp byte [ebp - 6], 1
setne al
add eax, 0xc
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00453c72
mov esp, ebp
pop ebp
ret
xor eax, eax
cmp byte [ebp - 6], 1
setne al
add eax, 0xe
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00453c72
mov esp, ebp
pop ebp
ret
mov eax, 0x10
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00453c72
mov esp, ebp
pop ebp
ret
mov eax, 0x11
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00453c72
mov esp, ebp
pop ebp
ret
xor eax, eax
cmp dword [ebp - 0x118], eax
setne al
add eax, 0x12
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00453c72
mov esp, ebp
pop ebp
ret
cmp eax, 3
jae 0x433ad8
mov eax, 2
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00453c72
mov esp, ebp
pop ebp
ret
cmp eax, 6
mov eax, 0x13
ja 0x433ae7
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00453c72
mov esp, ebp
pop ebp
ret
Function at 0x433b30
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x559410]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push eax
xor edi, edi
push edi
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
xor eax, eax
test esi, esi
je 0x433c01
push 0x208
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.00455160
add esp, 0xc
mov dword [ebp - 0x218], edi
lea eax, [ebp - 0x218]
push eax
push 4
lea eax, [ebp - 0x214]
push eax
push esi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x433bf8
push 0x104
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x214]
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
je 0x433bf8
cmp word [ebp - 0x210], di
jne 0x433bcc
xor ecx, ecx
jmp 0x433be4
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x433bd5
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x210]
mov ecx, ebx
push eax
call fcn.004197f0
mov edi, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00453c72
mov esp, ebp
pop ebp
ret

Function at 0x433c20
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x433c7a
push edi
push dword [ebp + 0x10]
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call fcn.004540d0
mov eax, dword [ebp + 8]
add esp, 0xc
movzx eax, ax
push edi
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop ebp
jmp dword [sym.imp.USER32.dll_CloseClipboard]
pop ebp
ret