joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b6d4
Capabilities:
Check if file exists
Delete file
Get common file path
Move file

Disassembly:
push ebp
lea ebp, [esp - 0x5a4]
sub esp, 0x624
mov eax, dword [0x4f43d8]
xor eax, ebp
mov dword [ebp + 0x5a0], eax
push esi
mov esi, dword [ebp + 0x5ac]
push esi
mov dword [ebp - 0x80], esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40b818
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
call ebx
test eax, eax
jne 0x40b817
push edi
mov esi, 0x206
xor edi, edi
push esi
lea eax, [ebp - 0x76]
push edi
push eax
mov word [ebp - 0x78], di
call fcn.00444860
push esi
lea eax, [ebp + 0x192]
push edi
push eax
mov word [ebp + 0x190], di
call fcn.00444860
add esp, 0x18
lea eax, [ebp + 0x190]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x80]
call fcn.0040b462
pop ecx
pop ecx
mov dword [ebp - 0x7c], edi
push esi
lea eax, [ebp + 0x39a]
push edi
push eax
mov word [ebp + 0x398], di
call fcn.00444860
add esp, 0xc
cmp dword [ebp - 0x7c], edi
lea eax, [ebp - 0x78]
jne 0x40b7aa
push eax
lea eax, [ebp + 0x190]
push eax
lea eax, [ebp + 0x398]
push str._s_s.del
push eax
call fcn.00444a15
add esp, 0x10
jmp 0x40b7c9
push dword [ebp - 0x7c]
push eax
lea eax, [ebp + 0x190]
push eax
lea eax, [ebp + 0x398]
push str._s_s.del_d
push eax
call fcn.00444a15
add esp, 0x14
lea eax, [ebp + 0x398]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40b7f5
lea eax, [ebp + 0x398]
push eax
call ebx
cmp eax, edi
jne 0x40b7f5
cmp dword [ebp - 0x7c], 0xa
jge 0x40b816
inc dword [ebp - 0x7c]
jmp 0x40b76c
lea eax, [ebp + 0x398]
push eax
push dword [ebp - 0x80]
call fcn.004463ba
pop ecx
pop ecx
push 5
push edi
lea eax, [ebp + 0x398]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
pop edi
pop ebx
mov ecx, dword [ebp + 0x5a0]
xor ecx, ebp
pop esi
call fcn.004442cc
add ebp, 0x5a4
leave
ret

Function at 0x40b82e
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0xf60]
sub esp, 0xfe0
mov eax, dword [0x4f43d8]
xor eax, ebp
mov dword [ebp + 0xf5c], eax
push esi
mov esi, dword [ebp + 0xf68]
push 0x7d0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x38]
push str.Program_FilesInternet_Exploreriexplore.exe
push eax
call fcn.00444604
lea eax, [ebp - 0x44]
push esi
push eax
call fcn.004445da
push 0x3c
lea eax, [ebp - 0x80]
push 0
push eax
call fcn.00444860
add esp, 0x1c
xor ecx, ecx
inc ecx
push ecx
push 0
push 0
mov eax, str.open
push esi
push eax
push 0
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x7c], 0x200
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x64], ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
pop esi
ja 0x40b8be
lea eax, [ebp - 0x44]
push eax
call fcn.0040b314
pop ecx
mov ecx, dword [ebp + 0xf5c]
xor ecx, ebp
call fcn.004442cc
add ebp, 0xf60
leave
ret
Function at 0x40b8d3
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.004445c4
test eax, eax
pop ecx
je 0x40b92b
push 0x3c
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.00444860
add esp, 0xc
xor ecx, ecx
inc ecx
push ecx
push 0
push 0
mov eax, str.open
push esi
push eax
push 0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x38], 0x200
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x20], ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x40b92b
push esi
call fcn.0040b314
pop ecx
pop esi
leave
ret
Function at 0x418581
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x11
xor edi, edi
call esi
test ax, ax
jge 0x418597
push 8
pop edi
push 2
call esi
test ax, ax
jge 0x4185a3
or edi, 1
push 1
call esi
test ax, ax
jge 0x4185af
or edi, 2
push 0x10
call esi
test ax, ax
jge 0x4185bb
or edi, 4
push 0x12
call esi
test ax, ax
jge 0x4185c7
or edi, 0x20
mov eax, edi
pop edi
pop esi
ret

Function at 0x418717
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4f43d8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push 0x208
push eax
mov dword [ebp - 0x214], eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.00444860
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0xffffffffffffffff
lea eax, [ebp - 0x210]
push eax
mov ecx, esi
call sym.WNUninst.exe_public:_void___thiscall_DuiLib::CDuiString::constructor_wchar_t_const___int_
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004442cc
leave
ret

