joyce8/EMBER2024-capa huggingface dataset:
Function at 0x433602
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x9c
lea ebp, [esp - 4]
mov eax, dword [0x5550ec]
xor eax, ebp
mov dword [ebp + 0x9c], eax
push 0xc
mov eax, 0x4eb89f
call fcn.004d766c
lea ecx, [ebp]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
xor esi, esi
push 0x512c20
lea ecx, [ebp]
mov dword [ebp - 4], esi
call dword [0x506424]
push str.9B7A98EC_7EF9_468c_ACC8_37C793DBD7E0
lea ecx, [ebp]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
push str.Implemented_Categories_
lea ecx, [ebp]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
push str.A5F7140E_4311_4ef9_AABC_F55941B5EBE5
lea ecx, [ebp]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
mov dword [ebp - 0x10], esi
jae 0x43367b
lea eax, [ebp + 4]
lea ecx, [ebp - 0x10]
push ecx
push 0x201
push esi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
je 0x4336c7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x9c]
xor ecx, ebp
call fcn.004d6e66
add ebp, 0xa0
leave
ret
push 0x7e
lea eax, [ebp + 0x1e]
push esi
push eax
mov word [ebp + 0x1c], si
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push esi
push str.idex
push dword [ebp - 0x10]
mov dword [ebp - 0x18], 0x80
mov dword [ebp - 0x14], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, esi
jne 0x433712
lea eax, [ebp + 0x1c]
push eax
mov ecx, edi
call dword [0x506424]
xor esi, esi
inc esi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x433695
Function at 0x4339c1
Capabilities:
Terminate process

Disassembly:
push 0xc
mov eax, 0x4fdde9
call fcn.004d766c
mov eax, dword [ebp + 8]
and dword [ebp - 0x10], 0
mov dword [ebp - 0x18], vtable.KWebUiSubProcessHelper.0
mov dword [ebp - 0x14], eax
and dword [ebp - 4], 0
call fcn.0046887d
test eax, eax
jne 0x4339f8
mov eax, 0x80004005
call fcn.004d7744
ret 4
call fcn.00468091
test eax, eax
mov dword [ebp - 0x10], eax
je 0x4339eb
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
push edx
push eax
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
push edx
push eax
call dword [ecx + 4]
mov esi, eax
cmp esi, 0xffffffff
je 0x433a2f
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov eax, esi
jmp 0x4339f0
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x433f67
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
xor ebx, ebx
cmp dword [edi + 0xc], ebx
push esi
jne 0x434058
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push ebx
push ebx
push 1
push ebx
call esi
cmp eax, ebx
mov dword [edi + 4], eax
je 0x433fb7
push ebx
push ebx
push 1
push ebx
call esi
cmp eax, ebx
mov dword [edi], eax
je 0x433fb7
push ebx
push ebx
push edi
push 0x434293
push ebx
push ebx
call dword [sym.imp.MSVCR80.dll__beginthreadex]
add esp, 0x18
cmp eax, ebx
mov dword [edi + 8], eax
je 0x433fb7
mov dword [edi + 0xc], 1
cmp dword [edi + 0xc], ebx
je 0x433ffe
cmp dword [0x55ac14], ebx
je 0x434058
push 0x512e9c
push 0x512e98
push str.SyncDirectReportor_class_KInfocNoKfmtFileWrap_::GlobalInit
push 0x5115d8
call fcn.004022da
call fcn.00402322
call fcn.00402322
call fcn.00402322
call fcn.00402322
mov esi, eax
call fcn.0040234b
jmp 0x434058
cmp dword [0x55ac14], ebx
je 0x43403a
push str.sync_report_init_failure.
push 0x512e98
push str.SyncDirectReportor_class_KInfocNoKfmtFileWrap_::GlobalInit
push 0x5115d8
call fcn.004022da
call fcn.00402322
call fcn.00402322
call fcn.00402322
call fcn.00402322
mov esi, eax
call fcn.0040234b
mov eax, dword [edi + 4]
cmp eax, ebx
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x43404d
push eax
call esi
mov dword [edi + 4], ebx
mov eax, dword [edi]
cmp eax, ebx
je 0x434058
push eax
call esi
mov dword [edi], ebx
pop esi
pop ebx
pop ecx
ret
Function at 0x435a67
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
jne 0x435a7a
push 0x80004005
call fcn.00401900
push esi
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x435a81
mov eax, dword [ebp + 8]
push edi
push dword [ebp + 0x10]
push 7
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x435b42
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x5550ec]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x2001f
push eax
mov ebx, ecx
push dword [ebx]
mov dword [ebp - 0x21c], eax
xor esi, esi
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], esi
call fcn.00409d6a
mov edi, eax
cmp edi, esi
je 0x435b9f
cmp dword [ebp - 0x210], esi
je 0x435b98
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x435c30
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x435bc3
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x210]
call fcn.00435b42
cmp eax, esi
mov dword [ebp - 0x218], eax
jne 0x435c41
lea eax, [ebp - 0x224]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push dword [ebp - 0x210]
mov dword [ebp - 0x214], 0x100
call edi
test eax, eax
je 0x435ba7
cmp dword [ebp - 0x210], esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x435c0e
push dword [ebp - 0x210]
call edi
mov dword [ebp - 0x210], esi
push dword [ebp - 0x21c]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp dword [ebp - 0x210], esi
mov ebx, eax
je 0x435c2e
push dword [ebp - 0x210]
call edi
mov eax, ebx
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d6e66
leave
ret 4
cmp dword [ebp - 0x210], esi
je 0x435c55
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x218]
jmp 0x435c30

Function at 0x436237
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0xc]
push 4
push 0
push dword [esp + 0x18]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 0xc
Function at 0x4375b1
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5008ff
mov eax, dword fs:[0]
push eax
sub esp, 0x108
push ebx
push esi
push edi
mov eax, dword [0x5550ec]
xor eax, esp
push eax
lea eax, [esp + 0x118]
mov dword fs:[0], eax
push 6
xor ebx, ebx
pop ecx
xor eax, eax
mov dword [esp + 0x18], ebx
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
lea edi, [esp + 0x34]
call fcn.00419b0a
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x120], ebx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov esi, dword [eax + 8]
mov eax, dword [eax + 0xc]
xor edi, edi
inc edi
push edi
push ecx
sub eax, edx
mov dword [esp + 0x34], eax
sub esi, ecx
mov eax, esp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c], esp
push eax
mov ecx, str.0_0__0__0
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], esi
call fcn.00405812
push ecx
mov byte [esp + 0x12c], 1
mov eax, esp
mov dword [esp + 0x1c], esp
push eax
mov ecx, 0x50c0d4
call fcn.00405812
lea ecx, [esp + 0x40]
mov byte [esp + 0x12c], bl
call fcn.00419baf
lea eax, [esp + 0x18]
push eax
push ebx
push 0x47
lea ecx, [esp + 0x40]
call fcn.004057e7
push edi
push ecx
mov eax, esp
mov dword [esp + 0x18], esp
mov esi, 0x5133e8
push eax
mov ecx, esi
call fcn.00405812
push ecx
mov byte [esp + 0x12c], 2
mov eax, esp
mov dword [esp + 0x20], esp
push eax
mov ecx, str.margin_left
call fcn.00405812
lea ecx, [esp + 0x40]
mov byte [esp + 0x12c], bl
call fcn.00419baf
push edi
push ecx
mov eax, esp
mov dword [esp + 0x18], esp
push eax
mov ecx, esi
call fcn.00405812
push ecx
mov byte [esp + 0x12c], 3
mov eax, esp
mov dword [esp + 0x20], esp
push eax
mov ecx, str.margin_right
call fcn.00405812
lea ecx, [esp + 0x40]
mov byte [esp + 0x12c], bl
call fcn.00419baf
push edi
push ecx
mov eax, esp
mov dword [esp + 0x18], esp
push eax
mov ecx, esi
call fcn.00405812
push ecx
mov byte [esp + 0x12c], 4
mov eax, esp
mov dword [esp + 0x20], esp
push eax
mov ecx, str.margin_top
call fcn.00405812
lea ecx, [esp + 0x40]
mov byte [esp + 0x12c], bl
call fcn.00419baf
push edi
push ecx
mov eax, esp
mov dword [esp + 0x18], esp
push eax
mov ecx, esi
call fcn.00405812
push ecx
mov byte [esp + 0x12c], 5
mov eax, esp
mov dword [esp + 0x20], esp
push eax
mov ecx, str.margin_bottom
call fcn.00405812
lea ecx, [esp + 0x40]
mov byte [esp + 0x12c], bl
call fcn.00419baf
push edi
push ecx
mov eax, esp
mov dword [esp + 0x18], esp
push eax
mov ecx, str.mainwnd_shadow
call fcn.00405812
push ecx
mov byte [esp + 0x12c], 6
mov eax, esp
mov dword [esp + 0x20], esp
push eax
mov ecx, str.skin
call fcn.00405812
lea ecx, [esp + 0x40]
mov byte [esp + 0x12c], bl
call fcn.00419baf
push ebx
push dword [ebp + 8]
lea ecx, [esp + 0x3c]
push 0xf
call fcn.004057e7
or dword [esp + 0x120], 0xffffffff
mov eax, dword [esp + 0x110]
add eax, 0xfffffff0
call fcn.004012f9
lea ecx, [esp + 0x34]
call fcn.00405f62
xor eax, eax
mov ecx, dword [esp + 0x118]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x439c1c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
mov esi, eax
push 0
push dword [esi + 4]
mov dword [esi + 0x5d8], 2
call edi
mov eax, dword [esi + 0x4ec]
test eax, eax
je 0x439c4d
push 0
push dword [eax + 4]
call edi
lea edi, [esi + 0x4f4]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x34]
push str.btnclose
lea eax, [esi + 0x534]
push eax
mov byte [esi + 0x548], 0
call fcn.00402d02
lea ebx, [esi + 0x3dc]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x18]
mov eax, dword [esi]
push 3
mov ecx, esi
call dword [eax + 0x8c]
mov eax, dword [edi]
push 3
mov ecx, edi
call dword [eax + 0x18]
mov eax, dword [ebx]
push 8
mov ecx, ebx
call dword [eax + 0x20]
cmp dword [0x55ac14], 0
je 0x439cf4
push str.closepop
push 0x511610
push str.KCommonPopBase::OnCloseBtn
push 0x5115dc
lea eax, [ebp - 4]
push eax
push 0x5115d8
mov dword [ebp - 4], 0x400
call fcn.004022da
call fcn.00402322
call fcn.00423ea4
call fcn.00402322
call fcn.00402322
call fcn.00402322
call fcn.00402322
mov esi, eax
call fcn.0040234b
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x43adab
Capabilities:
Create process on windows

