joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418080
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x448c39
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov dword [esi], 0x44c730
mov edi, dword [esi + 0x1c]
mov eax, dword [esi + 0x20]
cmp edi, eax
mov dword [esp + 0x20], 3
je 0x4180d0
mov ecx, dword [edi]
test ecx, ecx
je 0x4180c6
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esi + 0x20]
add edi, 4
cmp edi, eax
jne 0x4180ba
mov eax, dword [esi + 0x20]
mov edi, dword [esi + 0x1c]
lea ebx, [esi + 0x18]
cmp eax, eax
mov ecx, eax
je 0x4180ed
mov edx, dword [ecx]
add ecx, 4
mov dword [edi], edx
add edi, 4
cmp ecx, eax
jne 0x4180df
mov eax, dword [ebx + 8]
mov ecx, ebx
push eax
push edi
call fcn.0041a130
mov dword [ebx + 8], edi
mov edi, dword [esi + 0x2c]
cmp edi, dword [esi + 0x30]
je 0x41811a
mov ecx, dword [edi]
test ecx, ecx
je 0x418110
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esi + 0x30]
add edi, 4
cmp edi, eax
jne 0x418104
mov ecx, dword [esi + 0x30]
mov edx, dword [esi + 0x2c]
cmp ecx, ecx
mov eax, ecx
je 0x418134
mov edi, dword [eax]
add eax, 4
mov dword [edx], edi
add edx, 4
cmp eax, ecx
jne 0x418126
mov ecx, dword [esi + 0x30]
mov dword [esi + 0x30], edx
mov ebp, dword [esi + 0x40]
mov edi, dword [esi + 0x3c]
cmp edi, ebp
mov dword [esp + 0x14], ecx
mov byte [esp + 0x20], 2
je 0x41815f
mov edx, dword [edi]
push 0
mov ecx, edi
call dword [edx]
add edi, 0xb4
cmp edi, ebp
jne 0x41814d
mov eax, dword [esi + 0x3c]
push eax
call fcn.0043c8a0
xor edi, edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov eax, dword [esi + 0x2c]
push eax
mov dword [esp + 0x1c], eax
call fcn.0043c8a0
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov eax, dword [ebx + 4]
push eax
mov dword [esp + 0x20], eax
call fcn.0043c8a0
add esp, 0xc
mov ecx, esi
mov dword [ebx + 4], edi
mov dword [ebx + 8], edi
mov dword [ebx + 0xc], edi
mov dword [esp + 0x20], 0xffffffff
call fcn.004136e0
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x41bd40
Capabilities:
Check if file exists

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
mov ebp, ecx
push edi
push ebx
mov dword [esp + 0x14], ebp
lea esi, [ebp + 0x28]
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
mov edi, eax
mov ecx, esi
push 1
push edi
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Grow_unsigned_int__bool_]
test al, al
je 0x41bd97
mov eax, dword [esi + 4]
mov ecx, ebx
test edi, edi
jbe 0x41bd8b
mov edx, edi
mov bp, word [ecx]
add ecx, 2
mov word [eax], bp
add eax, 2
dec edx
jne 0x41bd78
mov ebp, dword [esp + 0x10]
mov eax, dword [esi + 4]
mov dword [esi + 8], edi
mov word [eax + edi*2], 0
test ebx, ebx
jne 0x41bda0
mov ebx, 0x457dd4
push ebx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
mov edi, eax
mov ecx, esi
push 1
push edi
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Grow_unsigned_int__bool_]
test al, al
je 0x41bde1
mov eax, dword [esi + 4]
mov ecx, ebx
test edi, edi
jbe 0x41bdd5
mov edx, edi
mov bx, word [ecx]
add ecx, 2
mov word [eax], bx
add eax, 2
dec edx
jne 0x41bdc6
mov ecx, dword [esi + 4]
mov dword [esi + 8], edi
mov word [ecx + edi*2], 0
mov eax, dword [ebp + 0x30]
test eax, eax
je 0x41be10
mov esi, dword [esi + 4]
test esi, esi
jne 0x41bdf5
mov esi, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41be10
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0xc]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
pop edi
pop esi
pop ebp
xor al, al
pop ebx
pop ecx
ret 4

Function at 0x420030
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov edx, dword [ecx + 0x14]
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
lea eax, [ebp + ebp*2]
lea ebx, [edx + eax*8]
mov edx, dword [edx + eax*8 + 4]
test edx, edx
jne 0x42004e
xor esi, esi
jmp 0x420054
mov eax, dword [ebx + 8]
lea esi, [edx + eax*2]
cmp edx, esi
mov eax, 0x811c9dc5
je 0x420071
imul eax, eax, 0x1000193
xor edi, edi
mov di, word [edx]
add edx, 2
xor eax, edi
cmp edx, esi
jne 0x42005d
mov edi, dword [ecx + 4]
test edi, edi
jne 0x42007c
xor esi, esi
jmp 0x420084
mov esi, dword [ecx + 8]
sub esi, edi
sar esi, 2
xor edx, edx
div esi
mov eax, dword [edi + edx*4]
pop edi
mov dword [ebx + 0x14], eax
mov ecx, dword [ecx + 4]
pop esi
mov dword [ecx + edx*4], ebp
pop ebp
pop ebx
ret 4
Function at 0x4200a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov edx, dword [ecx + 0x14]
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
lea eax, [ebp + ebp*8]
lea ebx, [edx + eax*4]
mov edx, dword [edx + eax*4 + 4]
test edx, edx
jne 0x4200be
xor esi, esi
jmp 0x4200c4
mov eax, dword [ebx + 8]
lea esi, [edx + eax*2]
cmp edx, esi
mov eax, 0x811c9dc5
je 0x4200e1
imul eax, eax, 0x1000193
xor edi, edi
mov di, word [edx]
add edx, 2
xor eax, edi
cmp edx, esi
jne 0x4200cd
mov edi, dword [ecx + 4]
test edi, edi
jne 0x4200ec
xor esi, esi
jmp 0x4200f4
mov esi, dword [ecx + 8]
sub esi, edi
sar esi, 2
xor edx, edx
div esi
mov eax, dword [edi + edx*4]
pop edi
mov dword [ebx + 0x20], eax
mov ecx, dword [ecx + 4]
pop esi
mov dword [ecx + edx*4], ebp
pop ebp
pop ebx
ret 4

Function at 0x420690
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], 0xffffffff
mov ecx, dword [esi + 8]
mov edi, dword [esi + 4]
mov eax, ecx
cmp eax, ecx
je 0x4206b9
mov edx, dword [eax]
add eax, 4
mov dword [edi], edx
add edi, 4
cmp eax, ecx
jne 0x4206ab
mov eax, dword [esi + 8]
mov ecx, esi
push eax
push edi
call fcn.00420780
mov edx, dword [esp + 0x18]
mov eax, dword [esi + 4]
lea ecx, [esp + 0x10]
mov dword [esi + 8], edi
push ecx
push edx
push eax
mov ecx, esi
call fcn.0041ef30
xor ebp, ebp
mov dword [esp + 0x18], ebp
mov eax, dword [esi + 0x14]
test eax, eax
je 0x420773
mov ecx, dword [esi + 0x18]
sub ecx, eax
mov eax, 0x38e38e39
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
cmp ebp, edx
jae 0x420773
mov edi, dword [esi + 0x14]
mov ecx, dword [esp + 0x18]
add edi, ecx
mov ecx, dword [edi + 4]
test ecx, ecx
jne 0x42071c
xor edx, edx
jmp 0x420722
mov edx, dword [edi + 8]
lea edx, [ecx + edx*2]
cmp ecx, edx
mov eax, 0x811c9dc5
je 0x42073f
imul eax, eax, 0x1000193
xor ebx, ebx
mov bx, word [ecx]
add ecx, 2
xor eax, ebx
cmp ecx, edx
jne 0x42072b
mov ebx, dword [esi + 4]
test ebx, ebx
jne 0x42074a
xor ecx, ecx
jmp 0x420752
mov ecx, dword [esi + 8]
sub ecx, ebx
sar ecx, 2
xor edx, edx
div ecx
mov eax, dword [ebx + edx*4]
mov dword [edi + 0x20], eax
mov ecx, dword [esi + 4]
mov eax, dword [esp + 0x18]
mov dword [ecx + edx*4], ebp
inc ebp
add eax, 0x24
mov dword [esp + 0x18], eax
jmp 0x4206e3
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
Function at 0x420b20
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], 0xffffffff
mov ecx, dword [esi + 8]
mov edi, dword [esi + 4]
mov eax, ecx
cmp eax, ecx
je 0x420b49
mov edx, dword [eax]
add eax, 4
mov dword [edi], edx
add edi, 4
cmp eax, ecx
jne 0x420b3b
mov eax, dword [esi + 8]
mov ecx, esi
push eax
push edi
call fcn.00420780
mov edx, dword [esp + 0x18]
mov eax, dword [esi + 4]
lea ecx, [esp + 0x10]
mov dword [esi + 8], edi
push ecx
push edx
push eax
mov ecx, esi
call fcn.0041ef30
xor ebp, ebp
mov dword [esp + 0x18], ebp
mov eax, dword [esi + 0x14]
test eax, eax
je 0x420c03
mov ecx, dword [esi + 0x18]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
cmp ebp, edx
jae 0x420c03
mov edi, dword [esi + 0x14]
mov ecx, dword [esp + 0x18]
add edi, ecx
mov ecx, dword [edi + 4]
test ecx, ecx
jne 0x420bac
xor edx, edx
jmp 0x420bb2
mov edx, dword [edi + 8]
lea edx, [ecx + edx*2]
cmp ecx, edx
mov eax, 0x811c9dc5
je 0x420bcf
imul eax, eax, 0x1000193
xor ebx, ebx
mov bx, word [ecx]
add ecx, 2
xor eax, ebx
cmp ecx, edx
jne 0x420bbb
mov ebx, dword [esi + 4]
test ebx, ebx
jne 0x420bda
xor ecx, ecx
jmp 0x420be2
mov ecx, dword [esi + 8]
sub ecx, ebx
sar ecx, 2
xor edx, edx
div ecx
mov eax, dword [ebx + edx*4]
mov dword [edi + 0x14], eax
mov ecx, dword [esi + 4]
mov eax, dword [esp + 0x18]
mov dword [ecx + edx*4], ebp
inc ebp
add eax, 0x18
mov dword [esp + 0x18], eax
jmp 0x420b73
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4

Function at 0x421970
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x14]
push edi
test eax, eax
je 0x421a17
mov ecx, dword [ebx + 0x18]
sub ecx, eax
mov eax, 0x38e38e39
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
je 0x421a17
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x4219a8
xor edx, edx
jmp 0x4219ae
mov edx, dword [eax + 8]
lea edx, [ecx + edx*2]
cmp ecx, edx
mov eax, 0x811c9dc5
je 0x4219cb
imul eax, eax, 0x1000193
xor esi, esi
mov si, word [ecx]
add ecx, 2
xor eax, esi
cmp ecx, edx
jne 0x4219b7
mov esi, dword [ebx + 4]
test esi, esi
jne 0x4219d6
xor ecx, ecx
jmp 0x4219de
mov ecx, dword [ebx + 8]
sub ecx, esi
sar ecx, 2
xor edx, edx
div ecx
mov edi, dword [esi + edx*4]
cmp edi, 0xffffffff
je 0x421a17
mov ebp, dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const__]
mov eax, dword [ebx + 0x14]
mov ecx, dword [esp + 0x14]
lea esi, [edi + edi*8]
push ecx
shl esi, 2
lea edx, [esi + eax]
push edx
call ebp
add esp, 8
test al, al
jne 0x421a21
mov eax, dword [ebx + 0x14]
mov edi, dword [eax + esi + 0x20]
cmp edi, 0xffffffff
jne 0x4219f0
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x421cd0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
cmp ecx, edx
mov eax, 0x811c9dc5
je 0x421cf7
push esi
imul eax, eax, 0x1000193
xor esi, esi
mov si, word [ecx]
add ecx, 2
xor eax, esi
cmp ecx, edx
jne 0x421ce2
pop esi
ret
Function at 0x426230
Capabilities:
Check if file exists
Create directory

Disassembly:
sub esp, 0x208
mov ecx, 0x82
xor eax, eax
push edi
lea edi, [esp + 4]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x210]
lea ecx, [esp + 4]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
lea edx, [esp + 4]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [esp + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
pop edi
jne 0x426282
lea ecx, [esp]
push eax
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov al, 1
add esp, 0x208
ret

Function at 0x426cc0
Capabilities:
Delete file

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 4]
test eax, eax
jne 0x426cd1
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push 0
push eax
call dword [sym.imp.MSVCRT.dll__waccess]
add esp, 8
test eax, eax
je 0x426ce5
mov al, 1
pop esi
ret
mov eax, dword [esi + 4]
test eax, eax
jne 0x426cf1
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne al
pop esi
ret
Function at 0x427950
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x427986
mov ecx, dword [esp + 0xc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x427977
mov edx, dword [esi]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0xffffffff
pop esi
ret

Function at 0x427bc0
Capabilities:
Enumerate process modules
Terminate process

Disassembly:
mov eax, 0x1218
call fcn.00447190
push ebx
push esi
push edi
mov ecx, 7
mov esi, 0x455fdc
lea edi, [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ecx, 0x7a
xor eax, eax
lea edi, [esp + 0x3a]
xor ebx, ebx
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], ebx
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [esp + 0x18], eax
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x228]
push 0x1000
push ecx
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x427cdd
push ebp
mov ebp, dword [esp + 0x10]
shr ebp, 2
je 0x427cbc
lea edi, [esp + 0x228]
mov edx, dword [edi]
push edx
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x427ca0
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
push 4
push ecx
push esi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x427ca0
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x20]
push 0x208
push edx
push eax
push esi
call sub.PSAPI.DLL_GetModuleBaseNameW
mov ecx, dword [esp + 0x122c]
lea edx, [esp + 0x20]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x427ca0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x1c]
mov ecx, dword [edi]
cmp ecx, eax
jne 0x427cb1
jmp 0x427ca7
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
add edi, 4
cmp ebx, ebp
jb 0x427c32
jmp 0x427cbc
mov ecx, dword [esp + ebx*4 + 0x228]
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x14]
push edx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp eax, 0xffffffff
pop ebp
je 0x427cdd
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop edi
pop esi
pop ebx
add esp, 0x1218
ret
Function at 0x427d30
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x18
and eax, 0xffff
push ebx
push esi
push 0x455ffc
xor ebx, ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, ebx
jne 0x427d5b
pop esi
xor eax, eax
pop ebx
add esp, 0x18
ret
push ebp
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebp, eax
push ebp
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push ebx
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, dword [esp + 0x30]
mov dword [esp + 0x2c], eax
mov cl, byte [esp + 0x2c]
push edi
mov byte [esp + 0x1c], cl
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
mov esi, eax
lea ecx, [esp + 0x18]
push 1
push esi
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Grow_unsigned_int__bool_]
test al, al
je 0x427ddc
mov eax, dword [esp + 0x1c]
cmp esi, ebx
mov ecx, edi
jbe 0x427dd0
mov edx, esi
mov bx, word [ecx]
add ecx, 2
mov word [eax], bx
add eax, 2
dec edx
jne 0x427dbf
xor ebx, ebx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x20], esi
mov word [edx + esi*2], bx
lea eax, [esp + 0x18]
push eax
call fcn.00426cc0
mov ecx, dword [esp + 0x20]
add esp, 4
cmp ecx, ebx
je 0x427e0f
mov al, byte [ecx - 1]
cmp al, bl
je 0x427e03
cmp al, 0xff
je 0x427e03
dec al
mov byte [ecx - 1], al
jmp 0x427e0f
add ecx, 0xfffffffe
push ecx
call fcn.0043c8a0
add esp, 4
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x14]
mov esi, eax
mov eax, dword [esp + 0x10]
push ebx
push ecx
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov ecx, dword [esp + 0x34]
push 1
push 1
push ecx
push edi
call fcn.00427e70
add esp, 0x10
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x18
ret
Function at 0x427e70
Capabilities:
Check os version
Create process on windows

Disassembly:
sub esp, 0x31c
mov ecx, 0x82
xor eax, eax
push edi
lea edi, [esp + 4]
rep stosd dword es:[edi], eax
mov al, byte [esp + 0x32c]
test al, al
jne 0x427eb1
lea eax, [esp + 4]
push eax
call fcn.00427580
mov ecx, dword [esp + 0x328]
lea edx, [esp + 8]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll_wcscat]
add esp, 0xc
jmp 0x427ec7
mov eax, dword [esp + 0x324]
lea ecx, [esp + 4]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
mov al, byte [esp + 0x330]
test al, al
jne 0x427ef5
mov edx, dword [esp + 0x328]
push 1
push 0
lea eax, [esp + 0xc]
push edx
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
add esp, 0x31c
ret
mov ecx, 0x45
xor eax, eax
lea edi, [esp + 0x20c]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x20c]
mov dword [esp + 0x20c], 0x114
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x427f4c
mov edx, dword [esp + 0x328]
push 1
push eax
lea eax, [esp + 0xc]
push edx
push eax
push 0x456004
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
add esp, 0x31c
ret
mov eax, dword [esp + 0x210]
push 1
cmp eax, 5
push 0
jbe 0x427f83
mov ecx, dword [esp + 0x330]
lea edx, [esp + 0xc]
push ecx
push edx
push 0x456004
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
add esp, 0x31c
ret
mov eax, dword [esp + 0x330]
lea ecx, [esp + 0xc]
push eax
push ecx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
add esp, 0x31c
ret

Function at 0x428040
Capabilities:
Find taskbar

Disassembly:
sub esp, 0x1c
push ebx
push esi
push edi
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, dword [sym.imp.USER32.dll_FindWindowExW]
push 0
push str.TrayNotifyWnd
push 0
push eax
call esi
push 0
push str.SysPager
push 0
push eax
call esi
push 0
push str.ToolbarWindow32
push 0
push eax
call esi
mov ebx, eax
lea eax, [esp + 0x18]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
sub edx, esi
mov edi, 1
dec edx
mov dword [esp + 0xc], edi
cmp edx, edi
jle 0x42811b
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
push ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
mov edx, eax
mov esi, 1
sub edx, ecx
dec edx
cmp edx, esi
jle 0x428106
and edi, 0xffff
mov eax, esi
and eax, 0xffff
shl eax, 0x10
or eax, edi
push eax
push 0
push 0x200
push ebx
call ebp
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
mov edx, eax
inc esi
sub edx, ecx
dec edx
cmp esi, edx
jl 0x4280d1
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x1c]
sub edx, esi
inc edi
dec edx
mov dword [esp + 0x10], edi
cmp edi, edx
jl 0x4280bd
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x1c
ret
Function at 0x428180
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4498f4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov al, byte [esp + 3]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov cl, byte [esp + 0x13]
xor ebx, ebx
push 0x54
mov dword [esp + 0x1c], esi
mov byte [esi], al
mov byte [esi + 1], cl
mov byte [esi + 8], bl
call fcn.0043c870
mov edi, eax
add esp, 4
lea ecx, [esp + 0x14]
mov ebp, edi
mov dword [edi + 4], ebx
mov dword [edi + 0x50], 1
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::constructor_void_]
cmp dword [0x457ec0], ebx
jne 0x4281f1
mov dword [0x457ec0], edi
mov dword [edi], ebx
mov edx, dword [0x457ec0]
xor ebp, ebp
mov dword [edx + 8], ebx
mov ecx, dword [0x457ebc]
inc ecx
mov dword [0x457ebc], ecx
lea ecx, [esp + 0x14]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
cmp ebp, ebx
je 0x428215
push ebp
call fcn.0043c8a0
add esp, 4
mov edi, dword [0x457ec0]
push 0x54
call fcn.0043c870
mov dword [eax + 4], edi
mov dword [eax + 0x50], ebx
mov dword [esi + 4], eax
mov dword [esi + 0xc], ebx
mov dword [eax], eax
mov eax, dword [esi + 4]
add esp, 4
mov dword [eax + 8], eax
mov al, byte [esp + 0x13]
mov dword [esp + 0x24], ebx
mov byte [esi + 0x30], al
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
lea ecx, [esi + 0x14]
mov byte [esp + 0x24], 1
push ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov ecx, esi
call fcn.00428480
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x42c3f0
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp esi, 0xffffffff
je 0x42c41a
push 0x2710
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x42c413
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
ret 4