Function at 0x42aff0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov ebp, ecx
call fcn.0042a300
mov eax, dword [ebp + 0x38]
xor ebx, ebx
cmp eax, ebx
jne 0x42b022
push 8
call fcn.00532695
add esp, 4
cmp eax, ebx
je 0x42b01d
mov ecx, eax
call fcn.00525b20
jmp 0x42b01f
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 [0x55f48c]
push ebx
push eax
push ebx
push esi
push SHChangeNotifyRegister
push SHChangeNotifyRegister
push SHChangeNotifyRegister
push SHChangeNotifyRegister
push SHChangeNotifyRegister
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], 0x541fc4
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 0x42b317
lea edx, [esp + 0x30]
lea eax, [ebp + 0x50]
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], eax
mov ecx, dword [0x547570]
mov edx, 0x548dfc
test edx, edx
mov dword [esp + 0x14], ecx
je 0x42b13f
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
cmp edi, ebx
je 0x42b13f
push edi
lea ecx, [esp + 0x18]
call fcn.00405530
test eax, eax
je 0x42b13f
mov eax, dword [esp + 0x14]
inc edi
push edi
push 0x548dfc
push eax
call fcn.00405400
add esp, 0xc
lea ecx, [esp + 0x14]
push 0xffffffffffffffff
call fcn.00405bb0
mov ecx, dword [0x547570]
cmp esi, ebx
mov dword [esp + 0x10], ecx
je 0x42b183
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
cmp edi, ebx
je 0x42b183
push edi
lea ecx, [esp + 0x14]
call fcn.00405530
test eax, eax
je 0x42b183
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.0042afb0
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, ebx
je 0x42b28f
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x42b28d
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 0x42b28d
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test eax, eax
mov dword [esp + 0x2c], eax
je 0x42b28d
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x42b27a
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 0x42b26f
push eax
mov eax, dword [esp + 0x1c]
push eax
call fcn.0042ae20
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 0x42b26f
mov ecx, dword [eax + 8]
mov dword [eax + 8], 0
test ecx, ecx
je 0x42b28d
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x42b267
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 [0x547574]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x42b2be
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42b2be
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x14]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x42b2ed
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42b2ed
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.00532222
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 0x42b0f2
mov edx, dword [0x547570]
mov eax, 0x548dfc
test eax, eax
mov dword [esp + 0x10], edx
je 0x42b364
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
cmp esi, ebx
je 0x42b364
push esi
lea ecx, [esp + 0x14]
call fcn.00405530
test eax, eax
je 0x42b364
mov ecx, dword [esp + 0x10]
inc esi
push esi
push 0x548dfc
push ecx
call fcn.00405400
add esp, 0xc
lea ecx, [esp + 0x10]
push 0xffffffffffffffff
call fcn.00405bb0
mov edx, dword [0x547570]
mov eax, str.dd_r.png
test eax, eax
mov dword [esp + 0x14], edx
je 0x42b3b1
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
cmp esi, ebx
je 0x42b3b1
push esi
lea ecx, [esp + 0x18]
call fcn.00405530
test eax, eax
je 0x42b3b1
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.0042afb0
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, ebx
je 0x42b4a5
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
cmp edi, ebx
je 0x42b4a5
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 0x42b4a5
push edi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp eax, ebx
mov dword [esp + 0x2c], eax
je 0x42b4a5
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, ebx
je 0x42b496
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 0x42b48b
mov edx, dword [esp + 0x18]
push ebx
push edx
call fcn.0042ae20
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 0x42b48b
mov ecx, dword [eax + 8]
mov dword [eax + 8], ebx
cmp ecx, ebx
je 0x42b4a5
mov ecx, dword [esp + 0x28]
cmp ecx, ebx
je 0x42b487
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 [0x547574]
pop edi
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x42b4d5
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42b4d5
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.00532222
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.00457150
test al, al
push 0x548dfc
je 0x42b530
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.0042b6a0
lea ecx, [esp + 0x1c]
call fcn.00405700
lea ecx, [esp + 0x18]
jmp 0x42b564
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.0042b6a0
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.0042aac0
push ebx
mov ecx, ebp
call fcn.0042a9f0
push ebx
push ebx
push 0xa76c
push ebx
mov ecx, ebp
call fcn.0042aac0
mov esi, 1
push ebx
push esi
push 0xa76d
push ebx
mov ecx, ebp
call fcn.0042aac0
push ebx
mov ecx, ebp
call fcn.0042a9f0
push ebx
push 2
push 0xa771
push ebx
mov ecx, ebp
call fcn.0042aac0
push ebx
push 3
push 0xa772
push ebx
mov ecx, ebp
call fcn.0042aac0
push ebx
push 4
push 0xa775
push ebx
mov ecx, ebp
call fcn.0042aac0
push ebx
push 5
push 0xa770
push ebx
mov ecx, ebp
call fcn.0042aac0
push ebx
push 6
push 0xb379
push ebx
mov ecx, ebp
mov dword [eax + 0x30], ebx
call fcn.0042aac0
mov dword [eax + 0x30], esi
mov eax, dword [ebp + 0x260]
push ebx
push ebx
mov ecx, ebp
mov dword [eax + 0x2f0], esi
call fcn.0042c000
push esi
push 0x2fbe
mov ecx, ebp
call fcn.0042c920
push ebx
push 0x2fbe
mov ecx, ebp
call fcn.0042c920
lea ecx, [esp + 0x20]
call fcn.0042b650
pop esi
pop ebp
pop ebx
add esp, 0x44
ret