Function at 0x407625
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x42e33c]
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 4], ebx
mov byte [0x42f4b1], 0
test eax, 0x200
jne 0x4076a8
push 0x65
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
push 0x32
mov edi, eax
call esi
push eax
push 0x31
call esi
push eax
push 1
push 0x65
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
push edi
mov esi, eax
push 1
push 0x80
push dword [ebx + 4]
test esi, esi
cmove esi, edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
call edi
push esi
push 0
push 0x80
push dword [ebx + 4]
call edi
mov eax, dword [0x42e33c]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
test eax, 0x4000
je 0x407727
push 0x4b2
push dword [ebx + 4]
call edi
push 0x4b2
push dword [ebx + 4]
mov esi, eax
call edi
push 0xfffffffffffffff0
push esi
mov edi, eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ebx, dword [sym.imp.USER32.dll_SetWindowLongW]
or eax, 0x80
push eax
push 0xfffffffffffffff0
push edi
call ebx
mov edi, dword [ebp - 4]
push 0x4b5
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x4b5
push dword [edi + 4]
mov esi, eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0xfffffffffffffff0
push esi
mov edi, eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x80
push eax
push 0xfffffffffffffff0
push edi
call ebx
mov ebx, dword [ebp - 4]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push dword [ebx + 0x10]
push 0x4b2
push dword [ebx + 4]
call edi
push eax
mov ecx, ebx
call fcn.0040876d
push dword [ebx + 0xc]
mov ecx, ebx
call fcn.00408407
mov eax, dword [ebx + 8]
and eax, 3
sub eax, 0
je 0x4077ca
dec eax
je 0x4077a5
dec eax
je 0x407777
dec eax
jne 0x4077f4
push 0x19
call fcn.004027e0
pop ecx
push eax
push 0x4b3
mov ecx, ebx
call fcn.004082a5
push 0x1a
jmp 0x4077e1
push 0x1a
call fcn.004027e0
pop ecx
push eax
mov esi, 0x4b4
push esi
mov ecx, ebx
call fcn.004082a5
push 0
push 0x4b3
mov ecx, ebx
call fcn.00408a45
push esi
mov ecx, ebx
call fcn.00408461
jmp 0x4077f4
push 0x19
call fcn.004027e0
pop ecx
push eax
push 0x4b3
mov ecx, ebx
call fcn.004082a5
push 0
push 0x4b4
mov ecx, ebx
call fcn.00408a45
jmp 0x4077f4
push 0x1b
call fcn.004027e0
pop ecx
push eax
push 0x4b3
mov ecx, ebx
call fcn.004082a5
push 0x1c
call fcn.004027e0
pop ecx
push eax
push 0x4b4
mov ecx, ebx
call fcn.004082a5
cmp dword [ebx + 0x38], 0
je 0x407868
mov esi, dword [sym.imp.USER32.dll_GetWindow]
push 5
push dword [ebx + 4]
jmp 0x407811
push edi
call fcn.0040366a
pop ecx
push 2
push edi
call esi
mov edi, eax
test edi, edi
jne 0x407807
push 5
push dword [ebx + 4]
jmp 0x40782e
push edi
call fcn.004033fd
pop ecx
test eax, eax
jne 0x407819
push 2
push edi
call esi
mov edi, eax
test edi, edi
jne 0x407820
push 5
push dword [ebx + 4]
jmp 0x407847
push edi
call fcn.004039ec
pop ecx
push 2
push edi
call esi
mov edi, eax
test edi, edi
jne 0x40783d
test byte [0x42e33c], 8
jne 0x40790a
mov ecx, ebx
call fcn.00407293
jmp 0x40790a
mov eax, dword [ebx + 8]
and eax, 0x1c
cmp eax, 4
je 0x4078a5
cmp eax, 8
je 0x40789e
cmp eax, 0xc
je 0x407897
cmp eax, 0x10
je 0x407890
cmp eax, 0x14
jne 0x4078da
push 0x7f03
push 0
jmp 0x4078b0
push 0x7f04
jmp 0x40788c
push 0x7f01
jmp 0x40788c
push 0x7f02
jmp 0x40788c
push 0x65
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
test eax, eax
je 0x4078da
push eax
xor ecx, ecx
inc ecx
push ecx
push 0x172
push 0x4b1
push dword [ebx + 4]
mov dword [ebx + 0x30], ecx
call edi
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4078ec
and dword [ebx + 0x30], 0
push 0
push 0x4b1
mov ecx, ebx
call fcn.00408a45
test byte [0x42e33c], 8
jne 0x4078fc
mov ecx, ebx
call fcn.00407293
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x28]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x24]
mov ecx, ebx
call fcn.004084da
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret