Function at 0x413ef0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x434518
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x45106c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 0xc]
mov ecx, ebx
push 0x449d9c
mov eax, dword [ebx]
call dword [eax + 4]
mov esi, dword [ebp + 8]
mov eax, esi
shr eax, 4
inc eax
push 6
movzx eax, ax
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4140f0
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
mov dword [ebp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
and esi, 0xf
jbe 0x413f72
movzx ecx, word [edi]
lea edi, [edi + ecx*2]
add edi, 2
sub esi, 1
jne 0x413f64
movzx esi, word [edi]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0
push eax
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x18]
call fcn.00409b70
add esi, esi
lea eax, [edi + 2]
push esi
push eax
push dword [ebp - 0x18]
call fcn.00419ff0
mov eax, dword [ebp - 0x18]
add esp, 0xc
xor ecx, ecx
push dword [ebp + 0xc]
mov word [esi + eax], cx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov dword [ebp - 0x28], vtable.UnicodeStringStorage.0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 1
push eax
push 1
mov ecx, eax
call fcn.00409b70
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x44785c
push ecx
call fcn.00419ff0
add esp, 0xc
mov byte [ebp - 4], 2
mov esi, 0x44785c
mov eax, dword [ebp - 0x18]
test eax, eax
cmovne esi, eax
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414023
sub ecx, edx
lea eax, [ebp - 0x24]
sar ecx, 1
push eax
lea eax, [ecx + 1]
push eax
lea ecx, [ebp - 0x24]
call fcn.00409b70
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
sub eax, ecx
and eax, 0xfffffffe
push eax
push esi
push ecx
call fcn.00419ff0
mov eax, dword [ebx]
add esp, 0xc
mov ecx, ebx
push 0x44785c
call dword [eax + 4]
mov eax, dword [ebx]
mov ecx, ebx
push dword [ebp - 0x24]
call dword [eax + 4]
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x28], vtable.UnicodeStringStorage.0
test edx, edx
je 0x4140bd
mov ecx, dword [ebp - 0x1c]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x41409e
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414106
push ecx
push edx
call fcn.00418878
add esp, 8
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x18]
test edx, edx
je 0x4140f0
mov ecx, dword [ebp - 0x10]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x4140e6
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41410b
push ecx
push edx
call fcn.00418878
add esp, 8
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.00420563
call fcn.00420563
int3