Function at 0x1400250c0
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x940
lea rbp, [rsp + 0x20]
mov rax, qword [0x1400ee100]
xor rax, rbp
mov qword [rbp + 0x910], rax
mov rax, qword [rbp + 0x930]
mov qword [0x1400f4ad8], rax
lea r8, [0x1400d5308]
mov edx, 0x82
mov rcx, qword [0x1400f4ad8]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov qword [rbp + 0x28], rax
mov rdx, qword [rbp + 0x28]
mov rcx, qword [0x1400f4ad8]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rbp + 0x40], rax
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rbp + 0x38], rax
mov rdx, qword [rbp + 0x28]
mov rcx, qword [0x1400f4ad8]
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov eax, eax
mov qword [rbp + 0x60], rax
cmp qword [rbp + 0x38], 0
je 0x140025257
lea rcx, [rbp + 0x90]
call fcn.14000aab0
xor r8d, r8d
mov edx, 0x104
lea rcx, [rbp + 0x90]
call fcn.14001c570
lea rcx, [rbp + 0x90]
call fcn.14000a5c0
mov qword [rbp + 0x58], rax
lea rcx, [rbp + 0x90]
call fcn.14000a5d0
mov rcx, qword [rbp + 0x58]
mov r8d, ecx
mov rdx, rax
mov rcx, qword [0x1400f4ad8]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov r8, 0xffffffffffffffff
mov dl, 0x5c
lea rcx, [rbp + 0x90]
call fcn.140021b90
mov qword [rbp + 0x30], rax
cmp qword [rbp + 0x30], 0xffffffffffffffff
je 0x1400251f3
lea r9, [0x1400d4a74]
mov r8, 0xffffffffffffffff
mov rdx, qword [rbp + 0x30]
lea rcx, [rbp + 0x90]
call fcn.140021bd0
lea rdx, str.plugins.xml
lea rcx, [rbp + 0x90]
call fcn.14000a820
lea rcx, [rbp + 0x90]
call fcn.14000a5d0
lea rdx, [0x1400d4acc]
mov rcx, rax
call fcn.14007f12c
mov qword [rbp + 0x18], rax
cmp qword [rbp + 0x18], 0
je 0x14002524b
mov r9, qword [rbp + 0x18]
mov r8, qword [rbp + 0x60]
mov edx, 1
mov rcx, qword [rbp + 0x38]
call fcn.14007e8f8
mov rcx, qword [rbp + 0x18]
call fcn.14007d5dc
lea rcx, [rbp + 0x90]
call fcn.14000a910
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_FreeResource]
lea rcx, str.wbxtrace.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rcx, [rbp + 0xb0]
call fcn.14000aab0
call fcn.140024230
mov dword [rbp + 0x10], eax
mov rax, qword [rbp + 0x940]
mov qword [rbp + 0x20], rax
cmp qword [rbp + 0x20], 0
jne 0x1400252a1
mov qword [rbp + 0x50], 0
jmp 0x14002533f
mov rax, qword [rbp + 0x20]
mov qword [rbp + 0x68], rax
mov qword [rbp + 8], 0xffffffffffffffff
inc qword [rbp + 8]
mov rax, qword [rbp + 0x68]
mov rcx, qword [rbp + 8]
cmp word [rax + rcx*2], 0
jne 0x1400252b1
mov rax, qword [rbp + 8]
inc eax
mov dword [rbp], eax
cmp dword [rbp], 0x3fffffff
jle 0x1400252e0
mov qword [rbp + 0x48], 0
jmp 0x140025337
movsxd rax, dword [rbp]
shl rax, 1
mov qword [rbp + 0x70], rax
movsxd rcx, dword [rbp]
shl rcx, 1
mov rdx, rcx
add rdx, 0xf
cmp rdx, rcx
ja 0x140025308
movabs rdx, 0xffffffffffffff0
and rdx, 0xfffffffffffffff0
mov rax, rdx
call fcn.14004ff70
sub rsp, rax
lea rax, [rsp + 0x20]
mov r9d, dword [rbp + 0x10]
mov rcx, qword [rbp + 0x70]
mov r8d, ecx
mov rdx, qword [rbp + 0x20]
mov rcx, rax
call fcn.140024240
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x48]
mov qword [rbp + 0x50], rax
mov rdx, qword [rbp + 0x50]
lea rcx, [rbp + 0xb0]
call fcn.14000a880
call qword [sym.imp.util.dll_get_external_trace_mask]
cmp eax, 2
jl 0x1400253f2
mov r8d, 0x400
lea rdx, [rbp + 0x110]
lea rcx, [rbp + 0xd0]
call qword [sym.imp.util.dll_public:_void___cdecl_CCmTextFormator::constructor_char____ptr64__unsigned_int____ptr64]
lea rcx, [rbp + 0xb0]
call fcn.14000a5d0
mov qword [rbp + 0x78], rax
lea rdx, str.wmlipc__wmlhost.exe_wWinMain_start..._strCmdLine
lea rcx, [rbp + 0xd0]
call qword [sym.imp.util.dll_public:_class_CCmTextFormator____ptr64___cdecl_CCmTextFormator::operator___char_const____ptr64____ptr64]
mov rcx, qword [rbp + 0x78]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.util.dll_public:_class_CCmTextFormator____ptr64___cdecl_CCmTextFormator::operator___char_const____ptr64____ptr64]
mov rcx, rax
call qword [sym.imp.util.dll_public:_char____ptr64___cdecl_CCmTextFormator::operator_char____ptr64_void____ptr64]
mov qword [rbp + 0x80], rax
lea rcx, [rbp + 0xd0]
call qword [sym.imp.util.dll_public:_unsigned_int___cdecl_CCmTextFormator::tell_void_const___ptr64]
mov r9d, eax
mov r8, qword [rbp + 0x80]
lea rdx, [0x1400d4b5c]
mov ecx, 2
call qword [sym.imp.util.dll_util_adapter_trace]
lea rcx, [rbp + 0xd0]
call qword [sym.imp.util.dll_public_virtual:_void___cdecl_CCmTextFormator::destructor_void____ptr64]
xor eax, eax
test eax, eax
jne 0x14002534f
lea rcx, [0x1400248d0]
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov r9d, 0x64
lea r8, [0x1400f4bb0]
mov edx, 0x67
mov rcx, qword [rbp + 0x930]
call qword [sym.imp.USER32.dll_LoadStringW]
mov r9d, 0x64
lea r8, [0x1400f4ae0]
mov edx, 0x6d
mov rcx, qword [rbp + 0x930]
call qword [sym.imp.USER32.dll_LoadStringW]
lea rcx, [rbp + 0xb0]
call fcn.140041a60
call qword [sym.imp.util.dll_get_external_trace_mask]
cmp eax, 2
jl 0x1400254d2
mov r8d, 0x400
lea rdx, [rbp + 0x510]
lea rcx, [rbp + 0xf0]
call qword [sym.imp.util.dll_public:_void___cdecl_CCmTextFormator::constructor_char____ptr64__unsigned_int____ptr64]
lea rdx, str.wmlipc___tWinMain__exit...
lea rcx, [rbp + 0xf0]
call qword [sym.imp.util.dll_public:_class_CCmTextFormator____ptr64___cdecl_CCmTextFormator::operator___char_const____ptr64____ptr64]
mov rcx, rax
call qword [sym.imp.util.dll_public:_char____ptr64___cdecl_CCmTextFormator::operator_char____ptr64_void____ptr64]
mov qword [rbp + 0x88], rax
lea rcx, [rbp + 0xf0]
call qword [sym.imp.util.dll_public:_unsigned_int___cdecl_CCmTextFormator::tell_void_const___ptr64]
mov r9d, eax
mov r8, qword [rbp + 0x88]
lea rdx, [0x1400d4b5c]
mov ecx, 2
call qword [sym.imp.util.dll_util_adapter_trace]
lea rcx, [rbp + 0xf0]
call qword [sym.imp.util.dll_public_virtual:_void___cdecl_CCmTextFormator::destructor_void____ptr64]
xor eax, eax
test eax, eax
jne 0x140025453
mov dword [rbp + 0x14], 0
lea rcx, [rbp + 0xb0]
call fcn.14000a910
mov eax, dword [rbp + 0x14]
mov rcx, qword [rbp + 0x910]
xor rcx, rbp
call fcn.14004f810
lea rsp, [rbp + 0x920]
pop rbp
ret