Function at 0x422600
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov ebp, ecx
call fcn.00421900
mov eax, dword [ebp + 0x38]
xor ebx, ebx
cmp eax, ebx
jne 0x422632
push 8
call fcn.004c58a5
add esp, 4
cmp eax, ebx
je 0x42262d
mov ecx, eax
call fcn.004bbcd0
jmp 0x42262f
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.004014f0
mov eax, dword [0x4ee0bc]
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.004014c0
mov esi, str.z6.png
mov dword [esp + 0x28], ebx
mov ecx, esi
mov dword [esp + 0x24], 0x4d3e84
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 0x422927
lea edx, [esp + 0x30]
lea eax, [ebp + 0x50]
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], eax
mov ecx, dword [0x4d9540]
mov edx, 0x4daaac
test edx, edx
mov dword [esp + 0x14], ecx
je 0x42274f
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
cmp edi, ebx
je 0x42274f
push edi
lea ecx, [esp + 0x18]
call fcn.004012f0
test eax, eax
je 0x42274f
mov eax, dword [esp + 0x14]
inc edi
push edi
push 0x4daaac
push eax
call fcn.004011c0
add esp, 0xc
lea ecx, [esp + 0x14]
push 0xffffffffffffffff
call fcn.00401970
mov ecx, dword [0x4d9540]
cmp esi, ebx
mov dword [esp + 0x10], ecx
je 0x422793
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
cmp edi, ebx
je 0x422793
push edi
lea ecx, [esp + 0x14]
call fcn.004012f0
test eax, eax
je 0x422793
mov edx, dword [esp + 0x10]
inc edi
push edi
push esi
push edx
call fcn.004011c0
add esp, 0xc
lea ecx, [esp + 0x10]
push 0xffffffffffffffff
call fcn.00401970
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
lea ecx, [esp + 0x24]
call fcn.004225c0
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, ebx
je 0x42289f
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x42289d
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 0x42289d
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test eax, eax
mov dword [esp + 0x2c], eax
je 0x42289d
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x42288a
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 0x42287f
push eax
mov eax, dword [esp + 0x1c]
push eax
call fcn.00422430
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 0x42287f
mov ecx, dword [eax + 8]
mov dword [eax + 8], 0
test ecx, ecx
je 0x42289d
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x422877
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 [0x4d9544]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x4228ce
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4228ce
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.004c5432
add esp, 4
mov eax, dword [esp + 0x14]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4228fd
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4228fd
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.004c5432
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 0x422702
mov edx, dword [0x4d9540]
mov eax, 0x4daaac
test eax, eax
mov dword [esp + 0x10], edx
je 0x422974
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
cmp esi, ebx
je 0x422974
push esi
lea ecx, [esp + 0x14]
call fcn.004012f0
test eax, eax
je 0x422974
mov ecx, dword [esp + 0x10]
inc esi
push esi
push 0x4daaac
push ecx
call fcn.004011c0
add esp, 0xc
lea ecx, [esp + 0x10]
push 0xffffffffffffffff
call fcn.00401970
mov edx, dword [0x4d9540]
mov eax, str.dd_r.png
test eax, eax
mov dword [esp + 0x14], edx
je 0x4229c1
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
cmp esi, ebx
je 0x4229c1
push esi
lea ecx, [esp + 0x18]
call fcn.004012f0
test eax, eax
je 0x4229c1
mov ecx, dword [esp + 0x14]
inc esi
push esi
push str.dd_r.png
push ecx
call fcn.004011c0
add esp, 0xc
lea ecx, [esp + 0x14]
push 0xffffffffffffffff
call fcn.00401970
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0x24]
call fcn.004225c0
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, ebx
je 0x422ab5
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
cmp edi, ebx
je 0x422ab5
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 0x422ab5
push edi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
invalid