Function at 0x41acc4
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [esi]
cmp eax, ecx
mov ebx, dword [ebp + 8]
je 0x41ace9
cmp ebx, dword [esi + 0x54]
je 0x41ace9
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0x54]
cmp ebx, eax
je 0x41adab
test eax, eax
push edi
je 0x41ad3c
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0x14
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x54]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
push edx
call dword [eax + pe_nt_image_headers32]
xor edi, edi
push edi
push edi
push edi
push str.killfocus
push dword [esi + 0x54]
mov ecx, esi
call sym.WNUninst.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
mov dword [esi + 0x54], edi
test ebx, ebx
je 0x41adaa
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
cmp eax, esi
jne 0x41adaa
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc8]
test al, al
je 0x41adaa
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xd4]
test al, al
je 0x41adaa
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [esi + 0x54], ebx
mov dword [ebp - 0x20], 0x15
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x54]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
push edx
call dword [eax + pe_nt_image_headers32]
xor eax, eax
push eax
push eax
push eax
push str.setfocus
push dword [esi + 0x54]
mov ecx, esi
call sym.WNUninst.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x41afa8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + 0xd0]
mov ecx, edi
xor ebx, ebx
call sym.WNUninst.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
test eax, eax
jle 0x41aff7
push ebx
mov ecx, edi
mov byte [ebp - 1], 0
call sym.WNUninst.exe_public:_void____thiscall_DuiLib::CStdPtrArray::operator___int_const
mov edx, dword [eax]
lea ecx, [ebp - 1]
push ecx
push dword [ebp + 0x10]
mov ecx, eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [edx]
cmp byte [ebp - 1], 0
jne 0x41b05b
mov ecx, edi
inc ebx
call sym.WNUninst.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
cmp ebx, eax
jl 0x41afc6
mov eax, dword [ebp + 8]
sub eax, 0x100
je 0x41b0b4
sub eax, 4
je 0x41b05f
dec eax
dec eax
jne 0x41b0ab
and word [ebp + 8], 0
push dword [ebp + 0xc]
xor eax, eax
lea edi, [ebp + 0xa]
stosw word es:[edi], ax
call fcn.00448321
pop ecx
mov ecx, dword [esi + 0x50]
push reloc.WS2_32.dll_ioctlsocket
lea edx, [ebp + 8]
push edx
mov word [ebp + 8], ax
mov eax, dword [ecx]
push sym.WNUninst.exe_private:_static_class_DuiLib::CControlUI____stdcall_DuiLib::CPaintManagerUI::__FindControlFromShortcut_class_DuiLib::CControlUI___void__
call dword [eax + 0xfc]
mov esi, eax
test esi, esi
je 0x41b0ab
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xf0]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov al, 1
jmp 0x41b0ad
cmp dword [esi + 0x54], 0
je 0x41b0ab
xor eax, eax
push 7
pop ecx
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
mov ax, word [ebp + 0xc]
mov word [ebp - 0x10], ax
mov eax, dword [esi + 0x64]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x68]
mov dword [ebp - 0x24], 6
mov dword [ebp - 0x14], eax
call fcn.00418581
mov word [ebp - 0xe], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x54]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx]
push edx
call dword [eax + pe_nt_image_headers32]
xor al, al
pop edi
pop esi
pop ebx
leave
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x41b0ab
cmp dword [esi + 0x54], 0
je 0x41b103
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
call dword [eax + 0xc8]
test al, al
je 0x41b103
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
call dword [eax + 0xd4]
test al, al
je 0x41b103
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
push str.RichEditUI
call dword [eax + 0xc]
push eax
call fcn.00446009
test eax, eax
pop ecx
pop ecx
je 0x41b103
mov ecx, dword [esi + 0x54]
call sym.WNUninst.exe_public:_bool___thiscall_DuiLib::CRichEditUI::IsWantTab_void_
test al, al
jne 0x41b0ab
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setge al
mov ecx, esi
push eax
call sym.WNUninst.exe_public:_bool___thiscall_DuiLib::CPaintManagerUI::SetNextTabControl_bool_
jmp 0x41b05b
Function at 0x42cc53
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x4f43d8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp byte [esi + 0x18], bl
push edi
je 0x42ccc4
cmp dword [esi + 0x10], ebx
je 0x42ccc4
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
inc edi
lea eax, [edi + edi]
call fcn.004480f0
cmp esp, ebx
mov dword [ebp - 8], esp
je 0x42ccc4
push edi
push dword [ebp - 8]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x10]
push dword [ebp - 8]
add ecx, 0x1b8
call fcn.00417ad9
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
push ebx
push ebx
push ebx
push str.textchanged
push ecx
call dword [eax + 0x1c]
mov ecx, eax
call sym.WNUninst.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
xor eax, eax
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004442cc
leave
ret 0x10

Function at 0x43124e
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x4d4], ebx
je 0x4312b6
cmp dword [ebp + 8], 0x100
jne 0x4312a5
cmp word [ebp + 0xc], 0xd
jne 0x4312a5
cmp byte [esi + 0x4da], bl
je 0x43128c
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x4312a5
cmp byte [esi + 0x4db], bl
jne 0x4312a5
mov ecx, dword [esi + 0x40]
cmp ecx, ebx
je 0x4312a1
push ebx
push ebx
push ebx
push str.return
push esi
call sym.WNUninst.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
xor eax, eax
jmp 0x4312b9
mov eax, dword [esi + 0x4d4]
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop esi
pop ebx
pop ebp
jmp dword [eax + 0xc]
xor eax, eax
inc eax
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x439f0f
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edx, dword [esp + 8]
test edx, edx
jne 0x439f1a
xor eax, eax
ret
mov eax, dword [esp + 0xc]
cmp eax, 8
push ebx
push esi
mov esi, dword [esp + 0xc]
not esi
mov ecx, 0xff
jb 0x439fd5
push edi
mov edi, eax
shr edi, 3
movzx ebx, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x4b9e58]
inc edx
movzx ebx, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x4b9e58]
inc edx
movzx ebx, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x4b9e58]
inc edx
movzx ebx, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x4b9e58]
inc edx
movzx ebx, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x4b9e58]
inc edx
movzx ebx, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x4b9e58]
inc edx
movzx ebx, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x4b9e58]
inc edx
movzx ebx, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x4b9e58]
inc edx
sub eax, 8
dec edi
jne 0x439f3a
pop edi
test eax, eax
je 0x439fee
movzx ebx, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x4b9e58]
inc edx
dec eax
jne 0x439fd9
mov eax, esi
pop esi
not eax
pop ebx
ret

Function at 0x43a487
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0xc]
imul edi, dword [ebp + 0x10]
cmp byte [esi], 0
je 0x43a4bb
push 0
lea eax, [ebp + 0x10]
push eax
push edi
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x43a4b6
mov byte [esi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x43a4e3
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x14]
lea edx, [ecx + edi]
cmp edx, eax
jbe 0x43a4cc
sub eax, ecx
mov edi, eax
mov eax, dword [esi + 0x10]
push edi
add eax, ecx
push eax
push dword [ebp + 8]
call fcn.00445050
add esp, 0xc
add dword [esi + 0x18], edi
mov eax, edi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop esi
pop ebp
ret

Function at 0x43b279
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x4f43d8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x43b322
movzx ecx, word [esi]
test cx, cx
je 0x43b322
mov eax, esi
mov edx, esi
movzx ecx, cx
cmp cx, 0x2f
je 0x43b2b7
cmp cx, 0x5c
jne 0x43b2b9
mov eax, edx
inc edx
inc edx
movzx ecx, word [edx]
test cx, cx
jne 0x43b2ab
cmp eax, esi
je 0x43b2f6
push edi
sub eax, esi
mov edi, eax
sar edi, 1
push edi
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.004480a5
and word [ebp + edi*2 - 0x20c], 0
lea eax, [ebp - 0x20c]
push eax
push ebx
call fcn.0043b279
add esp, 0x14
pop edi
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.00444604
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.004445da
add esp, 0x10
push 0
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004442cc
leave
ret
Function at 0x43c853
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x43c8ce
cmp dword [esi + 4], 0xffffffff
jne 0x43c8ce
push edi
lea edi, [esi + 0x138]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x4b0a48
push edi
call fcn.004445da
cmp dword [ebp + 0x10], 1
pop ecx
pop ecx
pop edi
jne 0x43c8a0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x43c8a0
mov eax, 0x2000000
jmp 0x43c8d3
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0043a29d
add esp, 0x10
test eax, eax
jne 0x43c8be
mov eax, dword [ebp + 0x10]
jmp 0x43c8d3
push eax
call fcn.0043c44f
mov dword [esi], eax
mov eax, dword [0x4f64f0]
pop ecx
jmp 0x43c8d3
mov eax, 0x1000000
pop esi
pop ebp
ret 0xc
Function at 0x43f70d
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, eax
mov eax, dword [esi + 8]
push edi
mov edi, eax
and edi, 7
je 0x43f732
cmp eax, edi
jge 0x43f72a
mov eax, esi
call fcn.0043f101
mov ecx, edi
shr dword [esi + 0xc], cl
sub dword [esi + 8], edi
xor ecx, ecx
cmp dword [esi + 8], ecx
jle 0x43f754
mov al, byte [esi + 0xc]
shr dword [esi + 0xc], 8
add dword [esi + 8], 0xfffffff8
mov byte [ebp + ecx - 4], al
inc ecx
cmp dword [esi + 8], 0
jg 0x43f739
cmp ecx, 4
jge 0x43f773
mov edi, dword [esi + 4]
mov eax, dword [esi]
cmp eax, edi
jb 0x43f761
xor eax, eax
jmp 0x43f769
mov dl, byte [eax]
inc eax
mov dword [esi], eax
movzx eax, dl
mov byte [ebp + ecx - 4], al
inc ecx
cmp ecx, 4
jl 0x43f757
movzx edi, byte [ebp - 3]
movzx eax, byte [ebp - 4]
movzx ecx, byte [ebp - 2]
shl edi, 8
add edi, eax
movzx eax, byte [ebp - 1]
shl eax, 8
add eax, ecx
mov ecx, edi
xor ecx, 0xffff
cmp eax, ecx
je 0x43f7a5
mov eax, str.zlib_corrupt
call fcn.0043cd40
jmp 0x43f7e0
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x43f7b5
mov eax, str.read_past_buffer
jmp 0x43f79e
mov eax, dword [esi + 0x10]
add eax, edi
cmp eax, dword [esi + 0x18]
jbe 0x43f7ca
mov ecx, edi
call fcn.0043f12c
test eax, eax
je 0x43f7e0
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.00445050
add dword [esi], edi
add dword [esi + 0x10], edi
xor eax, eax
add esp, 0xc
inc eax
pop edi
pop esi
leave
ret

Function at 0x4442cc
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4f43d8]
jne 0x4442d6
repz ret
jmp fcn.0044beac
Function at 0x456a99
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0044a54d
xor ebx, ebx
cmp dword [0x4f7200], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x456b6e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x456ad9
xor eax, eax
jmp 0x456c32
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x456ad2
push eax
call fcn.0044a4ea
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4f7200], eax
call esi
push eax
call fcn.0044a4ea
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4f7204], eax
call esi
push eax
call fcn.0044a4ea
mov dword [0x4f7208], eax
lea eax, [ebp - 8]
push eax
call fcn.00450590
test eax, eax
pop ecx
pop ecx
je 0x456b3c
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00443a0b
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x456b6e
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0044a4ea
cmp eax, ebx
pop ecx
mov dword [0x4f7210], eax
je 0x456b6e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0044a4ea
pop ecx
mov dword [0x4f720c], eax
mov eax, dword [0x4f720c]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x456be7
cmp dword [0x4f7210], esi
je 0x456be7
push eax
call fcn.0044a556
pop ecx
call eax
cmp eax, ebx
je 0x456bb4
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4f7210]
call fcn.0044a556
pop ecx
call eax
test eax, eax
je 0x456bb4
test byte [ebp - 0x18], 1
jne 0x456be7
lea eax, [ebp - 0xc]
push eax
call fcn.004505c7
test eax, eax
pop ecx
je 0x456bcf
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00443a0b
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x456bde
or dword [ebp + 0x10], 0x200000
jmp 0x456c18
or dword [ebp + 0x10], 0x40000
jmp 0x456c18
mov eax, dword [0x4f7204]
cmp eax, esi
je 0x456c18
push eax
call fcn.0044a556
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x456c18
mov eax, dword [0x4f7208]
cmp eax, esi
je 0x456c18
push dword [ebp - 4]
push eax
call fcn.0044a556
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x4f7200]
call fcn.0044a556
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x45ea16
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4f43d8]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0045e9ab
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00444860
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x45ea65
cmp dword [ebp - 0x1c], 5
jb 0x45ea7d
jmp 0x45ea79
cmp dword [ebp - 0x10], 1
jne 0x45ea7d
cmp dword [ebp - 0x1c], 4
ja 0x45ea79
jne 0x45ea7d
cmp dword [ebp - 0x18], 0
jbe 0x45ea7d
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x4bcbd8
call fcn.00407752
test eax, eax
jge 0x45ea9e
mov byte [0x4f5e80], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004442cc
add ebp, 0x78
leave
ret

Function at 0x45f840
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4aea13
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x4f43d8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor ebx, ebx
or eax, 0xffffffff
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov dword [esi + 0xc], ebx
mov dword [esi + 0x20], 0x4f72fc
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
lea ecx, [esi + 0x34]
mov dword [esi], vtable.TiXmlDocument.0
mov dword [esp + 0x18], ebx
mov dword [ecx], 0x4f72fc
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], eax
push ebx
push 0x4b258e
mov byte [esp + 0x20], 1
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], bl
mov byte [esi + 0x2c], bl
mov dword [esi + 0x30], ebx
call fcn.0045ebc0
mov dword [esi + 0x40], ebx
mov dword [esi + 0x3c], ebx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret