joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48b6f0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49bf6b
mov eax, dword fs:[0]
push eax
mov eax, 0x24ec
call fcn.00497d20
mov eax, dword [0x4cc99c]
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]
lea ecx, [ebp - 0xcc0]
call fcn.00486cb0
lea ecx, [ebp - 0xc90]
call fcn.00486cb0
lea ecx, [ebp - 0xc60]
call fcn.00486cb0
push 0
lea eax, [ebp - 0x18d8]
push eax
push esi
push edi
call fcn.00488c60
add esp, 0x10
test al, al
je 0x48b909
cmp byte [ebp - 0x18d8], 0
je 0x48b909
cmp byte [ebp - 0xc30], 0
je 0x48b909
lea ecx, [ebp - 0xc30]
push ecx
lea edx, [ebp - 0x18d8]
push edx
call fcn.00489e80
add esp, 4
push eax
call fcn.0048a900
add esp, 8
test eax, eax
je 0x48b909
lea eax, [ebp - 0xc30]
push eax
push edi
call fcn.00489e80
add esp, 4
push eax
call fcn.0048a900
add esp, 8
test eax, eax
jne 0x48b909
mov ebx, dword [sym.imp.MSVCR100.dll_strncpy]
xor esi, esi
mov edi, edi
push 0x3ff
lea ecx, [ebp - 0x410]
push edi
push ecx
call ebx
add esp, 0xc
push esi
lea edx, [ebp - 0x410]
push str.rtmp_d
push edx
mov byte [ebp - 0x11], 0
call fcn.00489e80
add esp, 4
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
lea eax, [ebp - 0x410]
push 0
push eax
call fcn.00486980
add esp, 0x14
test al, al
je 0x48b822
add esi, 0x7b
cmp esi, 0x2710
jl 0x48b7d0
lea ecx, [ebp - 0x410]
push 0
push ecx
call fcn.00486980
add esp, 8
test al, al
jne 0x48b909
push 0x3ff
lea edx, [ebp - 0x810]
push edi
push edx
call ebx
lea eax, [ebp - 0x18d8]
push eax
mov byte [ebp - 0x411], 0
call fcn.00489e80
lea ecx, [ebp - 0x810]
push ecx
mov esi, eax
call fcn.00489e80
add esp, 0x14
sub eax, esi
mov cl, byte [esi]
mov byte [eax + esi], cl
inc esi
test cl, cl
jne 0x48b870
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileA]
lea edx, [ebp - 0x410]
push edx
lea eax, [ebp - 0x810]
push eax
call esi
test eax, eax
je 0x48b909
lea ecx, [ebp - 0x24f8]
call fcn.00486610
push 0
push edi
mov dword [ebp - 4], 0
xor bl, bl
call fcn.00486980
add esp, 8
test al, al
jne 0x48b8c9
push 1
push 0
push edi
lea ecx, [ebp - 0x24f8]
call fcn.00487430
mov bl, al
lea ecx, [ebp - 0x810]
push ecx
lea edx, [ebp - 0x410]
push edx
call esi
test bl, bl
je 0x48b8f3
lea ecx, [ebp - 0x24f8]
call fcn.00486650
lea ecx, [ebp - 0x24f8]
call fcn.00487580
lea ecx, [ebp - 0x24f8]
mov dword [ebp - 4], 0xffffffff
call fcn.00488260
mov al, 1
jmp 0x48b90b
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.00497792
mov esp, ebp
pop ebp
ret
Function at 0x48c2f0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp esi, 0xff
jne 0x48c305
cmp byte [ecx + 8], 0
je 0x48c34f
mov eax, esi
dec eax
je 0x48c314
dec eax
je 0x48c335
sub eax, 0xfd
jne 0x48c31d
cmp dword [0x4d9ef8], 0
jne 0x48c323
mov dword [0x4d9ef8], esi
inc dword [0x4d9efc]
call fcn.00487940
push esi
call dword [sym.imp.MSVCR100.dll_exit]
mov eax, dword [0x4d9ef8]
test eax, eax
je 0x48c343
cmp eax, 1
jne 0x48c323
mov dword [0x4d9ef8], 2
jmp 0x48c323
pop esi
pop ebp
ret 4

