joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44b930
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44f645
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x46a084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.0044b3b0
test al, al
jne 0x44b9b1
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], vtable.std::exception.0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], str.This_pipe_is_not_connected._You_cant_write_to_it_
vpxor xmm0, xmm0, xmm0
push eax
vmovq qword [ebp - 0x20], xmm0
mov byte [ebp - 0x14], 1
call fcn.004287c7
add esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], vtable.std::logic_error.0
mov dword [ebp - 4], 0xffffffff
push 0x467a60
lea eax, [ebp - 0x24]
push eax
call fcn.004297fa
test byte [edi + 0x20], 2
jne 0x44b9eb
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], vtable.std::exception.0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], str.This_pipe_is_read_only._You_cant_write_to_it_
vpxor xmm0, xmm0, xmm0
push eax
vmovq qword [ebp - 0x20], xmm0
mov byte [ebp - 0x14], 1
call fcn.004287c7
add esp, 8
mov dword [ebp - 4], 1
jmp 0x44b995
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
je 0x44ba4a
mov esi, dword [ebx + 8]
mov dword [ebp - 0x10], 0x8000
sub esi, eax
mov dword [eax + 4], esi
mov dword [eax + 8], 0
mov edx, dword [ebp - 0x10]
mov dword [ebp + 8], 0
mov eax, dword [ebx + 4]
cmp edx, esi
push 0
lea edx, [ebp - 0x10]
mov ecx, 0x8000
cmova ecx, esi
add eax, dword [ebp + 8]
push edx
push ecx
push eax
push dword [edi + 0x24]
mov dword [ebp - 0x10], ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [ebp - 0x10]
sub esi, edx
add dword [ebp + 8], edx
test eax, eax
je 0x44ba60
test esi, esi
jne 0x44ba16
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
je 0x44ba7d
push str.Inter_process_communication_writing_error.
lea ecx, [ebp - 0x24]
call fcn.0040d160
jmp 0x44b9a3
mov ecx, edi
call fcn.0044b380
push 0x4605f8
lea ecx, [ebp - 0x24]
call fcn.0040d160
jmp 0x44b9a3

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x40ae13
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41659c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00406b1b
mov dword [ebp - 0x14], eax
cmp dword [0x42d890], esi
jne 0x40af06
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40ae93
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40afe6
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40afe6
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40afe6
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x42d890], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x42d894], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x42d898], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x42d8a0], eax
test eax, eax
je 0x40af03
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x42d89c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40af2b
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40af1e
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40af40
push 4
pop eax
jmp 0x40afe8
cmp dword [ebp - 0x14], esi
je 0x40af40
push dword [0x42d890]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40af25
mov eax, dword [0x42d89c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40af9e
cmp dword [0x42d8a0], edi
je 0x40af9e
push eax
call ebx
push dword [0x42d8a0]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40af9e
test eax, eax
je 0x40af9e
call ecx
test eax, eax
je 0x40af93
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40af93
test byte [ebp - 8], 1
jne 0x40af9e
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40afce
mov eax, dword [0x42d894]
cmp eax, edi
je 0x40afcb
push eax
call ebx
test eax, eax
je 0x40afcb
call eax
mov esi, eax
test esi, esi
je 0x40afcb
mov eax, dword [0x42d898]
cmp eax, edi
je 0x40afcb
push eax
call ebx
test eax, eax
je 0x40afcb
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x42d890]
call ebx
test eax, eax
je 0x40afe6
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40afe8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403689
mov esp, ebp
pop ebp
ret
Function at 0x1000a7d8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi]
mov ecx, dword [esi + 4]
test eax, eax
jle 0x1000a832
push edi
mov edi, dword [ebp + 0x10]
sub dword [ebp + 0xc], edi
mov dword [ebp + 8], eax
mov edi, edi
inc bl
lea edi, [edi + 1]
movzx ebx, bl
mov dl, byte [esi + ebx + 8]
add cl, dl
movzx ecx, cl
mov al, byte [esi + ecx + 8]
mov byte [esi + ebx + 8], al
add al, dl
movzx eax, al
mov byte [esi + ecx + 8], dl
movzx edx, byte [eax + esi + 8]
mov eax, dword [ebp + 0xc]
xor dl, byte [eax + edi - 1]
dec dword [ebp + 8]
mov byte [edi - 1], dl
jne 0x1000a7f8
mov eax, dword [ebp + 0x14]
pop edi
mov dword [esi], ebx
mov dword [esi + 4], ecx
pop esi
pop ebx
pop ebp
ret
Function at 0x421c20
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b6ea8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x63406c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
cmp dword [esi + 0x14], 8
jb 0x421c59
mov eax, dword [esi]
jmp 0x421c5b
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x421d06
push 2
sub esp, 8
mov ecx, esi
call fcn.00421f80
cmp eax, 0xffffffff
je 0x421cdf
push eax
push 0
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.00421f20
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x421cb5
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
call fcn.00421c20
test eax, eax
je 0x421cca
cmp dword [esi + 0x14], 8
jb 0x421cbd
mov esi, dword [esi]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x421cfe
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x421cdf
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00423720
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0057282e
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x28]
call fcn.004236e0
mov eax, 1
jmp 0x421ce1
Function at 0x421d10
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b6ed8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x63406c]
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 ebx, ecx
mov edi, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x40], eax
cmp dword [edi + 0x14], 8
jb 0x421d53
mov eax, dword [edi]
jmp 0x421d55
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test esi, esi
je 0x421efb
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x421d70
sub ecx, edx
je 0x421efb
push 2
sub esp, 8
mov ecx, edi
call fcn.00421f80
cmp eax, 0xffffffff
je 0x421db8
push eax
push 0
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.00421f20
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
mov ecx, ebx
call fcn.00421c20
lea ecx, [ebp - 0x2c]
call fcn.004236e0
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x30], 0
jb 0x421dc9
mov eax, dword [edi]
jmp 0x421dcb
mov eax, edi
push 0x61b5cc
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0058ede0
add esp, 0xc
cmp dword [ebp - 0x30], 0
je 0x421efb
call fcn.0048a8c0
mov ebx, eax
test ebx, ebx
je 0x421efb
push esi
push 0x2712
push ebx
call fcn.0048db60
push 0
push 0x40
push ebx
call fcn.0048db60
push 0
push 0x51
push ebx
call fcn.0048db60
push 0
push 0x2a
push ebx
call fcn.0048db60
push 0x421b80
push 0x4e2b
push ebx
call fcn.0048db60
push dword [ebp - 0x30]
push 0x2711
push ebx
call fcn.0048db60
add esp, 0x48
push 1
push 0x29
push ebx
call fcn.0048db60
push 1
push 0x34
push ebx
call fcn.0048db60
push 0
push 0x2b
push ebx
call fcn.0048db60
push 0x421bb0
push 0x4efb
push ebx
call fcn.0048db60
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
push 0x2749
push ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], 0x4264b0
call fcn.0048db60
push 1
push 0x2d
push ebx
call fcn.0048db60
add esp, 0x48
push 1
push 0x63
push ebx
call fcn.0048db60
push ebx
call fcn.0048a900
mov esi, eax
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
push 0x200002
push ebx
call fcn.0048a8a0
push ebx
call fcn.0048a880
push dword [ebp - 0x30]
call fcn.0058f144
add esp, 0x24
test esi, esi
jne 0x421eeb
mov eax, dword [ebp - 0x14]
add eax, 0xffffff38
cmp eax, 0xc7
ja 0x421eeb
mov al, 1
jmp 0x421efd
cmp dword [edi + 0x14], 8
jb 0x421ef3
mov edi, dword [edi]
mov eax, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
call 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.0057282e
mov esp, ebp
pop ebp
ret 0x10
Function at 0x424ed0
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b71db
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x63406c]
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, ecx
push 0xa
xor eax, eax
mov dword [ebp - 0x21c], 7
push 0x61b91c
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
call fcn.00423580
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.0058b680
mov ecx, dword [esi]
add esp, 0xc
xorps xmm0, xmm0
mov dword [ebp - 0x250], 0
movups xmmword [ebp - 0x24c], xmm0
mov dword [ebp - 0x234], 0
movq qword [ebp - 0x23c], xmm0
call fcn.004489a4
cmp dword [ebp - 0x21c], 8
mov dword [ebp - 0x250], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x248], eax
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
mov dword [ebp - 0x244], eax
lea eax, [ebp - 0x250]
push eax
mov dword [ebp - 0x240], 0x40
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
lea ecx, [ebp - 0x218]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x425041
mov edx, dword [esi]
lea eax, [ebp - 0x218]
lea edi, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x424fe0
sub eax, edi
lea ecx, [edx + 0x474]
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0042d4f0
mov ecx, dword [esi]
call fcn.00427e10
lea ecx, [ebp - 0x268]
call fcn.004360d0
cmp dword [eax + 0x14], 8
jb 0x42501c
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov eax, dword [ebp - 0x254]
cmp eax, 8
jb 0x425041
inc eax
lea ecx, [ebp - 0x268]
push eax
push dword [ebp - 0x268]
call fcn.00423720
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x42505f
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00423720
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.0057282e
mov esp, ebp
pop ebp
ret
Function at 0x4252a0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b728d
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x63406c]
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 dword [ebp - 0x48], esi
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 1
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
push ecx
cmovae eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x425328
mov eax, dword [esi]
jmp 0x42532a
mov eax, esi
xor edi, edi
mov word [eax], di
mov dword [ebp - 0x2c], 1
test edx, edx
jne 0x425425
cmp ecx, 0x40000000
ja 0x425425
test edx, edx
jne 0x4253e8
cmp ecx, 0x100000
ja 0x4253e8
test edx, edx
jne 0x4253a5
cmp ecx, 0x400
ja 0x4253a5
call fcn.00573740
cvtsd2ss xmm0, xmm0
sub esp, 8
lea eax, [ebp - 0x44]
cvtss2sd xmm0, xmm0
movsd qword [esp], xmm0
push str._.2f_B
push eax
call fcn.00434a70
add esp, 0x10
mov ecx, esi
push eax
call fcn.0042caa0
lea ecx, [ebp - 0x44]
call fcn.004236e0
jmp 0x4254b7
call fcn.00573740
cvtsd2ss xmm0, xmm0
sub esp, 8
lea eax, [ebp - 0x44]
cvtss2sd xmm0, xmm0
mulsd xmm0, qword [0x61e0e8]
movsd qword [esp], xmm0
push str._.2f_KB
push eax
call fcn.00434a70
add esp, 0x10
mov ecx, esi
push eax
call fcn.0042caa0
lea ecx, [ebp - 0x44]
call fcn.004236e0
jmp 0x4254b7
call fcn.00573740
cvtsd2ss xmm0, xmm0
lea eax, [ebp - 0x44]
sub esp, 8
xorps xmm1, xmm1
cvtss2sd xmm1, xmm0
mulsd xmm1, qword [0x61e0e8]
mulsd xmm1, qword [0x61e0e8]
movsd qword [esp], xmm1
push str._.2f_MB
push eax
call fcn.00434a70
add esp, 0x10
mov edi, eax
jmp 0x425464
call fcn.00573740
cvtsd2ss xmm0, xmm0
lea eax, [ebp - 0x44]
sub esp, 8
xorps xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, qword [0x61e0e8]
mulsd xmm1, xmm0
mulsd xmm1, xmm0
mulsd xmm1, xmm0
movsd qword [esp], xmm1
push str._.2f_GB
push eax
call fcn.00434a70
add esp, 0x10
mov edi, eax
cmp esi, edi
je 0x4254a2
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x42547b
inc ecx
push ecx
push dword [esi]
mov ecx, esi
call fcn.00423720
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
cmp dword [esi + 0x14], 8
jb 0x425493
mov eax, dword [esi]
jmp 0x425495
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
push edi
call fcn.004230a0
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x4254b7
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.00423720
mov ecx, dword [ebp + 0x20]
cmp ecx, 8
jb 0x4254cc
inc ecx
push ecx
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00423720
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.0057282e
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x427800
Capabilities:
Create shortcut via ishelllink
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b7670
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x63406c]
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]
mov esi, dword [ebp + 0xc]
push 0
mov dword [ebp - 4], 1
call dword [sym.imp.ole32.dll_CoInitialize]
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
cmp dword [esi + 0x14], 8
jb 0x427852
mov eax, dword [esi]
jmp 0x427854
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x14]
push eax
push 0x5be870
push 1
push 0
push 0x5be8e0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x42789e
cmp dword [edi + 0x14], 8
jb 0x42787f
mov edi, dword [edi]
mov eax, dword [ebp - 0x14]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
push edx
push 0x5be900
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
jns 0x4278ae
call dword [sym.imp.ole32.dll_OleUninitialize]
call dword [sym.imp.ole32.dll_CoUninitialize]
xor bl, bl
jmp 0x4278e2
cmp dword [esi + 0x14], 8
jb 0x4278b6
mov esi, dword [esi]
mov eax, dword [ebp - 0x18]
push 2
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_OleUninitialize]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov bl, 1
mov eax, dword [ebp + 0x28]
cmp eax, 8
jb 0x4278f7
inc eax
lea ecx, [ebp + 0x14]
push eax
push dword [ebp + 0x14]
call fcn.00423720
mov ecx, dword [ebp + 0x40]
xor eax, eax
mov dword [ebp + 0x28], 7
mov dword [ebp + 0x24], 0
mov word [ebp + 0x14], ax
cmp ecx, 8
jb 0x427920
inc ecx
push ecx
push dword [ebp + 0x2c]
lea ecx, [ebp + 0x2c]
call fcn.00423720
mov al, bl
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.0057282e
mov esp, ebp
pop ebp
ret 0x3c
Function at 0x42cc00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x42cc19
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x42cc56
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x42cc52
nop word [eax + eax]
cmp esi, edx
jae 0x42cc56
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x42cc40
cmp esi, edx
jb 0x42cc5d
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x42e4b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b8049
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x63406c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0
mov dword [ebp - 0x10], 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
push 0x58
call fcn.0057284d
mov esi, eax
mov dword [ebp - 0x14], esi
push 0x58
push 0
push esi
mov dword [ebp - 4], 0
call fcn.0058b680
mov dword [esi + 0x10], 0x61c7bc
mov dword [esi + 0x4c], vtable.nbase::SupportWeakCallback.0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
add esp, 0xc
mov byte [ebp - 4], 1
mov ecx, esi
mov dword [ebp - 0x10], 1
push str.Global_Chores_Thread
call fcn.00439770
mov eax, dword [esi + 0x10]
mov dword [esi], vtable.MiscThread.1.0
mov eax, dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov dword [eax + esi + 0x10], vtable.MiscThread.0
mov dword [esi + 0x48], 1
mov ecx, dword [edi + 0x48]
mov dword [edi + 0x48], esi
test ecx, ecx
je 0x42e575
mov eax, dword [ecx]
push 1
call dword [eax]
mov esi, dword [edi + 0x48]
cmp dword [esi + 0x1c], 0
jne 0x42e5a6
mov ecx, esi
mov dword [esi + 0x18], 0
mov dword [esi + 0x28], 0
call fcn.0043a210
test al, al
je 0x42e5a6
push 0xffffffffffffffff
push dword [esi + 0x2c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov byte [esi + 0x14], 1
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x640860]
cmp eax, dword [ecx + 4]
jle 0x42e5fb
push 0x640860
call fcn.00572c6a
add esp, 4
cmp dword [0x640860], 0xffffffff
jne 0x42e5fb
mov dword [ebp - 4], 2
call fcn.00436d00
push 0x5bdd00
call fcn.00572b04
push 0x640860
mov dword [ebp - 4], 0xffffffff
call fcn.00572c2b
add esp, 8
push 0
call fcn.00436d80
push dword [0x640690]
call fcn.00447132
add esp, 4
push 0x61c70c
push 0x82
push dword [0x640690]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
push esi
push dword [0x640690]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [0x640690]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push edi
call fcn.0044735e
push 0x554
call fcn.0057284d
mov esi, eax
mov dword [ebp - 0x14], esi
push 0x554
push 0
push esi
mov dword [ebp - 4], 3
call fcn.0058b680
add esp, 0x18
mov ecx, esi
call fcn.00423b90
push 0
push accept
push accept
push accept
push accept
push 0x100
push 0x96c80000
mov esi, eax
mov dword [ebp - 4], 0xffffffff
push 0x61c714
push 0
mov ecx, esi
call fcn.00448afc
push 0x6b
mov ecx, esi
call fcn.00448ed5
mov ecx, esi
call fcn.004489a8
push 1
push 1
mov ecx, esi
call fcn.0044904c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x42e6e0
Capabilities:
Get thread local storage value
Terminate process
Terminate thread

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
call fcn.0044758c
call dword [sym.imp.ole32.dll_OleUninitialize]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov esi, dword [edi + 0x48]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 8]
test eax, eax
je 0x42e72d
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
jne 0x42e71a
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push dword [esi + 8]
call ebx
mov dword [esi + 8], 0
mov dword [esi + 4], 0
mov esi, dword [edi + 0x48]
cmp byte [esi + 0x14], 0
je 0x42e785
mov ecx, esi
call fcn.00439a50
mov eax, dword [esi + 8]
test eax, eax
je 0x42e77f
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x42e76c
mov eax, dword [esi + 8]
test eax, eax
je 0x42e77f
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
jne 0x42e76c
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push dword [esi + 8]
call ebx
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov word [esi + 0x14], 0
mov ecx, dword [edi + 0x48]
mov dword [edi + 0x48], 0
pop edi
pop esi
pop ebx
test ecx, ecx
je 0x42e79c
mov eax, dword [ecx]
push 1
call dword [eax]
call fcn.00439d60
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x42e7b1
mov byte [eax + 4], 1
jmp fcn.00437160