Function at 0x42edf0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb4
mov eax, dword [0x60aca0]
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], 0x42f6f0
call edi
mov dword [ebp - 0x5c], eax
movzx eax, word [ebp + 0x14]
push eax
push dword [0x6ef2f0]
call dword [sym.imp.USER32.dll_LoadIconA]
mov esi, dword [sym.imp.USER32.dll_RegisterClassA]
mov dword [ebp - 0x60], eax
mov eax, dword [0x6ef2f0]
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 [0x6ef2f0]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x74]
push eax
call esi
push 0
lea eax, [ebp - 0x24]
push eax
push 0
push 0
call fcn.004194c0
mov edi, dword [ebp + 0x24]
add esp, 0x10
test edi, edi
jne 0x42eee2
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 0x42eeff
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 0x42ef1f
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 0x42ef3d
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, 0x6ef2f0
mov dword [ebp - 0x30], eax
call fcn.0042b1b0
test al, al
je 0x42ef9b
push 0
push 0x10
lea eax, [ebp - 0x14]
push eax
movzx eax, word [ebx + 0x10]
push eax
push str._DFC_Win
call fcn.00418fe0
add esp, 0x14
mov esi, dword [ebp - 0x10]
test si, si
je 0x42f00f
cmp word [ebp - 0xe], 0
je 0x42f00f
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 [0x6eef40], edi
jle 0x42f00f
mov ebx, dword [sym.imp.USER32.dll_PtInRect]
mov esi, 0x6eebc0
nop
push edx
push dword [ebp - 0x3c]
push esi
call ebx
test eax, eax
jne 0x42f1d3
push dword [ebp - 0x44]
push dword [ebp - 0x40]
push esi
call ebx
test eax, eax
jne 0x42f1d3
mov edx, dword [ebp - 0x44]
inc edi
add esi, 0x10
cmp edi, dword [0x6eef40]
jl 0x42efe0
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.004301d0
push 0
push dword [0x6ef2f0]
push 0
push dword [0x6efc34]
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 0x42f1f8
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 [0x6efc2c], eax
lea eax, [ebp - 0xb4]
push 0
push eax
call fcn.004def40
add esp, 0xc
lea eax, [ebp - 0xb4]
push eax
push 0
push 1
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageA]
movzx eax, word [ebp + 0x14]
push eax
push dword [0x6ef2f0]
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.0042f210
test eax, eax
jne 0x42f1f8
push 1
push 1
mov ecx, ebx
call fcn.0042f210
cmp eax, 1
jne 0x42f1f8
push 2
push 2
mov ecx, ebx
call fcn.0042f210
cmp eax, 2
jne 0x42f1f8
push 3
push 3
mov ecx, ebx
call fcn.0042f210
cmp eax, 3
jne 0x42f1f8
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebx + 0x114], eax
test eax, eax
je 0x42f1f8
push 0
push 0xf004
mov ecx, 0x6f0820
call fcn.0042ca60
push eax
push 0xfffffffffffffffd
mov ecx, ebx
call fcn.00430e80
push 0
push 0xf004
mov ecx, 0x6f0820
call fcn.0042ca60
push eax
push 0xfffffffffffffffe
mov ecx, ebx
call fcn.00430e80
push dword [ebx + 0x5c]
mov ecx, ebx
call fcn.004310a0
movzx eax, byte [ebx + 0x60]
mov ecx, ebx
push eax
call fcn.00430d90
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004dcc5c
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 0x42f015
mov ecx, dword [ebp - 4]
mov eax, 0xf002
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004dcc5c
mov esp, ebp
pop ebp
ret 0x24