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

Disassembly:
push 0xffffffffffffffff
push 0x5de3a8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x70b744]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.0040fc20
mov dword [esi], vtable.boost::program_options::unknown_option.0
test edi, edi
mov dword [esp + 0x18], 0
je 0x513dba
add edi, 0x28
jmp 0x513dbc
xor edi, edi
mov dword [esi + 0x28], vtable.boost::exception.0
mov ecx, dword [edi + 4]
test ecx, ecx
mov dword [esi + 0x2c], ecx
je 0x513dd4
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 8]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0xc]
mov dword [esi + 0x34], ecx
mov edx, dword [edi + 0x10]
mov dword [esi + 0x38], edx
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::program_options::unknown_option_.1.0
mov dword [esi + 0x28], vtable.boost::exception_detail::error_info_injector_class_boost::program_options::unknown_option_.0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x513e60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5de3e3
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x70b744]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov edi, dword [esp + 0x24]
push edi
call fcn.00513d70
mov dword [esp + 0x1c], 0
mov dword [esi + 0x3c], vtable.boost::exception_detail::clone_base.0
test edi, edi
mov byte [esp + 0x1c], 1
mov dword [esi], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::program_options::unknown_option__.2.0
mov dword [esi + 0x28], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::program_options::unknown_option__.1.0
mov dword [esi + 0x3c], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::program_options::unknown_option__.0
je 0x513ec5
lea ebx, [edi + 0x28]
jmp 0x513ec7
xor ebx, ebx
mov ecx, dword [esi + 0x2c]
test ecx, ecx
mov edi, dword [ebx + 4]
je 0x513ed8
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
test edi, edi
mov dword [esi + 0x2c], edi
je 0x513ee8
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
mov ecx, edi
call edx
mov eax, dword [ebx + 8]
mov dword [esi + 0x30], eax
mov ecx, dword [ebx + 0xc]
mov dword [esi + 0x34], ecx
mov edx, dword [ebx + 0x10]
mov dword [esi + 0x38], edx
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x514320
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5de480
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
mov eax, dword [0x70b744]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
push 0x11
xor ebx, ebx
push str.ambiguous_option
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
call fcn.00410a89
mov eax, dword [esp + 0x3c]
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], ebx
call fcn.0040f8d7
push eax
mov ecx, esi
call fcn.0040fc72
mov dword [esi], vtable.boost::program_options::error.0
cmp dword [esp + 0x28], 0x10
mov byte [esp + 0x34], 2
jb 0x5143a9
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0051d492
add esp, 4
mov edx, dword [esp + 0x40]
push edx
lea ecx, [esi + 0x28]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
mov dword [esi], vtable.boost::program_options::ambiguous_option.0
call fcn.0041ae10
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x2c
ret 8

Function at 0x514480
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5de4a8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x70b744]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esi + 0x20]
mov dword [esp + 0x18], 0
call fcn.005141b0
lea ecx, [esp + 0xb]
push ecx
lea ecx, [esi + 0x30]
mov byte [esp + 0xf], 0
call fcn.00513fa0
mov esi, dword [esp + 0x20]
test esi, esi
mov dword [esp + 0x14], 0xffffffff
je 0x514505
lea edx, [esi + 4]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x514505
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x514505
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 8
Function at 0x515950
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5de758
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x70b744]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.0040fc20
mov dword [esi], vtable.boost::program_options::multiple_occurrences.0
test edi, edi
mov dword [esp + 0x18], 0
je 0x51599a
add edi, 0x28
jmp 0x51599c
xor edi, edi
mov dword [esi + 0x28], vtable.boost::exception.0
mov ecx, dword [edi + 4]
test ecx, ecx
mov dword [esi + 0x2c], ecx
je 0x5159b4
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 8]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0xc]
mov dword [esi + 0x34], ecx
mov edx, dword [edi + 0x10]
mov dword [esi + 0x38], edx
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::program_options::multiple_occurrences_.1.0
mov dword [esi + 0x28], vtable.boost::exception_detail::error_info_injector_class_boost::program_options::multiple_occurrences_.0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x515b50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5de793
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x70b744]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov edi, dword [esp + 0x24]
push edi
call fcn.00515950
mov dword [esp + 0x1c], 0
mov dword [esi + 0x3c], vtable.boost::exception_detail::clone_base.0
test edi, edi
mov byte [esp + 0x1c], 1
mov dword [esi], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::program_options::multiple_occurrences__.2.0
mov dword [esi + 0x28], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::program_options::multiple_occurrences__.1.0
mov dword [esi + 0x3c], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::program_options::multiple_occurrences__.0
je 0x515bb5
lea ebx, [edi + 0x28]
jmp 0x515bb7
xor ebx, ebx
mov ecx, dword [esi + 0x2c]
test ecx, ecx
mov edi, dword [ebx + 4]
je 0x515bc8
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
test edi, edi
mov dword [esi + 0x2c], edi
je 0x515bd8
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
mov ecx, edi
call edx
mov eax, dword [ebx + 8]
mov dword [esi + 0x30], eax
mov ecx, dword [ebx + 0xc]
mov dword [esi + 0x34], ecx
mov edx, dword [ebx + 0x10]
mov dword [esi + 0x38], edx
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x51a130
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5df1d3
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x70b744]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push 0xffffffffffffffff
push 0
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], 0
push edi
mov byte [esi + 4], 0
call fcn.0040f845
mov eax, dword [edi + 0x1c]
lea ecx, [edi + 0x20]
push ecx
lea ecx, [esi + 0x20]
mov dword [esp + 0x1c], 0
mov dword [esi + 0x1c], eax
call fcn.00404dd2
lea edx, [edi + 0x30]
push edx
lea ecx, [esi + 0x30]
mov byte [esp + 0x1c], 1
call fcn.00404dd2
mov al, byte [edi + 0x40]
mov byte [esi + 0x40], al
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x51ace0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5df368
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x70b744]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.0040fc20
test edi, edi
mov dword [esp + 0x18], 0
je 0x51ad24
add edi, 0x28
jmp 0x51ad26
xor edi, edi
mov dword [esi + 0x28], vtable.boost::exception.0
mov ecx, dword [edi + 4]
test ecx, ecx
mov dword [esi + 0x2c], ecx
je 0x51ad3e
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 8]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0xc]
mov dword [esi + 0x34], ecx
mov edx, dword [edi + 0x10]
mov dword [esi + 0x38], edx
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_std::logic_error_.1.0
mov dword [esi + 0x28], vtable.boost::exception_detail::error_info_injector_class_std::logic_error_.0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x51ad80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5df3a3
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x70b744]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov edi, dword [esp + 0x24]
push edi
call fcn.0051ace0
mov dword [esp + 0x1c], 0
mov dword [esi + 0x3c], vtable.boost::exception_detail::clone_base.0
test edi, edi
mov byte [esp + 0x1c], 1
mov dword [esi], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_std::logic_error__.2.0
mov dword [esi + 0x28], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_std::logic_error__.1.0
mov dword [esi + 0x3c], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_std::logic_error__.0
je 0x51ade5
lea ebx, [edi + 0x28]
jmp 0x51ade7
xor ebx, ebx
mov ecx, dword [esi + 0x2c]
test ecx, ecx
mov edi, dword [ebx + 4]
je 0x51adf8
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
test edi, edi
mov dword [esi + 0x2c], edi
je 0x51ae08
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
mov ecx, edi
call edx
mov eax, dword [ebx + 8]
mov dword [esi + 0x30], eax
mov ecx, dword [ebx + 0xc]
mov dword [esi + 0x34], ecx
mov edx, dword [ebx + 0x10]
mov dword [esi + 0x38], edx
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4

Function at 0x51bcd0
Capabilities:
Check if file exists

Disassembly:
mov eax, dword [esp + 8]
cmp dword [eax + 0x18], 8
jb 0x51bcdf
mov eax, dword [eax + 4]
jmp 0x51bce2
add eax, 4
push eax
call dword [0x71f65c]
cmp eax, 0xffffffff
jne 0x51bd6b
push esi
mov esi, dword [0x75e17c]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
mov ecx, dword [esp + 0x10]
mov dword [ecx + 4], esi
mov dword [ecx], eax
pop esi
je 0x51bd50
cmp eax, 3
je 0x51bd50
cmp eax, 0x7b
je 0x51bd50
cmp eax, 0x57
je 0x51bd50
cmp eax, 0xa1
je 0x51bd50
cmp eax, 0x35
je 0x51bd50
cmp eax, 0x20
jne 0x51bd45
mov eax, dword [0x75e180]
mov dword [ecx], eax
mov edx, dword [0x75e184]
mov eax, dword [esp + 4]
mov dword [ecx + 4], edx
mov dword [eax], 9
ret
mov eax, dword [esp + 4]
mov dword [eax], 0
ret
mov eax, dword [0x75e180]
mov dword [ecx], eax
mov edx, dword [0x75e184]
mov eax, dword [esp + 4]
mov dword [ecx + 4], edx
mov dword [eax], 1
ret
mov edx, dword [0x75e180]
mov ecx, dword [esp + 0xc]
mov dword [ecx], edx
mov edx, dword [0x75e184]
test al, 0x10
mov dword [ecx + 4], edx
lea eax, [esp + 8]
mov dword [esp + 8], 3
jne 0x51bd98
mov dword [esp + 8], 2
mov ecx, dword [eax]
mov eax, dword [esp + 4]
mov dword [eax], ecx
ret
Function at 0x51c570
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x5df58b
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x70b744]
xor eax, esp
mov dword [esp + 0x278], eax
push ebp
push esi
push edi
mov eax, dword [0x70b744]
xor eax, esp
push eax
lea eax, [esp + 0x28c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x29c]
mov ecx, dword [esp + 0x2ac]
mov edx, dword [esp + 0x2b0]
mov edi, dword [esp + 0x2a0]
mov ebp, dword [esp + 0x2a8]
push 0xffffffffffffffff
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x2a8]
push 0
mov dword [esp + 0x1c], ecx
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], edx
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], 0
call fcn.004106e6
mov eax, dword [esp + 0x30]
test eax, eax
mov dword [esp + 0x294], 0
je 0x51c63f
lea esi, [eax - 1]
cmp esi, eax
jbe 0x51c624
call fcn.0051e314
cmp dword [esp + 0x34], 8
mov eax, dword [esp + 0x20]
jae 0x51c633
lea eax, [esp + 0x20]
cmp word [eax + esi*2], 0x5c
mov edx, 0x67c410
je 0x51c644
mov edx, 0x68138c
mov eax, edx
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x51c650
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x24]
call fcn.00401fd5
mov eax, dword [esp + 0x20]
mov esi, 8
cmp dword [esp + 0x34], esi
jae 0x51c67d
lea eax, [esp + 0x20]
lea ecx, [esp + 0x38]
push ecx
push eax
call dword [0x71f628]
cmp eax, 0xffffffff
mov dword [edi], eax
jne 0x51c6d0
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], 0
call esi
cmp eax, 2
jne 0x51c6a7
xor eax, eax
jmp 0x51c6a9
call esi
cmp dword [esp + 0x34], 8
mov esi, dword [esp + 0x10]
mov edx, dword [0x75e17c]
mov dword [esi], eax
mov dword [esi + 4], edx
jb 0x51c6cc
mov eax, dword [esp + 0x20]
push eax
call fcn.0051d492
add esp, 4
mov eax, esi
jmp 0x51c74d
lea eax, [esp + 0x64]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x51c6d7
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x68]
push ecx
mov ecx, ebp
call fcn.0040fd27
test byte [esp + 0x38], 0x10
je 0x51c710
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov dword [edx], 3
mov dword [eax], 3
jmp 0x51c724
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [ecx], 2
mov dword [edx], 2
cmp dword [esp + 0x34], esi
mov eax, dword [0x75e180]
mov edi, dword [esp + 0x10]
mov dword [edi], eax
mov ecx, dword [0x75e184]
mov dword [edi + 4], ecx
jb 0x51c74b
mov edx, dword [esp + 0x20]
push edx
call fcn.0051d492
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x28c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x278]
xor ecx, esp
call fcn.0051d721
add esp, 0x288
ret

