Function at 0x42c1f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xbc
mov edi, edx
mov dword [ebp - 0xc8], ecx
mov ebx, dword [ebp + 0xc]
mov eax, dword [0x587040]
xor eax, ebp
mov dword [ebp - 0x10], eax
xorps xmm0, xmm0
movsd qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
lea esi, [ebx + 0xf]
test ebx, ebx
cmovns esi, ebx
mov eax, esi
shr eax, 4
inc eax
movzx eax, ax
movzx ecx, word [ebp + 8]
push ecx
push eax
push 6
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
je 0x42c324
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x42c2eb
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x42c3b7
and esi, 0xfffffff0
sub ebx, esi
test ebx, ebx
jle 0x42c27c
movzx ecx, word [eax]
lea eax, [eax + ecx*2]
add eax, 2
dec ebx
jne 0x42c270
movzx edx, word [eax]
test edx, edx
sete cl
add eax, 2
setne ch
or ch, cl
je 0x42c401
mov esi, dword [ebp + 0x10]
lea edi, [ebp - 0x1c]
mov ecx, edi
push edx
push eax
call fcn.00455810
mov eax, dword [esi]
cmp eax, dword [esi + 4]
je 0x42c36b
movsx eax, byte [ebp - 0x11]
test eax, eax
cmovs eax, dword [ebp - 0x18]
cmovs edi, dword [ebp - 0x1c]
test eax, eax
js 0x42c3f3
sete cl
test edi, edi
setne dl
or dl, cl
je 0x42c3fa
push 0
push esi
push eax
push edi
mov esi, dword [ebp - 0xc8]
push esi
call fcn.00537c00
add esp, 0x14
jmp 0x42c38f
push 2
call fcn.004b8380
add esp, 4
test al, al
je 0x42c36b
call fcn.0053d770
lea edi, [ebp - 0xc4]
mov ecx, edi
push eax
push 2
push 0x3f
push str.....operadesktopwindowsl10n_handler_resource_l10n_handler.cc
call fcn.0053d940
lea eax, [ebp - 0xbc]
push 0x15
push str.Failed_to_load_string
jmp 0x42c35b
push 2
call fcn.004b8380
add esp, 4
test al, al
je 0x42c36b
call fcn.0053d770
lea edi, [ebp - 0xc4]
mov ecx, edi
push eax
push 2
push 0x39
push str.....operadesktopwindowsl10n_handler_resource_l10n_handler.cc
call fcn.0053d940
lea eax, [ebp - 0xbc]
push 0x15
push str.Failed_to_find_string
push eax
call fcn.00494030
add esp, 0xc
mov ecx, edi
call fcn.0053d9a0
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0xc8]
mov dword [esi + 8], eax
movsd xmm0, qword [ebp - 0x1c]
movsd qword [esi], xmm0
xorps xmm0, xmm0
movsd qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
cmp byte [ebp - 0x11], 0
jns 0x42c3a0
push dword [ebp - 0x1c]
call fcn.004ec97e
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ecef0
mov eax, esi
add esp, 0xbc
pop esi
pop edi
pop ebx
pop ebp
ret
push 2
call fcn.004b8380
add esp, 4
test al, al
je 0x42c36b
call fcn.0053d770
lea edi, [ebp - 0xc4]
mov ecx, edi
push eax
push 2
push 0x45
push str.....operadesktopwindowsl10n_handler_resource_l10n_handler.cc
call fcn.0053d940
lea eax, [ebp - 0xbc]
push 0x15
push str.Failed_to_lock_string
jmp 0x42c35b
push str....._third_partylibc_srcinclude_string_view:318:_assertion___len___static_cast_size_type__numeric_limits_difference_type_::max____failed:_string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type_n
jmp 0x42c406
push str....._third_partylibc_srcinclude_string_view:320:_assertion___len__0____s___nullptr_failed:_string_view::string_view__CharT___size_t_:_received_nullptr_n
jmp 0x42c406
push str....._third_partylibc_srcinclude_string:2502:_assertion___n__0____s___nullptr_failed:_string::assign_received_nullptr_n
push 0x565ab5
call fcn.0051c8d0
push ebp
mov ebp, esp
push esi
sub esp, 8
mov eax, dword [0x587040]
xor eax, ebp
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
mov dword [eax], 0
push eax
push 0x42c410
push 6
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
cmp eax, 1
jne 0x42c452
mov esi, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004ecef0
mov eax, esi
add esp, 8
pop esi
pop ebp
ret
int3