Function at 0x48c420
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
cmp byte [0x4d92e8], 0
push esi
mov esi, ecx
jne 0x48c453
mov eax, dword [ebp + 8]
push eax
push str.Cannot_close_the_file__s
call fcn.00487180
add esp, 4
push eax
push 0
push esi
call fcn.0048c240
add esp, 0x10
mov ecx, esi
call fcn.0048c360
mov eax, dword [0x4d9ef8]
test eax, eax
je 0x48c461
cmp eax, 1
jne 0x48c46b
mov dword [0x4d9ef8], 2
inc dword [0x4d9efc]
call fcn.00487940
push 2
call dword [sym.imp.MSVCR100.dll_exit]
int3

Function at 0x48c480
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
call fcn.0048c360
mov eax, dword [ebp + 8]
push eax
push str._nWrite_error:_only_NTFS_file_system_supports_files_larger_than_4_GB
call fcn.00487180
add esp, 4
push eax
push 0
push esi
call fcn.0048c240
inc dword [0x4d9efc]
add esp, 0x10
mov dword [0x4d9ef8], 5
call fcn.00487940
push 5
call dword [sym.imp.MSVCR100.dll_exit]
int3

Function at 0x48c4d0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
cmp byte [0x4d92e8], 0
push esi
mov esi, ecx
jne 0x48c503
mov eax, dword [ebp + 8]
push eax
push str.Seek_error_in_the_file__s
call fcn.00487180
add esp, 4
push eax
push 0
push esi
call fcn.0048c240
add esp, 0x10
mov ecx, esi
call fcn.0048c360
mov eax, dword [0x4d9ef8]
test eax, eax
je 0x48c511
cmp eax, 1
jne 0x48c51b
mov dword [0x4d9ef8], 2
inc dword [0x4d9efc]
call fcn.00487940
push 2
call dword [sym.imp.MSVCR100.dll_exit]
int3

Function at 0x48c5f0
Capabilities:
Terminate process

Disassembly:
push esi
push str.Not_enough_memory
mov esi, ecx
call fcn.00487180
push eax
push 0
push esi
call fcn.0048c240
inc dword [0x4d9efc]
add esp, 0x10
mov dword [0x4d9ef8], 8
call fcn.00487940
push 8
call dword [sym.imp.MSVCR100.dll_exit]
int3

Function at 0x48c630
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push eax
push str.Read_error_in_the_file__s
mov esi, ecx
call fcn.00487180
add esp, 4
push eax
push 0
push esi
call fcn.0048c240
add esp, 0x10
mov ecx, esi
call fcn.0048c360
mov eax, dword [0x4d9ef8]
test eax, eax
je 0x48c668
cmp eax, 1
jne 0x48c672
mov dword [0x4d9ef8], 2
inc dword [0x4d9efc]
call fcn.00487940
push 2
call dword [sym.imp.MSVCR100.dll_exit]
int3
Function at 0x48c690
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
push eax
push str.Write_error_in_the_file__s
mov esi, ecx
call fcn.00487180
mov ecx, dword [ebp + 8]
add esp, 4
push eax
push ecx
push esi
call fcn.0048c240
add esp, 0x10
mov ecx, esi
call fcn.0048c360
inc dword [0x4d9efc]
mov dword [0x4d9ef8], 5
call fcn.00487940
push 5
call dword [sym.imp.MSVCR100.dll_exit]
int3
Function at 0x49764d
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x4daca8], 0
push esi
push edi
jne 0x4975c3
call fcn.0049752f
test eax, eax
je 0x497608
mov eax, dword [0x4daca8]
cmp eax, 1
jne 0x4975e4
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x497608
jmp 0x49764a
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x49764a
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x49760c
xor eax, eax
jmp 0x49764a
mov eax, dword [esi]
push dword [0x4daca8]
call edi
mov edi, eax
test edi, edi
je 0x49762e
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x49764a
lea edi, [esi + 0xff0]
push esi
push dword [0x4daca8]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x497634
mov eax, esi
pop edi
pop esi
ret
jmp 0x4975af