Disassembly:
push 0x10
mov eax, 0x4f66d3
call fcn.004d766c
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [0x55ac14], ebx
mov edi, 0x5115d8
je 0x43ae13
push str.OpenUrlByUserToken
push 0x511610
push str.KCommonPopBase::OpenUrlByUserToken
push 0x5115dc
lea eax, [ebp - 0x14]
push eax
push edi
mov dword [ebp - 0x14], 0x56c
call fcn.004022da
call fcn.00402322
call fcn.00423ea4
call fcn.00402322
call fcn.00402322
call fcn.00402322
call fcn.00402322
mov esi, eax
call fcn.0040234b
mov esi, dword [ebp + 8]
cmp dword [esi - 0xc], ebx
jne 0x43ae23
lea eax, [esi - 0x10]
jmp 0x43afde
xor ebx, ebx
lea ecx, [ebp - 0x18]
call fcn.00490637
mov byte [ebp - 4], 1
mov eax, dword [0x55a320]
mov ecx, 0x55a320
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push esi
push str._url:__s_
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00401a17
cmp dword [0x55ac14], 0
pop ecx
pop ecx
mov ebx, 0x5115dc
je 0x43af17
push dword [ebp - 0x14]
lea eax, [ebp - 0x1c]
push str.OpenUrlByUserToken::
push 0x511610
push str.KCommonPopBase::OpenUrlByUserToken
push ebx
push eax
push edi
push ecx
mov dword [ebp - 0x1c], 0x576
call fcn.004022da
add esp, 4
call fcn.00402322
call fcn.00423ea4
call fcn.00402322
call fcn.00402322
call fcn.00402322
call fcn.00402322
call fcn.00402322
mov esi, eax
call fcn.0040234b
cmp dword [0x55ac14], 0
je 0x43af17
push dword [ebp - 0x18]
lea eax, [ebp - 0x1c]
push str.OpenUrlByUserToken::
push 0x511610
push str.KCommonPopBase::OpenUrlByUserToken
push ebx
push eax
push edi
push ecx
mov dword [ebp - 0x1c], 0x577
call fcn.004022da
add esp, 4
call fcn.00402322
call fcn.00423ea4
call fcn.00402322
call fcn.00402322
call fcn.00402322
call fcn.00402322
call fcn.00402322
mov esi, eax
call fcn.0040234b
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
call fcn.0049336c
test eax, eax
je 0x43afc2
push 1
xor esi, esi
push esi
push esi
push dword [ebp + 8]
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [0x55ac14], esi
cdq
je 0x43afc2
cmp edx, esi
jl 0x43af59
jg 0x43af53
cmp eax, 0x20
jbe 0x43af59
mov byte [ebp - 0xd], 1
jmp 0x43af5d
mov byte [ebp - 0xd], 0
lea eax, [ebp - 0xd]
push eax
push str.___result:
push dword [ebp + 8]
lea eax, [ebp - 0x1c]
push str.ShellExecute_
push 0x511610
push str.KCommonPopBase::OpenUrlByUserToken
push ebx
push eax
push edi
push ecx
mov dword [ebp - 0x1c], 0x57d
call fcn.004022da
add esp, 4
call fcn.00402322
call fcn.00423ea4
call fcn.00402322
call fcn.00402322
call fcn.00402322
call fcn.00402322
call fcn.00402322
call fcn.00402322
call fcn.004333be
mov esi, eax
call fcn.0040234b
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004012f9
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.004012f9
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004012f9
call fcn.004d7744
ret 4
Function at 0x43d1cf
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push edi
push 1
push dword [ebp + 0x10]
lea ecx, [esi + 0x28]
push dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov edi, eax
test edi, edi
jne 0x43d21b
push 1
push dword [ebp + 0x10]
lea ecx, [esi + 0x10c]
push dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov edi, eax
test edi, edi
jne 0x43d21b
push 1
push dword [ebp + 0x10]
lea ecx, [esi + 0x1f0]
push dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov edi, eax
cmp dword [esi + 0x2f0], 0
je 0x43d293
lea ebx, [esi + 0x300]
cmp dword [ebx], 0
je 0x43d238
call dword [sym.imp.USER32.dll_ReleaseCapture]
and dword [ebx], 0
cmp dword [esi + 0x2f0], edi
jne 0x43d28c
push edi
call fcn.0040596d
mov edi, eax
movzx eax, word [ebp + 0x10]
pop ecx
movzx ecx, word [ebp + 0xc]
shl eax, 0x10
or eax, ecx
push eax
push dword [ebp + 8]
mov ecx, edi
push 0x205
call fcn.004057e7
mov eax, dword [esi + 4]
or dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0xc], 0xd
mov dword [ebp - 0x14], eax
mov ecx, dword [edi + 0x10]
mov dword [ebp - 8], ecx
lea ecx, [ebp - 0x14]
push ecx
push 0xffffffffffffffff
push 0x4e
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
and dword [esi + 0x2f0], 0
pop edi
pop ebx
leave
ret 0xc
Function at 0x43d299
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
mov esi, eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
xor ebx, ebx
lea edi, [esi + 0x300]
cmp dword [edi], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ebx
je 0x43d2ca
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov dword [edi], ebx
mov ebx, dword [ebp + 0x10]
push 1
push ebx
push dword [ebp + 0xc]
lea ecx, [esi + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x30]
test eax, eax
mov dword [ebp - 4], eax
jne 0x43d30e
push 1
push ebx
push dword [ebp + 0xc]
lea ecx, [esi + 0x10c]
mov eax, dword [ecx]
call dword [eax + 0x30]
test eax, eax
mov dword [ebp - 4], eax
jne 0x43d30e
push 1
push ebx
push dword [ebp + 0xc]
lea ecx, [esi + 0x1f0]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x2ec]
test eax, eax
mov dword [ebp - 0x14], eax
je 0x43d45c
push eax
call fcn.0040596d
mov edi, eax
test edi, edi
pop ecx
je 0x43d3db
mov eax, dword [edi + 0x10]
push 2
mov dword [ebp - 8], eax
mov eax, dword [edi]
push 0
mov ecx, edi
call dword [eax + 0x28]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x34]
test eax, eax
je 0x43d352
push edi
call fcn.0043d60e
movzx eax, word [ebp + 0xc]
movzx ebx, bx
shl ebx, 0x10
or ebx, eax
push ebx
push dword [ebp + 8]
mov ecx, edi
push 0x202
call fcn.004057e7
mov eax, dword [ebp - 4]
cmp dword [esi + 0x2ec], eax
jne 0x43d3a8
mov ecx, dword [edi + 0x40]
xor eax, eax
cmp ecx, eax
je 0x43d39a
cmp word [ecx], ax
je 0x43d39a
push 1
push eax
push eax
push ecx
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x43d3db
cmp dword [edi + 0x10], eax
je 0x43d3db
mov dword [ebp - 0xc], 1
jmp 0x43d3db
mov eax, dword [edi]
push 1
push 0
mov ecx, edi
call dword [eax + 0x28]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x34]
test eax, eax
je 0x43d3c4
push edi
call fcn.0043d60e
push ebx
push dword [ebp + 8]
mov ecx, edi
push 0x2a3
call fcn.004057e7
mov dword [ebp - 0x10], 1
xor eax, eax
cmp dword [ebp - 0xc], eax
mov dword [esi + 0x2ec], eax
je 0x43d41d
mov eax, dword [esi + 4]
or dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [edi]
mov ecx, edi
mov dword [ebp - 0x20], 1
call dword [eax + 8]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x24]
push 0x4e
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x43d45c
cmp dword [ebp - 0x10], eax
je 0x43d45c
mov ecx, dword [ebp - 8]
cmp ecx, eax
je 0x43d45c
mov eax, dword [esi + 4]
or dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x28]
push ecx
push 0xffffffffffffffff
push 0x4e
push eax
mov dword [ebp - 0x20], 4
mov dword [ebp - 0x28], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x14]
add esi, 0x2e8
cmp eax, dword [esi]
jne 0x43d45c
and dword [esi], 0
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x43d8eb
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43d902
test al, 0x10
jne 0x43d902
xor eax, eax
inc eax
ret
xor eax, eax
ret

Function at 0x43ddff
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esi + 8]
push ebx
xor ebx, ebx
cmp dword [eax - 0xc], ebx
push edi
je 0x43de5d
mov ecx, dword [esi + 0x10]
cmp dword [ecx - 0xc], ebx
je 0x43de5d
mov ecx, dword [esi + 0x14]
cmp dword [ecx - 0xc], ebx
je 0x43de5d
mov ecx, dword [esi + 0x18]
cmp dword [ecx - 0xc], ebx
je 0x43de5d
mov edi, dword [sym.imp.MSVCR80.dll__wtoi]
push eax
call edi
test eax, eax
pop ecx
je 0x43de5d
push dword [esi + 0x10]
call edi
test eax, eax
pop ecx
je 0x43de5d
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 2
setne cl
mov eax, ecx
jmp 0x43de5f
xor eax, eax
pop edi
pop ebx
ret

Function at 0x43e752
Capabilities:
Accept command line arguments
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x504be5
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x5550ec]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.00402cc5
and dword [esp + 0x38], 0
push dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
call fcn.00452fe5
push 0x513fac
lea eax, [esp + 0x10]
push eax
mov byte [esp + 0x40], 1
call fcn.00402cc5
mov esi, 0x513fc0
push esi
lea eax, [esp + 0x18]
mov byte [esp + 0x3c], 2
call fcn.00453443
test al, al
je 0x43e7e4
push esi
lea eax, [esp + 0x18]
call fcn.0045347e
push eax
lea eax, [esp + 0x10]
push eax
call fcn.00402d02
push dword [esp + 0xc]
mov esi, str.from:_s
push esi
lea eax, [edi + 0x144]
call fcn.00401a17
push dword [esp + 0x14]
lea eax, [edi + 0x168]
push esi
call fcn.00401a17
add esp, 0x10
push dword [ebp + 8]
mov ecx, edi
call fcn.00438bf3
mov esi, eax
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
call fcn.004012f9
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 0
call fcn.00453058
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.004012f9
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x43feb5
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, eax
mov eax, dword [esi]
xor ebx, ebx
cmp dword [eax - 0xc], ebx
je 0x43ff6a
push 1
push ebx
push ebx
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [0x55ac14], ebx
cdq
je 0x43ff6a
cmp edx, ebx
jl 0x43fefa
jg 0x43fef4
cmp eax, 0x20
jbe 0x43fefa
mov byte [ebp - 1], 1
jmp 0x43fefd
mov byte [ebp - 1], bl
mov eax, dword [esi]
lea ecx, [ebp - 1]
push ecx
push str.___result:
push eax
push str.ShellExecute_
push 0x511610
push str.KCommonPopMgr::HandleUrl
push 0x5115dc
lea eax, [ebp - 8]
push eax
push 0x5115d8
push ecx
mov dword [ebp - 8], 0x1b3
call fcn.004022da
add esp, 4
call fcn.00402322
call fcn.00423ea4
call fcn.00402322
call fcn.00402322
call fcn.00402322
call fcn.00402322
call fcn.00402322
call fcn.00402322
call fcn.004333be
mov esi, eax
call fcn.0040234b
pop esi
pop ebx
leave
ret

Function at 0x441f8f
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x441fa6
test al, 0x10
je 0x441fa6
xor eax, eax
inc eax
ret
xor eax, eax
ret