joyce8/EMBER2024-capa huggingface dataset:
Function at 0x428c09
Capabilities:
Create thread

Disassembly:
push 0x18
call fcn.00443835
pop ecx
xor ecx, ecx
cmp eax, ecx
jne 0x428c1a
xor eax, eax
ret
mov edx, dword [esp + 4]
push ecx
push ecx
push eax
mov dword [eax], edx
mov dword [eax + 0x10], ecx
mov edx, dword [esp + 0x14]
push 0x47209c
mov dword [eax + 8], edx
mov edx, dword [esp + 0x1c]
push ecx
push ecx
mov dword [eax + 0xc], edx
call fcn.0048d27c
add esp, 0x18
ret

Function at 0x428d7b
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov eax, 0x4d1f29
call fcn.004ce9f0
push ecx
and dword [ebp - 4], 0
and dword [ebp - 0x10], 0
push esi
mov esi, dword [ebp + 8]
mov ecx, 0x5096c0
call fcn.00420a91
and dword [ebp - 4], 0
xor esi, esi
inc esi
push esi
mov dword [ebp - 0x10], esi
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x428deb
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x428deb
push esi
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x428de5
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x428de5
push eax
push dword [ebp + 8]
call fcn.004226fe
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x428ebc
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
and dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
jne 0x428ed5
mov eax, dword [ebp - 4]
jmp 0x428faf
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
shr ecx, 3
xor eax, 0xffffffff
test ecx, ecx
je 0x428f8a
push ebp
mov ebp, ecx
xor edx, edx
xor ecx, ecx
nop
mov ebx, dword [esi]
add esi, 4
mov dl, bl
mov cl, bh
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4e4e50]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x4e4e50]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4e4e50]
mov cl, bh
xor eax, edi
mov ebx, dword [esi]
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x4e4e50]
add esi, 4
xor eax, edi
mov dl, bl
mov cl, bh
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4e4e50]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x4e4e50]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4e4e50]
mov cl, bh
xor eax, edi
xor cl, al
shr eax, 8
xor eax, dword [ecx*4 + 0x4e4e50]
dec ebp
jne 0x428ef4
pop ebp
mov ecx, dword [ebp + 0x10]
xor edx, edx
and ecx, 7
je 0x428fa6
mov dl, byte [esi]
inc esi
xor dl, al
shr eax, 8
xor eax, dword [edx*4 + 0x4e4e50]
dec ecx
jne 0x428f94
xor eax, 0xffffffff
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42905d
Capabilities:
Hash data with md5

Disassembly:
push esi
xor ecx, ecx
push 0x40
lea esi, [eax + 0x58]
push ecx
push esi
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
call fcn.00489db0
add esp, 0xc
mov byte [esi], 0x80
pop esi
ret
Function at 0x4291de
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
xor esi, esi
cmp dword [edi + 0x58], esi
jne 0x42920e
push 0x98
call fcn.00443835
mov ebx, eax
cmp ebx, esi
pop ecx
je 0x429201
call fcn.0042905d
mov eax, ebx
jmp 0x429203
xor eax, eax
cmp eax, esi
mov dword [edi + 0x58], eax
jne 0x42920e
xor eax, eax
jmp 0x429284
push ebp
push 0x4e7ba0
push dword [esp + 0x14]
call fcn.0048d5fa
mov ebp, eax
cmp ebp, esi
pop ecx
pop ecx
jne 0x429229
xor eax, eax
jmp 0x429283
cmp dword [edi + 0x5c], esi
mov ebx, 0xff
jne 0x42923d
push ebx
call fcn.0048873c
pop ecx
mov dword [edi + 0x5c], eax
push ebp
push ebx
push 1
push dword [edi + 0x5c]
call fcn.0048d8a9
add esp, 0x10
cmp eax, esi
je 0x42926e
push dword [edi + 0x5c]
mov esi, dword [edi + 0x58]
call fcn.00429095
push ebp
push ebx
push 1
push dword [edi + 0x5c]
call fcn.0048d8a9
add esp, 0x10
test eax, eax
jne 0x429250
push ebp
call fcn.0048d936
mov eax, dword [edi + 0x58]
pop ecx
lea esi, [edi + 4]
push esi
call fcn.0042912c
mov eax, esi
pop ebp
pop esi
pop ebx
ret 4

Function at 0x429289
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
push esi
push 0x58
xor esi, esi
lea eax, [esp + 0xc]
push esi
push eax
call fcn.00489db0
push dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], esi
lea esi, [esp + 0x18]
mov dword [esp + 0x18], 0x67452301
mov dword [esp + 0x1c], 0xefcdab89
mov dword [esp + 0x20], 0x98badcfe
mov dword [esp + 0x24], 0x10325476
call fcn.004292eb
push dword [ebp + 8]
mov eax, esi
call fcn.00429381
add esp, 0x14
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x43116e
Capabilities:
Encode data using xor

Disassembly:
xor ecx, ecx
cmp dword [esp + 8], ecx
jle 0x431186
mov eax, dword [esp + 4]
add eax, ecx
xor byte [eax], 0x88
inc ecx
cmp ecx, dword [esp + 8]
jl 0x431176
ret 8

Function at 0x433999
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
xor eax, eax
mov dword [esi], eax
push ebx
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], eax
mov dword [edi], eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x433a22
push ebx
call fcn.0048873c
pop ecx
push eax
push ebx
push dword [ebp - 8]
mov dword [ebp - 4], eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x433a13
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4e8524
push dword [ebp - 4]
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x433a13
cmp dword [ebp - 0xc], ebx
je 0x433a13
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
mov dword [edi], ecx
mov eax, dword [eax + 0xc]
mov dword [esi], eax
mov dword [ebp - 0x14], 1
cmp dword [ebp - 4], 0
je 0x433a22
push dword [ebp - 4]
call fcn.0048aed2
pop ecx
mov eax, dword [ebp - 0x14]
pop ebx
leave
ret
Function at 0x433a5e
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4d35d9
call fcn.004ce9f0
sub esp, 0x20c
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [ebp - 4], edi
mov ecx, 0x5096c0
mov dword [ebp - 0x10], edi
call fcn.00420a91
push 0x206
lea eax, [ebp - 0x216]
mov dword [ebp - 4], edi
push edi
push eax
mov dword [ebp - 0x10], 1
mov word [ebp - 0x218], di
call fcn.00489db0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.00422bdc
push esi
call fcn.004332a3
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x433bac
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x11c
push esi
push edi
mov esi, 0x11c
push esi
xor edi, edi
lea eax, [ebp - 0xa4]
push edi
push eax
call fcn.00489db0
add esp, 0xc
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xa4], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push eax
call esi
cmp eax, edi
jne 0x433c05
lea eax, [ebp - 0xa4]
push eax
mov dword [ebp - 0xa4], 0x114
call esi
cmp eax, edi
je 0x433cbb
mov eax, dword [ebp - 0x94]
dec eax
je 0x433ca7
dec eax
jne 0x433cbb
mov eax, dword [ebp - 0xa0]
xor edx, edx
push 6
pop ecx
inc edx
cmp eax, ecx
jne 0x433c54
cmp dword [ebp - 0x9c], edx
jne 0x433c3e
xor eax, eax
cmp byte [ebp + 0x76], dl
setne al
add eax, 8
jmp 0x433ca3
cmp dword [ebp - 0x9c], edi
jne 0x433c8c
xor eax, eax
cmp byte [ebp + 0x76], dl
setne al
lea eax, [eax + eax + 7]
jmp 0x433ca3
cmp eax, 5
jne 0x433c7e
cmp dword [ebp - 0x9c], 2
jne 0x433c65
push eax
jmp 0x433c85
cmp dword [ebp - 0x9c], 1
jne 0x433c72
mov edi, ecx
jmp 0x433cbb
cmp dword [ebp - 0x9c], edi
jne 0x433cbb
push 3
jmp 0x433c85
cmp eax, 4
ja 0x433c88
push 4
pop edi
jmp 0x433cbb
cmp eax, ecx
jb 0x433cbb
cmp dword [ebp - 0x9c], 2
jae 0x433c99
cmp eax, ecx
jbe 0x433cbb
cmp byte [ebp + 0x76], dl
jne 0x433cbb
call fcn.00433ae1
mov edi, eax
jmp 0x433cbb
mov eax, dword [ebp - 0x98]
and eax, 0xffff0000
cmp eax, 0x45a0000
sbb edi, edi
inc edi
inc edi
mov eax, edi
pop edi
pop esi
add ebp, 0x78
leave
ret
Function at 0x434802
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
push esi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x434827
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4348e8
push edi
push 0x228
xor edi, edi
lea eax, [ebp - 0x22c]
push edi
push eax
mov dword [ebp - 4], 0x490
call fcn.00489db0
add esp, 0xc
lea eax, [ebp - 0x230]
push eax
push esi
mov dword [ebp - 0x230], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x434897
lea eax, [ebp - 0x20c]
push str.explorer.exe
push eax
call fcn.0048b85c
test eax, eax
pop ecx
pop ecx
je 0x43488b
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x434861
jmp 0x4348a0
mov edi, dword [ebp - 0x228]
and dword [ebp - 4], 0
jmp 0x4348a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push edi
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x4348c5
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4348e7
push dword [ebp + 8]
push 0xf01ff
push edi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x4348e1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
push edi
call esi
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret

Function at 0x4349cd
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
test esi, esi
jne 0x4349df
or eax, 0xffffffff
leave
ret
push 0x110
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.00489db0
add esp, 0xc
lea eax, [ebp - 0x114]
push eax
mov dword [ebp - 0x114], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x434a22
cmp dword [ebp - 0x110], 5
jne 0x434a22
cmp dword [ebp - 0x10c], 0
je 0x434a2f
push esi
call fcn.004348eb
test eax, eax
pop ecx
jne 0x434a2f
leave
ret
push esi
call fcn.00434802
pop ecx
leave
ret
Function at 0x434a38
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
xor ebx, ebx
lea eax, [ebp - 8]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 1], bl
mov dword [ebp - 8], ebx
mov byte [ebp - 0x18], bl
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], bl
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], bl
mov byte [ebp - 0x13], 5
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x434af8
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea eax, [ebp - 0xc]
push eax
push ebx
push ebx
push 2
push dword [ebp + 8]
call esi
test eax, eax
jne 0x434a9e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x434af7
push edi
push dword [ebp - 0xc]
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0xc]
push edi
push 2
push dword [ebp + 8]
call esi
test eax, eax
je 0x434aeb
cmp dword [edi], ebx
mov dword [ebp - 0x10], ebx
jbe 0x434aeb
lea esi, [edi + 4]
push dword [esi]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x434ae7
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
add esi, 8
cmp eax, dword [edi]
jb 0x434ac9
jmp 0x434aeb
mov byte [ebp - 1], 1
cmp edi, ebx
je 0x434af6
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop esi
cmp dword [ebp - 8], ebx
pop ebx
je 0x434b07
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov al, byte [ebp - 1]
leave
ret

Function at 0x434b0c
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push edi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
xor edi, edi
push 1
push edi
push edi
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
call sub.WTSAPI32.dll_WTSEnumerateSessionsW
test eax, eax
jne 0x434b7a
push 0x110
lea eax, [ebp - 0x118]
push edi
push eax
call fcn.00489db0
add esp, 0xc
lea eax, [ebp - 0x11c]
push eax
mov dword [ebp - 0x11c], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x434b74
cmp dword [ebp - 0x118], 6
jne 0x434b74
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x434baf
mov dword [esi], edi
xor eax, eax
jmp 0x434baf
mov ecx, dword [ebp - 8]
xor eax, eax
cmp dword [ebp - 4], edi
push ebx
mov ebx, 0x490
jbe 0x434ba6
lea edx, [ecx + 8]
cmp dword [edx], edi
je 0x434b9c
inc eax
add edx, 0xc
cmp eax, dword [ebp - 4]
jb 0x434b8d
jmp 0x434ba6
imul eax, eax, 0xc
mov eax, dword [eax + ecx]
mov dword [esi], eax
xor ebx, ebx
push ecx
call sub.WTSAPI32.dll_WTSFreeMemory
mov eax, ebx
pop ebx
pop edi
leave
ret
Function at 0x434e64
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4d4fb0
call fcn.004ce9f0
sub esp, 0x10
mov eax, dword [0x5096c0]
push ebx
push esi
mov esi, 0x5096c0
push edi
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [0x5096c0]
mov ecx, esi
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 1
mov eax, dword [0x5096c0]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 2
call fcn.00434df0
test eax, eax
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
je 0x434f33
lea eax, [ebp - 0x14]
push eax
call fcn.00434e4e
pop ecx
lea edi, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.00422ab0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00405c8d
mov edi, dword [ebp - 0x10]
cmp dword [edi - 0xc], ebx
je 0x434f33
push str.binTimwp.exe
lea eax, [ebp - 0x10]
push eax
call fcn.0040c5e6
mov edi, dword [ebp - 0x10]
push ebx
push edi
call fcn.00489f0f
test eax, eax
pop ecx
pop ecx
jne 0x434f33
cmp dword [ebp + 8], ebx
je 0x434f33
push 1
push ebx
push dword [ebp + 8]
push edi
push str.open
push ebx
call esi
xor ecx, ecx
cmp eax, 0x20
setg cl
cmp ecx, ebx
mov dword [ebp - 0x10], ecx
jne 0x434f4d
push 1
push ebx
push ebx
push dword [ebp + 0xc]
push str.open
push ebx
call esi
xor ecx, ecx
cmp eax, 0x20
setg cl
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00405c8d
lea eax, [edi - 0x10]
call fcn.00405c8d
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00405c8d
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x435614
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov dword [esi], ebx
mov dword [esi + 0x18], 3
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push str.IsWow64Process
push str.kernel32.dll
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
jne 0x435655
xor al, al
jmp 0x435669
lea ecx, [ebp - 4]
push ecx
push edi
mov dword [ebp - 4], ebx
call eax
test eax, eax
je 0x435651
cmp dword [ebp - 4], ebx
setne al
push 0x118
mov byte [esi + 0x20], al
lea eax, [ebp - 0x148]
push ebx
push eax
mov dword [ebp - 0x14c], 0x11c
call fcn.00489db0
add esp, 0xc
push 8
pop ecx
xor eax, eax
mov dword [ebp - 0x30], ebx
lea edi, [ebp - 0x2c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x14c]
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [ebp - 0x148]
cmp eax, 5
mov ecx, dword [ebp - 0x144]
mov edx, dword [ebp - 0x140]
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
jne 0x4356df
cmp ecx, ebx
jle 0x435701
xor eax, eax
cmp ecx, 1
setne al
inc eax
mov dword [esi], eax
jmp 0x435701
push 6
pop edx
cmp eax, edx
jne 0x4356fd
sub ecx, ebx
je 0x4356f5
dec ecx
jne 0x435701
mov dword [esi], 4
jmp 0x435701
mov dword [esi], 3
jmp 0x435701
jle 0x435701
mov dword [esi], edx
movzx eax, word [ebp - 0x38]
mov dword [esi + 0x10], eax
movzx eax, word [ebp - 0x36]
mov dword [esi + 0x14], eax
mov eax, dword [esi]
cmp eax, ebx
je 0x43571a
cmp eax, 6
jne 0x43574b
lea esi, [ebp - 8]
lea edi, [ebp - 0xc]
lea ebx, [ebp - 4]
call fcn.00435831
test eax, eax
mov esi, dword [ebp + 8]
jne 0x435749
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
push eax
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
call fcn.004358c6
mov dword [esi], eax
xor ebx, ebx
push str.GetNativeSystemInfo
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
jne 0x435772
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
jmp 0x435778
lea ecx, [ebp - 0x30]
push ecx
call eax
movzx eax, word [ebp - 0x30]
cmp eax, ebx
je 0x4357aa
cmp eax, 6
je 0x4357a1
cmp eax, 9
je 0x435798
cmp eax, 0xc
jne 0x4357ad
mov dword [esi + 0x18], 4
jmp 0x4357ad
mov dword [esi + 0x18], 1
jmp 0x4357ad
mov dword [esi + 0x18], 2
jmp 0x4357ad
mov dword [esi + 0x18], ebx
mov eax, dword [ebp - 0x1c]
mov ebx, esi
mov dword [esi + 0x1c], eax
call fcn.00435981
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4
Function at 0x435c11
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
push esi
mov esi, eax
cmp dword [esi + 0x14], 0x104
push edi
jb 0x435c2e
xor al, al
jmp 0x435cbc
and word [ebp - 0x230], 0
push 0x208
lea eax, [ebp - 0x22e]
push 0
push eax
call fcn.00489db0
add esp, 0xc
cmp dword [esi + 0x18], 8
jb 0x435c57
mov esi, dword [esi + 4]
jmp 0x435c5a
add esi, 4
push esi
lea eax, [ebp - 0x230]
push 0x105
push eax
call fcn.00489f88
and dword [ebp - 0x20], 0
add esp, 0xc
push 6
xor eax, eax
pop ecx
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x230]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x1c], 3
mov word [ebp - 0x10], 0x414
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
cmp dword [ebp - 0xe], 0
jne 0x435c27
test eax, eax
je 0x435cb9
cmp eax, 2
je 0x435cb9
cmp eax, 0x402
je 0x435cb9
xor eax, eax
jmp 0x435cbc
xor eax, eax
inc eax
pop edi
pop esi
leave
ret
Function at 0x435cfe
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4d4fc8
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
mov ebx, dword [ebp + 8]
cmp ebx, 0xffffffff
push esi
push edi
mov esi, ecx
jne 0x435d3f
xor eax, eax
mov ecx, dword [esp + 0x64]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x24]
mov ecx, dword [eax]
xor edi, edi
cmp ecx, edi
je 0x435d67
mov eax, dword [esi + 0x34]
mov edx, dword [eax]
add edx, ecx
cmp ecx, edx
jae 0x435d67
dec dword [eax]
mov esi, dword [esi + 0x24]
mov eax, dword [esi]
lea ecx, [eax + 1]
mov dword [esi], ecx
mov byte [eax], bl
mov eax, ebx
jmp 0x435d2b
mov eax, dword [esi + 0x4c]
cmp eax, edi
jne 0x435d73
or eax, 0xffffffff
jmp 0x435d2b
cmp dword [esi + 0x3c], edi
jne 0x435d87
push eax
push ebx
call fcn.00435bd7
test al, al
pop ecx
pop ecx
je 0x435d6e
jmp 0x435d63
push edi
push 8
lea ecx, [esp + 0x4c]
mov byte [esp + 0x18], bl
call fcn.00436382
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x48]
mov dword [esp + 0x70], edi
call fcn.004363a8
mov ecx, eax
call fcn.00436686
mov edi, dword [esp + 0x58]
mov ebx, eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x48]
call fcn.004363a8
mov ecx, eax
call fcn.00436686
lea edx, [esp + 0x18]
add edi, ebx
push edx
lea ebx, [esi + 0x44]
jmp 0x435e97
cmp eax, 1
jg 0x435ebf
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x48]
call fcn.004363a8
mov ecx, eax
call fcn.00436686
mov edi, dword [esp + 0x18]
sub edi, eax
je 0x435e2c
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x48]
call fcn.004363a8
mov ecx, eax
call fcn.00436686
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.0048feb8
add esp, 0x10
cmp edi, eax
jne 0x435ed6
lea eax, [esp + 0x10]
cmp dword [esp + 0x1c], eax
mov byte [esi + 0x41], 1
jne 0x435eed
test edi, edi
ja 0x435e5a
cmp dword [esp + 0x58], 0x20
jae 0x435ed6
push 0
push 8
lea ecx, [esp + 0x4c]
call fcn.0042ab18
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x48]
call fcn.004363a8
mov ecx, eax
call fcn.00436686
mov edi, dword [esp + 0x58]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x48]
call fcn.004363a8
mov ecx, eax
call fcn.00436686
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x24]
add edi, edx
mov ecx, dword [esi + 0x3c]
push edi
push eax
lea edx, [esp + 0x28]
push edx
lea edx, [esp + 0x21]
push edx
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x2c], eax
mov eax, dword [ecx]
push ebx
call dword [eax + 0x14]
test eax, eax
jge 0x435dda
jmp 0x435ed6
cmp eax, 3
jne 0x435ed6
push dword [esi + 0x4c]
push dword [esp + 0x14]
call fcn.00435bd7
test al, al
pop ecx
pop ecx
jne 0x435eed
or esi, 0xffffffff
push 0
push 1
lea ecx, [esp + 0x4c]
call fcn.0040b4f0
mov eax, esi
jmp 0x435d2b
mov esi, dword [ebp + 8]
jmp 0x435ed9
Function at 0x436479
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x4d1be8
call fcn.004ce9f0
sub esp, 0x48
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x3c], edi
je 0x436589
cmp byte [esi + 0x41], 0
je 0x436589
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 4]
cmp eax, 0xffffffff
jne 0x4364b3
xor al, al
jmp 0x43658b
push edi
push 8
lea ecx, [ebp - 0x54]
call fcn.00436382
mov dword [ebp - 4], edi
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x54]
call fcn.004363a8
mov ecx, eax
call fcn.00436686
mov edi, dword [ebp - 0x40]
mov ebx, eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x54]
call fcn.004363a8
mov ecx, eax
call fcn.00436686
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
add edi, ebx
push edi
push dword [ebp - 0x14]
lea eax, [esi + 0x44]
push eax
call dword [edx + 0x18]
sub eax, 0
je 0x436523
dec eax
je 0x436527
dec eax
dec eax
je 0x436585
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x54]
call fcn.0040b4f0
mov al, bl
jmp 0x43658b
mov byte [esi + 0x41], 0
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x54]
call fcn.004363a8
mov ecx, eax
call fcn.00436686
mov edi, dword [ebp - 0x18]
sub edi, eax
je 0x436567
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x54]
call fcn.004363a8
mov ecx, eax
call fcn.00436686
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.0048feb8
add esp, 0x10
cmp edi, eax
jne 0x436511
cmp byte [esi + 0x41], 0
je 0x436585
test edi, edi
jne 0x4364c1
push edi
push 8
lea ecx, [ebp - 0x54]
call fcn.0042ab18
jmp 0x4364c1
mov bl, 1
jmp 0x436513
mov al, 1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret