Function at 0x440800
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb4
mov eax, dword [0x572c40]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
push ebx
mov dword [ebp - 0x4c], eax
mov ebx, ecx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x48], eax
xor eax, eax
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [ebp - 0x34], eax
mov ax, word [ebp + 8]
push 0x7f00
mov word [ebx + 0x10], ax
mov eax, dword [ebp + 0x18]
push 0
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x74], 0
movlpd qword [ebp - 0x6c], xmm0
movlpd qword [ebp - 0x58], xmm0
movups xmmword [ebp - 0x14], xmm0
mov dword [ebx + 0x14], eax
mov dword [ebp - 0x50], str.DFCWindow
mov dword [ebp - 0x70], 0x441110
call edi
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x14]
movzx eax, ax
push eax
push dword [0xb64288]
call dword [sym.imp.USER32.dll_LoadIconA]
mov esi, dword [sym.imp.USER32.dll_RegisterClassA]
mov dword [ebp - 0x60], eax
mov eax, dword [0xb64288]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x74]
push eax
call esi
mov eax, dword [sym.imp.USER32.dll_DefWindowProcA]
push 0x7f02
push 0
mov dword [ebp - 0x50], str.DFCBusy
mov dword [ebp - 0x70], eax
call edi
mov dword [ebp - 0x5c], eax
mov eax, dword [0xb64288]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x74]
push eax
call esi
push 0
push 0
lea eax, [ebp - 0x24]
push eax
push 0
push 0
call fcn.004327f0
mov edi, dword [ebp + 0x24]
add esp, 0x14
test edi, edi
jne 0x4408f6
mov ecx, dword [ebp - 0x1c]
mov eax, 0x55555556
sub ecx, dword [ebp - 0x24]
add ecx, ecx
imul ecx
mov edi, edx
shr edi, 0x1f
add edi, edx
mov esi, dword [ebp + 0x28]
test esi, esi
jne 0x440913
mov ecx, dword [ebp - 0x18]
mov eax, 0x55555556
sub ecx, dword [ebp - 0x20]
add ecx, ecx
imul ecx
mov esi, edx
shr esi, 0x1f
add esi, edx
cmp dword [ebp + 0x1c], 0
jne 0x440933
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
movzx ecx, word [ebx + 0x10]
sub eax, edi
cdq
sub eax, edx
sar eax, 1
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*8]
mov dword [ebp + 0x1c], eax
mov eax, dword [ebp + 0x20]
test eax, eax
jne 0x440951
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
movzx ecx, word [ebx + 0x10]
sub eax, esi
cdq
sub eax, edx
sar eax, 1
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*8]
mov ecx, dword [ebp - 0x18]
cdq
sub ecx, esi
idiv ecx
mov ecx, dword [ebp - 0x1c]
movzx eax, dx
sub ecx, edi
shl eax, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x1c]
cdq
idiv ecx
movzx ecx, si
movzx eax, dx
or dword [ebp - 0x28], eax
shl ecx, 0x10
movzx eax, di
or ecx, eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x2c], ecx
mov ecx, 0xb64288
mov dword [ebp - 0x30], eax
call fcn.0042e210
test al, al
je 0x4409af
push 0
push 0x10
lea eax, [ebp - 0x14]
push eax
movzx eax, word [ebx + 0x10]
push eax
push str._DFC_Win
call fcn.004322a0
add esp, 0x14
mov esi, dword [ebp - 0x10]
test si, si
je 0x440a21
cmp word [ebp - 0xe], 0
je 0x440a21
movsx ecx, word [ebp - 0x14]
xor edi, edi
movsx edx, word [ebp - 0x12]
add edx, 0x14
mov dword [ebp - 0x44], edx
lea eax, [ecx + 0x14]
mov dword [ebp - 0x3c], eax
movsx eax, si
add eax, 0xffffffec
add eax, ecx
mov dword [ebp - 0x40], eax
cmp dword [0xb63dd8], edi
jle 0x440a21
mov ebx, dword [sym.imp.USER32.dll_PtInRect]
mov esi, 0xb63958
push edx
push dword [ebp - 0x3c]
push esi
call ebx
test eax, eax
jne 0x440be7
push dword [ebp - 0x44]
push dword [ebp - 0x40]
push esi
call ebx
test eax, eax
jne 0x440be7
mov edx, dword [ebp - 0x44]
inc edi
add esi, 0x10
cmp edi, dword [0xb63dd8]
jl 0x4409f2
mov edi, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x28]
mov eax, esi
movsx ebx, si
mov esi, dword [ebp - 0x38]
mov edx, edi
shr eax, 0x10
add esi, 0x28
movsx ecx, ax
shr edx, 0x10
movzx edi, di
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], ecx
lea eax, [ecx + edx]
push eax
lea eax, [ebx + edi]
push eax
push ecx
push ebx
push esi
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x34]
movups xmm0, xmmword [esi]
mov dword [ecx + 0x14], eax
movzx eax, dl
mov dword [ecx + 0x5c], eax
lea eax, [ebp - 0x34]
push eax
shr edx, 0xc
lea eax, [ebp - 0x30]
and dl, 1
push eax
movups xmmword [ecx + 0x38], xmm0
mov byte [ecx + 0x60], dl
call fcn.00441b20
push 0
push dword [0xb64288]
push 0
push dword [0xb64bcc]
push dword [ebp - 0x40]
push edi
push dword [ebp - 0x3c]
push ebx
push dword [ebp - 0x34]
push dword [ebp - 0x48]
push str.DFCWindow
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov ebx, dword [ebp - 0x38]
mov dword [ebx], eax
test eax, eax
je 0x440c0c
mov esi, dword [sym.imp.USER32.dll_SetWindowLongA]
push ebx
push 0xffffffffffffffeb
push eax
call esi
push dword [ebp - 0x4c]
push 0xfffffffffffffffc
push dword [ebx]
call esi
push 0x30
mov dword [0xb64bc4], eax
lea eax, [ebp - 0xb4]
push 0
push eax
call fcn.00483290
add esp, 0xc
lea eax, [ebp - 0xb4]
push eax
push 0
push 1
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp + 0x14]
movzx eax, cx
push eax
push dword [0xb64288]
call dword [sym.imp.USER32.dll_LoadIconA]
push eax
push 0xffffffffffffffde
push dword [ebx]
call dword [sym.imp.USER32.dll_SetClassLongA]
push 0
push 0
mov ecx, ebx
call fcn.00440c30
test eax, eax
jne 0x440c0c
push 1
push 1
mov ecx, ebx
call fcn.00440c30
cmp eax, 1
jne 0x440c0c
push 2
push 2
mov ecx, ebx
call fcn.00440c30
cmp eax, 2
jne 0x440c0c
push 3
push 3
mov ecx, ebx
call fcn.00440c30
cmp eax, 3
jne 0x440c0c
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebx + 0x114], eax
test eax, eax
je 0x440c0c
push 0
push 0xf004
mov ecx, 0xb657b8
call fcn.00427790
push eax
push 0xfffffffffffffffd
mov ecx, ebx
call fcn.004427d0
push 0
push 0xf004
mov ecx, 0xb657b8
call fcn.00427790
push eax
push 0xfffffffffffffffe
mov ecx, ebx
call fcn.004427d0
push dword [ebx + 0x5c]
mov ecx, ebx
call fcn.004429f0
movzx eax, byte [ebx + 0x60]
mov ecx, ebx
push eax
call fcn.004426e0
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00481761
mov esp, ebp
pop ebp
ret 0x24
movups xmm0, xmmword [ebp - 0x14]
movups xmmword [ebp - 0x84], xmm0
mov eax, dword [ebp - 0x78]
mov edi, dword [ebp - 0x80]
mov esi, dword [ebp - 0x84]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x30], eax
jmp 0x440a27
mov ecx, dword [ebp - 4]
mov eax, 0xf002
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00481761
mov esp, ebp
pop ebp
ret 0x24