Function at 0x497792
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4cc99c]
jne 0x49779c
repz ret
jmp fcn.00497f86
Function at 0x498550
Capabilities:
Encrypt data using rc4 prga
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4bfae0
push 0x497f61
mov eax, dword fs:[0]
push eax
add esp, 0xffffffc8
push ebx
push esi
push edi
mov eax, dword [0x4cc99c]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
cmp dword [ebp + 8], 0
jne 0x49859a
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
movzx edx, word [ecx]
cmp edx, 0x5a4d
je 0x4985d0
push 0xc1
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x34]
jmp 0x49875b
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
cmp dword [edx], 0x4550
je 0x498608
push 0xbf
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x38], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x38]
jmp 0x49875b
mov eax, dword [ebp - 0x24]
movzx ecx, word [eax + 0x14]
test ecx, ecx
jne 0x498634
push 0xc0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x3c]
jmp 0x49875b
mov edx, dword [ebp - 0x24]
movzx eax, word [edx + 0x14]
mov ecx, dword [ebp - 0x24]
lea edx, [ecx + eax + 0x18]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x28], 0
jmp 0x498657
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x24]
movzx edx, word [ecx + 6]
cmp dword [ebp - 0x28], edx
jae 0x498706
push str..detour
mov eax, dword [ebp - 0x28]
imul eax, eax, 0x28
add eax, dword [ebp - 0x20]
push eax
call sub.MSVCR100.dll_strcmp
add esp, 8
test eax, eax
jne 0x498701
mov ecx, dword [ebp - 0x28]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0x20]
cmp dword [edx + ecx + 0xc], 0
je 0x4986a2
mov eax, dword [ebp - 0x28]
imul eax, eax, 0x28
mov ecx, dword [ebp - 0x20]
cmp dword [ecx + eax + 0x10], 0
jne 0x4986a4
jmp 0x498706
mov edx, dword [ebp - 0x28]
imul edx, edx, 0x28
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + edx + 0xc]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
cmp dword [eax], 0x40
jb 0x4986d1
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx + 4], 0x727444
je 0x4986d3
jmp 0x498706
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 8], 0
jne 0x4986e7
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
mov dword [eax + 8], edx
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x40], eax
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x40]
jmp 0x49875b
jmp 0x49864e
push 0xc0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x44], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x44]
jmp 0x49875b
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x498a10
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
cmp dword [ecx], 0x678
jne 0x498a31
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
cmp eax, dword [ebp + 0xc]
jbe 0x498a43
push 0xc1
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x498b8b
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 8], 0
lea ecx, [ebp - 0x14]
push ecx
push 0x40
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x498b88
lea eax, [ebp - 4]
push eax
push 0x40
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x498b6c
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x1c
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x10]
push eax
call sub.MSVCR100.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 0x18]
add eax, 0x5c
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x14]
push edx
call sub.MSVCR100.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x18], 0
je 0x498b49
lea ecx, [ebp - 0x10]
push ecx
push 0x40
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x498b47
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp - 0x18]
add edx, 0x664
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x18]
push ecx
call sub.MSVCR100.dll_memcpy
add esp, 0xc
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 8], 1
jmp 0x498b50
mov dword [ebp - 8], 1
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 8
Function at 0x1018e70
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x38
mov eax, dword [0x5599f4]
xorpd xmm0, xmm0
xor eax, ebp
mov dword [esp + 0x30], eax
movsd xmm1, qword [0x55aa78]
ucomisd xmm1, xmm0
jne 0x1018fee
jp 0x1018fee
mov edi, dword [0x50d128]
call edi
push eax
call dword [0x50d12c]
mov dword [esp + 0xc], eax
call edi
push 2
push eax
call dword [0x50d130]
mov eax, dword [0x55aa88]
mov ecx, dword [0x55c508]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 8]
jg 0x1019013
mov eax, dword [0x55aa98]
mov ecx, dword [0x55c508]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 8]
jg 0x101904d
rdtsc
lea esi, [esp + 0x28]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 8], eax
mov dword [esp + 4], edx
push esi
call dword [0x50d120]
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
call dword [0x50d128]
push dword [esp + 0xc]
push eax
call dword [0x50d130]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
push esi
call dword [0x50d11c]
sub edi, dword [0x55aa90]
movsd xmm2, qword [0x50ff58]
sbb ebx, dword [0x55aa94]
movd xmm1, edi
fild qword [esp + 0x28]
fstp qword [esp + 0x20]
movd xmm0, ebx
punpckldq xmm1, xmm0
punpckldq xmm1, xmmword [0x50ff30]
subpd xmm1, xmmword [0x50ff40]
pshufd xmm0, xmm1, 0x4e
addpd xmm0, xmm1
xorpd xmm1, xmm1
divsd xmm0, qword [esp + 0x20]
ucomisd xmm2, xmm0
ja 0x1018fee
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
sub eax, dword [0x55aa80]
sbb ecx, dword [0x55aa84]
movd xmm2, eax
movd xmm1, ecx
punpckldq xmm2, xmm1
punpckldq xmm2, xmmword [0x50ff30]
subpd xmm2, xmmword [0x50ff40]
pshufd xmm1, xmm2, 0x4e
addpd xmm1, xmm2
divsd xmm1, xmm0
movsd qword [0x55aa78], xmm1
movsd qword [esp + 0x18], xmm1
fld qword [esp + 0x18]
fstp xword [esp + 0xc]
mov ecx, dword [esp + 0x30]
xor ecx, ebp
call 0x10dab78
fld xword [esp + 0xc]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x55aa88
call 0x10db1ab
add esp, 4
mov eax, dword [0x55aa88]
cmp eax, 0xffffffff
jne 0x1018ee2
rdtsc
mov dword [0x55aa84], edx
mov dword [0x55aa80], eax
push 0x55aa88
call 0x10db16c
add esp, 4
jmp 0x1018ee2
push 0x55aa98
call 0x10db1ab
add esp, 4
mov eax, dword [0x55aa98]
cmp eax, 0xffffffff
jne 0x1018f03
lea eax, [esp + 0x28]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
push eax
call dword [0x50d120]
movsd xmm0, qword [esp + 0x28]
movsd qword [0x55aa90], xmm0
push 0x55aa98
call 0x10db16c
add esp, 4
jmp 0x1018f03
Function at 0x403830
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x34], 0
je 0x403853
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
push 0
push ecx
call fcn.0054a020
add esp, 0xc
pop esi
ret 0xc
push ebx
mov ebx, dword [esp + 0x14]
test ebx, ebx
jbe 0x403931
push ebp
mov ebp, dword [esp + 0x14]
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], ebp
push edi
lea esp, [esp]
cmp dword [esi + 8], 0
jne 0x4038ac
mov eax, dword [esi + 0x30]
mov ecx, dword [esi]
push 0
lea edx, [esp + 0x20]
push edx
push 0x10000
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x403936
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x403952
mov edx, dword [esi + 0x30]
mov dword [esi + 4], edx
mov dword [esi + 8], eax
cmp dword [esi + 0x38], 0
je 0x4038e4
mov edi, dword [esi + 0x18]
mov eax, dword [esi + 8]
cmp edi, eax
jbe 0x4038be
mov edi, eax
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x14]
push edi
push eax
push ecx
call fcn.00549cb0
add dword [esi + 4], edi
add dword [esi + 0x14], edi
sub dword [esi + 8], edi
add esp, 0xc
sub dword [esi + 0x18], edi
jne 0x403870
pop edi
pop ebp
pop ebx
pop esi
ret 0xc
lea edx, [esi + 4]
push edx
invalid

Function at 0x404170
Capabilities:
Delete service
Stop service

Disassembly:
sub esp, 0x1c
push edi
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
je 0x404243
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_OpenServiceW]
push ebp
push esi
push 0x20
push str.Everything_Client
push edi
call ebx
mov ebp, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
test esi, esi
je 0x4041bd
lea eax, [esp + 0x10]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
push esi
call ebp
push 0x10000
push str.Everything_Client
push edi
call ebx
mov esi, eax
test esi, esi
je 0x40420b
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x4041fd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x58eeec]
mov ecx, dword [eax + 0x1050]
mov edx, dword [eax]
push ecx
push edx
push 0x10
push 0
call fcn.004aa1b0
add esp, 0x14
push esi
call ebp
push edi
call ebp
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x1c
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0x424
je 0x404238
call esi
push eax
mov eax, dword [0x58eeec]
mov ecx, dword [eax + 0x103c]
mov edx, dword [eax]
push ecx
push edx
push 0x10
push 0
call fcn.004aa1b0
add esp, 0x14
push edi
call ebp
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x1c
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x58eeec]
mov ecx, dword [eax + 0x1044]
mov edx, dword [eax]
push ecx
push edx
push 0x10
push 0
call fcn.004aa1b0
add esp, 0x14
pop edi
add esp, 0x1c
ret
Function at 0x404270
Capabilities:
Start service

Disassembly:
push ebx
push 2
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
test ebx, ebx
je 0x404314
push ebp
push esi
push 0x10
push str.Everything_Client
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebp, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
test esi, esi
je 0x4042eb
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x4042e1
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 0x420
je 0x4042e0
call edi
push eax
mov eax, dword [0x58eeec]
mov ecx, dword [eax + 0x1048]
mov edx, dword [eax]
push ecx
push edx
push 0x10
push 0
call fcn.004aa1b0
add esp, 0x14
pop edi
push esi
call ebp
push ebx
call ebp
pop esi
pop ebp
pop ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x58eeec]
mov ecx, dword [eax + 0x103c]
mov edx, dword [eax]
push ecx
push edx
push 0x10
push 0
call fcn.004aa1b0
add esp, 0x14
push ebx
call ebp
pop esi
pop ebp
pop ebx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x58eeec]
mov ecx, dword [eax + 0x1044]
mov edx, dword [eax]
push ecx
push edx
push 0x10
push 0
call fcn.004aa1b0
add esp, 0x14
pop ebx
ret

Function at 0x404340
Capabilities:
Stop service

Disassembly:
sub esp, 0x1c
push edi
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
je 0x4043f3
push ebp
push esi
push 0x20
push str.Everything_Client
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebp, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
test esi, esi
je 0x4043c7
lea eax, [esp + 0xc]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x4043ba
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp eax, 0x426
je 0x4043b9
call ebx
push eax
mov eax, dword [0x58eeec]
mov ecx, dword [eax + 0x104c]
mov edx, dword [eax]
push ecx
push edx
push 0x10
push 0
call fcn.004aa1b0
add esp, 0x14
pop ebx
push esi
call ebp
push edi
call ebp
pop esi
pop ebp
pop edi
add esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x58eeec]
mov ecx, dword [eax + 0x103c]
mov edx, dword [eax]
push ecx
push edx
push 0x10
push 0
call fcn.004aa1b0
add esp, 0x14
push edi
call ebp
pop esi
pop ebp
pop edi
add esp, 0x1c
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x58eeec]
mov ecx, dword [eax + 0x1044]
mov edx, dword [eax]
push ecx
push edx
push 0x10
push 0
call fcn.004aa1b0
add esp, 0x14
pop edi
add esp, 0x1c
ret
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x401088
Capabilities:
Encode data using xor

Disassembly:
push 0x54b7bc
call sub.MSVBVM60.DLL_ThunRTMain
add byte [eax], al
add byte [eax], al
add byte [eax], al
xor byte [eax], al
add byte [eax], al
cmp byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
and edx, esi
push es
out 0xcd, al
xor al, ch
dec esp
mov dword [eax], ebp
mov bh, 0xbb
jne 0x401096
ffreep st(4)
add byte [eax], al
add byte [eax], al
add byte [eax], al
add dword [eax], eax
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
mov ecx, 0x31ccb3a4
add byte [eax], al
add byte [eax], al
add byte [eax], al
add bh, bh
int3