Function at 0x51d721
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x70b744]
jne 0x51d72b
repz ret
jmp fcn.0052c2ce
Function at 0x52b938
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x70bc68]
je 0x52b953
inc edi
cmp edi, 0x17
jb 0x52b944
cmp edi, 0x17
jae 0x52bad3
push ebp
push 3
call fcn.005354c2
cmp eax, 1
pop ecx
je 0x52ba9f
push 3
call fcn.005354c2
test eax, eax
pop ecx
jne 0x52b987
cmp dword [0x70b740], 1
je 0x52ba9f
cmp ebx, 0xfc
je 0x52bad2
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x75e2c8
push ebp
call fcn.0052c3d2
add esp, 0xc
test eax, eax
je 0x52b9bd
push esi
push esi
push esi
push esi
push esi
call fcn.0051e1f4
add esp, 0x14
push 0x104
mov esi, 0x75e2e1
push esi
push 0
mov byte [0x75e3e5], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x52ba01
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0052c3d2
add esp, 0xc
test eax, eax
je 0x52ba01
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0051e1f4
add esp, 0x14
push esi
call fcn.005235d0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x52ba46
push esi
call fcn.005235d0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x75e5dc
push 0x681804
sub ecx, eax
push ecx
push eax
call fcn.00535d57
add esp, 0x14
test eax, eax
je 0x52ba46
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0051e1f4
add esp, 0x14
jmp 0x52ba48
xor esi, esi
push 0x67cacc
push ebx
push ebp
call fcn.00535b64
add esp, 0xc
test eax, eax
je 0x52ba68
push esi
push esi
push esi
push esi
push esi
call fcn.0051e1f4
add esp, 0x14
push dword [edi*8 + 0x70bc6c]
push ebx
push ebp
call fcn.00535b64
add esp, 0xc
test eax, eax
je 0x52ba8a
push esi
push esi
push esi
push esi
push esi
call fcn.0051e1f4
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.005375ce
add esp, 0xc
jmp 0x52bad2
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x52bad2
cmp ebp, 0xffffffff
je 0x52bad2
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x70bc6c]
push dword [esi]
call fcn.005235d0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x535091
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0052bbeb
xor ebx, ebx
cmp dword [0x75eca8], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x535167
push 0x682984
call dword [0x71f6a8]
mov edi, eax
cmp edi, ebx
je 0x535247
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push edi
call esi
cmp eax, ebx
je 0x535247
push eax
call fcn.0052bb7d
mov dword [esp], 0x682974
push edi
mov dword [0x75eca8], eax
call esi
push eax
call fcn.0052bb7d
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x75ecac], eax
call esi
push eax
call fcn.0052bb7d
mov dword [0x75ecb0], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0052680b
test eax, eax
pop ecx
pop ecx
je 0x535135
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0051e1f4
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x535167
push 0x682944
push edi
call esi
push eax
call fcn.0052bb7d
cmp eax, ebx
pop ecx
mov dword [0x75ecb8], eax
je 0x535167
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0052bb7d
pop ecx
mov dword [0x75ecb4], eax
mov eax, dword [0x75ecb4]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x5351ec
cmp dword [0x75ecb8], ecx
je 0x5351ec
push eax
call fcn.0052bbf4
push dword [0x75ecb8]
mov esi, eax
call fcn.0052bbf4
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x5351ec
cmp edi, ebx
je 0x5351ec
call esi
cmp eax, ebx
je 0x5351b9
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x5351b9
test byte [ebp - 0x18], 1
jne 0x5351ec
lea eax, [ebp - 0x10]
push eax
call fcn.00526842
test eax, eax
pop ecx
je 0x5351d4
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0051e1f4
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x5351e3
or dword [ebp + 0x10], 0x200000
jmp 0x535227
or dword [ebp + 0x10], 0x40000
jmp 0x535227
mov eax, dword [0x75ecac]
cmp eax, dword [ebp - 8]
je 0x535227
push eax
call fcn.0052bbf4
cmp eax, ebx
pop ecx
je 0x535227
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x535227
mov eax, dword [0x75ecb0]
cmp eax, dword [ebp - 8]
je 0x535227
push eax
call fcn.0052bbf4
cmp eax, ebx
pop ecx
je 0x535227
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x75eca8]
call fcn.0052bbf4
cmp eax, ebx
pop ecx
je 0x535247
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x535249
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x5375ce
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0052bbeb
xor ebx, ebx
cmp dword [0x75ecc0], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x5376a4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x537784
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x6835cc
push edi
call esi
cmp eax, ebx
je 0x537784
push eax
call fcn.0052bb7d
mov dword [esp], 0x682974
push edi
mov dword [0x75ecc0], eax
call esi
push eax
call fcn.0052bb7d
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x75ecc4], eax
call esi
push eax
call fcn.0052bb7d
mov dword [0x75ecc8], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0052680b
test eax, eax
pop ecx
pop ecx
je 0x537672
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0051e1f4
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x5376a4
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0052bb7d
cmp eax, ebx
pop ecx
mov dword [0x75ecd0], eax
je 0x5376a4
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0052bb7d
pop ecx
mov dword [0x75eccc], eax
mov eax, dword [0x75eccc]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x537729
cmp dword [0x75ecd0], ecx
je 0x537729
push eax
call fcn.0052bbf4
push dword [0x75ecd0]
mov esi, eax
call fcn.0052bbf4
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x537729
cmp edi, ebx
je 0x537729
call esi
cmp eax, ebx
je 0x5376f6
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x5376f6
test byte [ebp - 0x18], 1
jne 0x537729
lea eax, [ebp - 0x10]
push eax
call fcn.00526842
test eax, eax
pop ecx
je 0x537711
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0051e1f4
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x537720
or dword [ebp + 0x10], 0x200000
jmp 0x537764
or dword [ebp + 0x10], 0x40000
jmp 0x537764
mov eax, dword [0x75ecc4]
cmp eax, dword [ebp - 8]
je 0x537764
push eax
call fcn.0052bbf4
cmp eax, ebx
pop ecx
je 0x537764
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x537764
mov eax, dword [0x75ecc8]
cmp eax, dword [ebp - 8]
je 0x537764
push eax
call fcn.0052bbf4
cmp eax, ebx
pop ecx
je 0x537764
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x75ecc0]
call fcn.0052bbf4
cmp eax, ebx
pop ecx
je 0x537784
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x537786
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret