Function at 0x42af50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov ebp, ecx
call fcn.0042a240
mov eax, dword [ebp + 0x38]
xor ebx, ebx
cmp eax, ebx
jne 0x42af82
push 8
call fcn.00531ba5
add esp, 4
cmp eax, ebx
je 0x42af7d
mov ecx, eax
call fcn.00525060
jmp 0x42af7f
xor eax, eax
mov dword [ebp + 0x38], eax
mov esi, dword [ebp + 4]
push edi
mov edi, dword [ebp + 0x38]
push str.Test
lea ecx, [esp + 0x24]
call fcn.00405730
mov eax, dword [0x55e3d4]
push ebx
push eax
push ebx
push esi
push SHChangeNotifyDeregister
push SHChangeNotifyDeregister
push SHChangeNotifyDeregister
push SHChangeNotifyDeregister
push SHChangeNotifyDeregister
push ebx
push str.tooltips_class32
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0x190
push ebx
push 0x418
push eax
mov dword [edi + 4], eax
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x20]
call fcn.00405700
mov esi, str.z6.png
mov dword [esp + 0x28], ebx
mov ecx, esi
mov dword [esp + 0x24], 0x540fbc
test ecx, ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], str.v6.png
mov dword [esp + 0x38], str.upF.png
mov dword [esp + 0x3c], str.new.png
mov dword [esp + 0x40], str.view.png
mov dword [esp + 0x44], str.update.png
mov dword [esp + 0x48], str.go.png
mov dword [esp + 0x4c], str.viewtree.png
mov dword [esp + 0x50], ebx
je 0x42b277
lea edx, [esp + 0x30]
lea eax, [ebp + 0x50]
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], eax
mov ecx, dword [0x546560]
mov edx, 0x547ddc
test edx, edx
mov dword [esp + 0x14], ecx
je 0x42b09f
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
cmp edi, ebx
je 0x42b09f
push edi
lea ecx, [esp + 0x18]
call fcn.00405530
test eax, eax
je 0x42b09f
mov eax, dword [esp + 0x14]
inc edi
push edi
push 0x547ddc
push eax
call fcn.00405400
add esp, 0xc
lea ecx, [esp + 0x14]
push 0xffffffffffffffff
call fcn.00405bb0
mov ecx, dword [0x546560]
cmp esi, ebx
mov dword [esp + 0x10], ecx
je 0x42b0e3
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
cmp edi, ebx
je 0x42b0e3
push edi
lea ecx, [esp + 0x14]
call fcn.00405530
test eax, eax
je 0x42b0e3
mov edx, dword [esp + 0x10]
inc edi
push edi
push esi
push edx
call fcn.00405400
add esp, 0xc
lea ecx, [esp + 0x10]
push 0xffffffffffffffff
call fcn.00405bb0
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
lea ecx, [esp + 0x24]
call fcn.0042af10
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, ebx
je 0x42b1ef
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x42b1ed
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x42b1ed
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test eax, eax
mov dword [esp + 0x2c], eax
je 0x42b1ed
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x42b1da
mov ecx, ebx
mov edi, eax
mov eax, ecx
mov dword [esp + 0x18], 0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x18]
push ecx
push 0
push edx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x42b1cf
push eax
mov eax, dword [esp + 0x1c]
push eax
call fcn.0042ad80
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x20]
add esp, 8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x28]
test eax, eax
je 0x42b1cf
mov ecx, dword [eax + 8]
mov dword [eax + 8], 0
test ecx, ecx
je 0x42b1ed
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x42b1c7
mov edx, dword [ecx]
push 1
call dword [edx]
mov dword [esp + 0x28], 0
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [esp + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [esp + 0x2c], 0
xor ebx, ebx
mov eax, dword [esp + 0x10]
mov ecx, dword [0x546564]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x42b21e
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42b21e
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x14]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x42b24d
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42b24d
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x28], ebx
mov dword [eax], ecx
add eax, 4
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
add eax, 4
mov dword [esp + 0x20], eax
mov esi, dword [eax]
cmp esi, ebx
jne 0x42b052
mov edx, dword [0x546560]
mov eax, 0x547ddc
test eax, eax
mov dword [esp + 0x10], edx
je 0x42b2c4
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
cmp esi, ebx
je 0x42b2c4
push esi
lea ecx, [esp + 0x14]
call fcn.00405530
test eax, eax
je 0x42b2c4
mov ecx, dword [esp + 0x10]
inc esi
push esi
push 0x547ddc
push ecx
call fcn.00405400
add esp, 0xc
lea ecx, [esp + 0x10]
push 0xffffffffffffffff
call fcn.00405bb0
mov edx, dword [0x546560]
mov eax, str.dd_r.png
test eax, eax
mov dword [esp + 0x14], edx
je 0x42b311
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
cmp esi, ebx
je 0x42b311
push esi
lea ecx, [esp + 0x18]
call fcn.00405530
test eax, eax
je 0x42b311
mov ecx, dword [esp + 0x14]
inc esi
push esi
push str.dd_r.png
push ecx
call fcn.00405400
add esp, 0xc
lea ecx, [esp + 0x14]
push 0xffffffffffffffff
call fcn.00405bb0
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0x24]
call fcn.0042af10
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, ebx
je 0x42b405
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
cmp edi, ebx
je 0x42b405
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
cmp esi, ebx
je 0x42b405
push edi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp eax, ebx
mov dword [esp + 0x2c], eax
je 0x42b405
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, ebx
je 0x42b3f6
mov ecx, edi
mov edi, eax
mov edx, ecx
lea eax, [esp + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x20], ebx
push ecx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x42b3eb
mov edx, dword [esp + 0x18]
push ebx
push edx
call fcn.0042ad80
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x20]
add esp, 8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x42b3eb
mov ecx, dword [eax + 8]
mov dword [eax + 8], ebx
cmp ecx, ebx
je 0x42b405
mov ecx, dword [esp + 0x28]
cmp ecx, ebx
je 0x42b3e7
mov edx, dword [ecx]
push 1
call dword [edx]
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [esp + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [esp + 0x2c], ebx
mov eax, dword [esp + 0x14]
mov ecx, dword [0x546564]
pop edi
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x42b435
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42b435
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.00531732
add esp, 4
lea ecx, [esp + 0xc]
call fcn.00405700
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x24], ebx
mov dword [ebp + 0x254], ecx
call fcn.00456a50
test al, al
push 0x547ddc
je 0x42b490
lea ecx, [esp + 0x1c]
call fcn.00405730
mov esi, dword [eax]
push str.dd_w.png
lea ecx, [esp + 0x20]
call fcn.00405730
mov eax, dword [eax]
push ebx
push esi
push eax
lea ecx, [esp + 0x2c]
call fcn.0042b600
lea ecx, [esp + 0x1c]
call fcn.00405700
lea ecx, [esp + 0x18]
jmp 0x42b4c4
lea ecx, [esp + 0x1c]
call fcn.00405730
mov esi, dword [eax]
push str.dd.png
lea ecx, [esp + 0x20]
call fcn.00405730
mov eax, dword [eax]
push ebx
push esi
push eax
lea ecx, [esp + 0x2c]
call fcn.0042b600
lea ecx, [esp + 0x1c]
call fcn.00405700
lea ecx, [esp + 0x18]
call fcn.00405700
mov edx, dword [esp + 0x24]
push ebx
push 7
push 0xa773
push ebx
mov ecx, ebp
mov dword [ebp + 0x250], edx
mov dword [esp + 0x34], ebx
call fcn.0042aa20
push ebx
mov ecx, ebp
call fcn.0042a950
push ebx
push ebx
push 0xa76c
push ebx
mov ecx, ebp
call fcn.0042aa20
mov esi, 1
push ebx
push esi
push 0xa76d
push ebx
mov ecx, ebp
call fcn.0042aa20
push ebx
mov ecx, ebp
call fcn.0042a950
push ebx
push 2
push 0xa771
push ebx
mov ecx, ebp
call fcn.0042aa20
push ebx
push 3
push 0xa772
push ebx
mov ecx, ebp
call fcn.0042aa20
push ebx
push 4
push 0xa775
push ebx
mov ecx, ebp
call fcn.0042aa20
push ebx
push 5
push 0xa770
push ebx
mov ecx, ebp
call fcn.0042aa20
push ebx
push 6
push 0xb379
push ebx
mov ecx, ebp
mov dword [eax + 0x30], ebx
call fcn.0042aa20
mov dword [eax + 0x30], esi
mov eax, dword [ebp + 0x260]
push ebx
push ebx
mov ecx, ebp
mov dword [eax + 0x2f0], esi
call fcn.0042bf60
push esi
push 0x2fbe
mov ecx, ebp
call fcn.0042c880
push ebx
push 0x2fbe
mov ecx, ebp
call fcn.0042c880
lea ecx, [esp + 0x20]
call fcn.0042b5b0
pop esi
pop ebp
pop ebx
add esp, 0x44
ret