Function at 0x41a7d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b4ef8
mov eax, dword fs:[0]
push eax
sub esp, 0x3ec
mov eax, dword [0x4e5070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0xfffffffffffffff0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xff3fffff
or eax, 0x6000000
push eax
push 0xfffffffffffffff0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea eax, [ebp - 0x20]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
sub eax, edx
mov ecx, dword [ebp - 0x20]
push 0x27
push eax
mov eax, dword [ebp - 0x18]
sub eax, ecx
push eax
push edx
push ecx
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
push dword [edi + 4]
lea ebx, [edi + 0xcc]
mov ecx, ebx
call fcn.0041e290
mov ecx, edi
mov dword [ebx], edi
neg ecx
lea eax, [edi + 0x28]
sbb ecx, ecx
and ecx, eax
push ecx
mov ecx, ebx
call fcn.00422640
mov eax, dword [edi]
lea ecx, [ebp - 0x130]
push ecx
mov ecx, edi
call dword [eax + 0x74]
mov dword [ebp - 4], 0
mov ecx, dword [eax + 4]
call fcn.0041eac0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x128]
mov eax, dword [ebp - 0x12c]
mov dword [ebp - fcn.00429d50], vtable.UiLib::CDuiString.0
cmp eax, ecx
je 0x41a8bb
push eax
call fcn.0049b90f
add esp, 4
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x7c]
sub eax, 2
je 0x41acf2
sub eax, 2
je 0x41a9d0
sub eax, 1
jne 0x41aae0
mov eax, dword [edi + 0x48]
cmp word [eax], 0
je 0x41aae0
xorps xmm0, xmm0
mov dword [ebp - method.UiLib::ZIPNetResHandler.virtual_0], vtable.UiLib::ZIPNetResHandler.0
movups xmmword [ebp - 0x3b4], xmm0
lea ecx, [ebp - 0x3a0]
mov dword [ebp - 4], 3
call fcn.00405490
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x338]
push dword [edi + 0x48]
call fcn.004030b0
lea eax, [ebp - 0x3b8]
mov dword [ebp - 0x3a0], 1
lea ecx, [ebp - 0x3f8]
mov dword [ebp - 0x2b0], eax
call fcn.0041c0c0
mov byte [ebp - 4], 5
lea eax, [ebp - 0x3f8]
cmp dword [0x4e91dc], 0x10
mov ecx, 0x4e91c8
mov dword [ebp - 0x2b8], eax
cmovae ecx, dword [0x4e91c8]
call fcn.00434780
mov esi, eax
test esi, esi
je 0x41a9ae
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x41a9ae
mov edx, dword [ecx]
lea eax, [ebp - 0x3a0]
push eax
call dword [edx + 0x20]
test eax, eax
setne al
test al, al
je 0x41a9ae
mov edx, dword [ebp - 0x3f0]
push dword [ebp - 0x3ec]
mov ecx, dword [edi + 0x48]
mov dword [edi + 0x79c], edx
call fcn.0041eb30
mov ecx, esi
call fcn.00405cc0
lea ecx, [ebp - 0x3f8]
call fcn.0041c010
lea ecx, [ebp - 0x3a0]
call fcn.00406110
mov dword [ebp - 4], 0xffffffff
jmp 0x41aae0
lea eax, [ebp - 0x128]
mov dword [ebp - fcn.00429d50], vtable.UiLib::CDuiString.0
push 0xffffffffffffffff
push dword [0x4e615c]
mov dword [ebp - 0x12c], eax
lea ecx, [ebp - 0x130]
xor eax, eax
mov word [ebp - 0x128], ax
call fcn.00429c90
mov dword [ebp - 4], 1
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x80]
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0xa8], vtable.UiLib::CDuiString.0
mov dword [ebp - 0xa4], ecx
xor ecx, ecx
mov word [ebp - 0xa0], cx
push eax
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 2
push str.RESID:_d
push eax
call fcn.0042a2d0
mov ebx, dword [ebp - 0xa4]
add esp, 0xc
mov esi, dword [ebp - 0x12c]
mov ecx, ebx
mov eax, esi
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41aa86
test dx, dx
je 0x41aa82
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41aa86
add eax, 4
add ecx, 4
test dx, dx
jne 0x41aa60
xor eax, eax
jmp 0x41aa8b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x41abd6
lea eax, [ebp - 0xa0]
mov dword [ebp - 0xa8], vtable.UiLib::CDuiString.0
cmp ebx, eax
je 0x41aab6
push ebx
call fcn.0049b90f
mov esi, dword [ebp - 0x12c]
add esp, 4
lea eax, [ebp - 0x128]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - fcn.00429d50], vtable.UiLib::CDuiString.0
cmp esi, eax
je 0x41aada
push esi
call fcn.0049b90f
add esp, 4
lea ebx, [edi + 0xcc]
mov ecx, edi
call fcn.0041a4e0
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x274], 0
mov dword [ebp - 0x270], 0
mov byte [ebp - 0x13c], 1
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], 0
lea eax, [ebp - 0xa8]
mov dword [ebp - 4], 6
push eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x78]
mov ecx, edi
mov byte [ebp - 4], 7
mov edx, dword [eax + 4]
neg ecx
push 0
sbb ecx, ecx
lea eax, [edi + 0x2c]
and ecx, eax
push ebx
push ecx
push 0
push ecx
mov eax, esp
lea ecx, [ebp - 0x278]
mov dword [eax], edx
call fcn.00431170
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xa0]
mov esi, eax
mov dword [ebp - 0xa8], vtable.UiLib::CDuiString.0
mov eax, dword [ebp - 0xa4]
cmp eax, ecx
je 0x41ab86
push eax
call fcn.0049b90f
add esp, 4
test esi, esi
jne 0x41ad14
push 0x10
push 0x4ca7bc
push 0x4ca7c8
push dword [edi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [edi]
mov eax, dword [eax]
cmp eax, method.IWindowBase.virtual_0
jne 0x41ad09
push dword [edi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41adc4
push esi
push 8
push 0x10
push dword [edi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x41adc4
mov esi, dword [0x4e90c0]
mov ecx, edi
mov eax, dword [edi]
test esi, esi
push 0x4ca7ac
cmove esi, dword [0x4e90bc]
call dword [eax + 0x80]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x41ac2a
mov ecx, dword [0x4e90c0]
test ecx, ecx
push esi
cmove ecx, dword [0x4e90bc]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x3a4], eax
push esi
test eax, eax
jne 0x41ac6a
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 0xa4]
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0xa8], vtable.UiLib::CDuiString.0
cmp eax, ecx
je 0x41ac4d
push eax
call fcn.0049b90f
add esp, 4
mov eax, dword [ebp - 0x12c]
lea ecx, [ebp - 0x128]
mov dword [ebp - fcn.00429d50], vtable.UiLib::CDuiString.0
cmp eax, ecx
jmp 0x41addf
mov eax, dword [0x4e90c0]
test eax, eax
cmove eax, dword [0x4e90bc]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x41ac2a
push ebx
call fcn.004933e1
add esp, 4
mov dword [edi + 0x79c], eax
test eax, eax
je 0x41acb4
push ebx
push dword [ebp - 0x3a4]
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push dword [edi + 0x79c]
call fcn.00496320
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov edx, dword [edi + 0x79c]
mov ecx, dword [ebp - 0xa4]
push ebx
call fcn.0041eb30
add esp, 4
lea ecx, [ebp - 0xa8]
call fcn.00424110
lea ecx, [ebp - 0x130]
mov dword [ebp - 4], 0xffffffff
call fcn.00424110
jmp 0x41aada
mov ecx, dword [edi + 0x48]
cmp word [ecx], 0
je 0x41aae0
call fcn.0041ebe0
jmp 0x41aae0
push 8
mov ecx, edi
call eax
jmp 0x41adc4
mov eax, dword [esi]
mov eax, dword [eax + 8]
cmp eax, method.UiLib::CCheckBoxUI.virtual_8
jne 0x41ad34
push 0xffffffffffffffff
lea ecx, [esi + 0xd4]
push str.Root
call fcn.00429c90
jmp 0x41ad3d
push str.Root
mov ecx, esi
call eax
push esi
mov ecx, ebx
call fcn.00421560
mov edx, edi
lea eax, [edi + 0x24]
neg edx
mov ecx, ebx
sbb edx, edx
and edx, eax
push edx
call fcn.00422550
push 1
push str.SysCloseBtn
lea ecx, [edi + 0x674]
call fcn.0042a920
push 1
push str.SysMaxBtn
lea ecx, [edi + 0x674]
mov dword [edi + 0x30], eax
call fcn.0042a920
push 1
push str.SysRestoreBtn
lea ecx, [edi + 0x674]
mov dword [edi + 0x34], eax
call fcn.0042a920
push 1
push str.SysMinBtn
lea ecx, [edi + 0x674]
mov dword [edi + 0x38], eax
call fcn.0042a920
mov dword [edi + 0x3c], eax
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x24]
cmp byte [edi + 0x557], 0
je 0x41adc4
push ecx
mov ecx, edi
call fcn.0041a6b0
mov eax, dword [ebp - 0x278]
test eax, eax
je 0x41add7
push eax
call fcn.0049b90f
add esp, 4
mov eax, dword [ebp - 0x274]
test eax, eax
je 0x41adea
push eax
call fcn.0049b90f
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00493122
mov esp, ebp
pop ebp
ret 0x10