Function at 0x41b580
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c7078
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x4ea5e0]
xor eax, esp
mov dword [esp + 0x198], eax
push ebx
push esi
push edi
mov eax, dword [0x4ea5e0]
xor eax, esp
push eax
lea eax, [esp + 0x1b0]
mov dword fs:[0], eax
mov ebx, ecx
xor edi, edi
lea esi, [esp + 0x94]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], edi
call fcn.0040e8e0
mov dword [esp + 0x1b8], edi
push str.vncclient.cpp_:_starting_update_thread_n
lea eax, [edi + 9]
mov ecx, 0x4ecb00
mov byte [esp + 0xbc], 1
mov dword [0x4ef428], edi
call fcn.00403230
xor esi, esi
add esp, 4
cmp byte [0x4ef42d], 0
mov dword [esp + 0x30], esi
jne 0x41b6e8
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
push str.vncclient.cpp_:_stopping_update_thread_n
mov eax, 9
mov ecx, 0x4ecb00
call fcn.00403230
mov ecx, dword [0x4ef428]
add esp, 4
push ecx
push str.client_sent__lu_updates_n
xor eax, eax
mov ecx, 0x4ecb00
call fcn.00403230
mov dword [esp + 0x1c0], 0xffffffff
mov edx, dword [esp + 0xb0]
add esp, 8
push edx
mov dword [esp + 0x98], vtable.rfb::SimpleUpdateTracker.0
call esi
mov eax, dword [esp + 0xac]
push eax
call fcn.004aa14e
mov ecx, dword [esp + 0xa4]
add esp, 4
push ecx
call esi
mov edx, dword [esp + 0xa4]
push edx
call fcn.004aa14e
mov eax, dword [esp + 0x9c]
add esp, 4
push eax
call esi
mov ecx, dword [esp + 0x9c]
push ecx
call fcn.004aa14e
add esp, 4
mov dword [esp + 0x94], vtable.rfb::UpdateTracker.0
xor eax, eax
mov ecx, dword [esp + 0x1b0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x198]
xor ecx, esp
call fcn.004a8a2f
mov esp, ebp
pop ebp
ret 4
mov esi, dword [esp + 0x30]
mov eax, dword [ebx + 0x60]
cmp byte [eax + 4], 0
je 0x41b615
cmp byte [eax + 0x571], 0
jne 0x41b71e
mov edi, edi
push 0x32
inc esi
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, 0x64
jg 0x41b71a
mov eax, dword [ebx + 0x60]
cmp byte [eax + 0x571], 0
je 0x41b700
mov dword [esp + 0x30], esi
mov ecx, dword [ebx + 0x60]
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
call eax
push eax
mov dword [esp + 0x40], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], 0x52
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x1b8], 1
cmp dword [0x4ef428], 1
jae 0x41b927
lea ebx, [ebx]
cmp dword [ebx + 0x6c], 0
je 0x41b870
cmp dword [ebx + 0x70], 0
je 0x41b869
mov eax, dword [ebx + 0x60]
mov edx, dword [eax + 0x144]
lea ecx, [eax + 0x144]
add eax, 0x174
push eax
mov eax, dword [edx + 0x24]
call eax
push eax
lea esi, [esp + 0x84]
call fcn.0040dff0
mov byte [esp + 0x1b8], 2
mov edx, dword [eax]
mov edi, dword [sym.imp.GDI32.dll_GetRgnBox]
or dword [esp + 0x18], 1
lea ecx, [esp + 0x178]
push ecx
push edx
call edi
cmp eax, 1
jne 0x41b870
mov eax, dword [ebx + 0x60]
lea ecx, [eax + 0x144]
add eax, 0x174
push eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x2c]
call edx
push eax
lea esi, [esp + 0x8c]
call fcn.0040dff0
mov dword [esp + 0x1b8], 3
mov edx, dword [eax]
or dword [esp + 0x18], 2
lea ecx, [esp + 0x168]
push ecx
push edx
call edi
cmp eax, 1
jne 0x41b870
mov eax, dword [ebx + 0x60]
lea ecx, [eax + 0x144]
add eax, 0x174
push eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x28]
call edx
push eax
lea esi, [esp + 0x74]
call fcn.0040dff0
mov ecx, 4
mov dword [esp + 0x1b8], ecx
or dword [esp + 0x18], ecx
mov edx, dword [eax]
lea ecx, [esp + 0x188]
push ecx
push edx
call edi
cmp eax, 1
jne 0x41b870
mov eax, dword [ebx + 0x60]
cmp byte [eax + 0x1d0], 0
jne 0x41b870
cmp byte [eax + 0x1d1], 0
jne 0x41b870
cmp dword [eax + 0x210], 0
jne 0x41b870
mov byte [esp + 0x17], 1
jmp 0x41b875
mov byte [esp + 0x17], 0
mov dword [esp + 0x1b8], 3
test byte [esp + 0x18], 4
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
je 0x41b8a6
mov eax, dword [esp + 0x6c]
and dword [esp + 0x18], 0xfffffffb
push eax
call esi
mov ecx, dword [esp + 0x70]
push ecx
call fcn.004aa14e
add esp, 4
mov dword [esp + 0x1b8], 2
test byte [esp + 0x18], 2
je 0x41b8d7
mov edx, dword [esp + 0x84]
and dword [esp + 0x18], 0xfffffffd
push edx
call esi
mov eax, dword [esp + 0x88]
push eax
call fcn.004aa14e
add esp, 4
mov dword [esp + 0x1b8], 1
test byte [esp + 0x18], 1
je 0x41b905
mov ecx, dword [esp + 0x7c]
and dword [esp + 0x18], 0xfffffffe
push ecx
call esi
mov edx, dword [esp + 0x80]
push edx
call fcn.004aa14e
add esp, 4
cmp byte [esp + 0x17], 0
je 0x41bb54
mov eax, dword [ebx + 0x68]
call fcn.00480940
mov eax, dword [ebx + 0x64]
push 0xffffffffffffffff
call fcn.004807f0
jmp 0x41b760
cmp dword [ebx + 0x6c], 0
je 0x41ba55
cmp dword [ebx + 0x70], 0
je 0x41ba4e
mov eax, dword [ebx + 0x60]
lea ecx, [eax + 0x144]
add eax, 0x174
push eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x24]
call edx
push eax
lea esi, [esp + 0x5c]
call fcn.0040dff0
mov byte [esp + 0x1b8], 5
mov edx, dword [eax]
mov edi, dword [sym.imp.GDI32.dll_GetRgnBox]
or dword [esp + 0x18], 8
lea ecx, [esp + 0x158]
push ecx
push edx
call edi
cmp eax, 1
jne 0x41ba55
mov eax, dword [ebx + 0x60]
lea ecx, [eax + 0x144]
add eax, 0x174
push eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x2c]
call edx
push eax
lea esi, [esp + 0x6c]
call fcn.0040dff0
mov dword [esp + 0x1b8], 6
mov edx, dword [eax]
or dword [esp + 0x18], 0x10
lea ecx, [esp + 0x148]
push ecx
push edx
call edi
cmp eax, 1
jne 0x41ba55
mov eax, dword [ebx + 0x60]
lea ecx, [eax + 0x144]
add eax, 0x174
push eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x28]
call edx
push eax
lea esi, [esp + 0x7c]
call fcn.0040dff0
mov dword [esp + 0x1b8], 7
mov edx, dword [eax]
or dword [esp + 0x18], 0x20
lea ecx, [esp + 0x198]
push ecx
push edx
call edi
cmp eax, 1
jne 0x41ba55
mov eax, dword [ebx + 0x60]
cmp dword [eax + 0xbc], 0
jne 0x41ba21
cmp dword [eax + 0xc0], 0
je 0x41ba2d
mov ecx, dword [eax + 0xe4]
cmp dword [ecx + 0x28], 0
jne 0x41ba55
cmp byte [eax + 0x1d0], 0
jne 0x41ba55
cmp byte [eax + 0x1d1], 0
jne 0x41ba55
cmp dword [eax + 0x2c], 0
jne 0x41ba55
cmp dword [eax + 0x210], 0
jne 0x41ba55
mov byte [esp + 0x17], 1
jmp 0x41ba5a
mov byte [esp + 0x17], 0
mov dword [esp + 0x1b8], 6
test byte [esp + 0x18], 0x20
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
je 0x41ba8b
mov edx, dword [esp + 0x74]
and dword [esp + 0x18], 0xffffffdf
push edx
call esi
mov eax, dword [esp + 0x78]
push eax
call fcn.004aa14e
add esp, 4
mov dword [esp + 0x1b8], 5
test byte [esp + 0x18], 0x10
je 0x41bab6
mov ecx, dword [esp + 0x64]
and dword [esp + 0x18], 0xffffffef
push ecx
call esi
mov edx, dword [esp + 0x68]
push edx
call fcn.004aa14e
add esp, 4
mov dword [esp + 0x1b8], 1
test byte [esp + 0x18], 8
je 0x41bae1
mov eax, dword [esp + 0x54]
and dword [esp + 0x18], 0xfffffff7
push eax
call esi
mov ecx, dword [esp + 0x58]
push ecx
call fcn.004aa14e
add esp, 4
cmp byte [esp + 0x17], 0
je 0x41bb4e
mov eax, dword [ebx + 0x68]
call fcn.00480940
mov eax, dword [ebx + 0x64]
push 0xfa0
call fcn.004807f0
test al, al
jne 0x41b927
mov edx, dword [ebx + 0x60]
mov eax, dword [edx + 0xe4]
mov eax, dword [eax + 0x54]
cmp dword [eax + 0xe0b4], 0
jne 0x41bb38
mov ecx, dword [eax + 0xdb94]
push ecx
mov dword [eax + 0xe0b4], 1
mov byte [0x4ef42e], 1
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov edi, dword [ebx + 0x60]
call fcn.004247b0
cmp byte [0x4ef42d], 0
jne 0x41baf0
jmp 0x41b927
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [ebx + 0x6c], 0
je 0x41c4d7
mov eax, dword [ebx + 0x60]
cmp byte [eax + 0x524], 0
je 0x41be93
mov esi, dword [eax + 0xe4]
mov eax, dword [esi + 0x54]
lea edi, [esp + 0xfc]
call fcn.0042f4a0
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov edi, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0xdc], edx
xor edx, edx
mov dword [esp + 0xe0], ecx
mov ecx, dword [esi + 0x18]
div ecx
xor edx, edx
mov esi, eax
mov eax, edi
div ecx
mov edi, eax
mov eax, dword [ebx + 0x60]
cmp byte [eax + 0x525], 0
je 0x41bd1e
mov eax, dword [eax + 0xe4]
lea edx, [esp + 0xcc]
push edx
push eax
call fcn.00418390
mov eax, dword [esp + 0xd4]
mov edx, eax
sar edx, 8
and edx, 0xff
shl eax, 8
or edx, eax
mov eax, dword [esp + 0xd8]
mov word [esp + 0x13e], dx
mov edx, eax
sar edx, 8
shl eax, 8
and edx, 0xff
or edx, eax
mov word [esp + 0x140], dx
mov eax, edi
sar eax, 8
mov edx, esi
and eax, 0xff
sar edx, 8
shl edi, 8
or eax, edi
shl esi, 8
and edx, 0xff
mov word [esp + 0x142], ax
mov eax, dword [ebx + 0x60]
or edx, esi
mov cl, 0xf
mov byte [esp + 0x13c], cl
mov word [esp + 0x144], dx
mov esi, dword [eax + 0x10c]
cmp dword [esi + 8], 0xffffffff
je 0x41be69
cmp byte [esi + 0x1a], 0
jne 0x41bc9b
cmp byte [esi + 0x18], 0
je 0x41bc9b
mov edx, dword [esi + 0x10]
cmp byte [edx + 0x21], 0
je 0x41bc9b
mov byte [esp + 0x17], cl
mov ecx, 1
lea eax, [esp + 0x17]
mov edx, esi
call fcn.004609b0
mov ecx, 0xc
lea eax, [esp + 0x13c]
mov edx, esi
call fcn.004609b0
jmp 0x41be69
cmp byte [esi + 0x18], 0
mov ecx, 0xc
je 0x41bd0b
mov eax, dword [esi + 0x10]
cmp byte [eax + 0x21], 0
je 0x41bd0b
cmp byte [esi + 0x68], 0
je 0x41bce0
mov eax, dword [esi + 0x64]
add eax, dword [esi + 0x6c]
mov edx, dword [esp + 0x13c]
mov dword [eax], edx
mov edx, dword [esp + 0x140]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x144]
mov dword [eax + 8], edx
add dword [esi + 0x6c], ecx
jmp 0x41be69
push ecx
lea eax, [esp + 0x140]
push eax
push esi
lea ecx, [esp + 0x44]
mov dword [esp + 0x44], 0
call fcn.00460e80
mov ecx, dword [esp + 0x38]
push ecx
push eax
call fcn.00460700
jmp 0x41be69
lea eax, [esp + 0x13c]
push ecx
push eax
call fcn.00460700
jmp 0x41be69
mov edx, esi
mov ecx, edi
sar ecx, 8
sar edx, 8
shl esi, 8
and ecx, 0xff
shl edi, 8
and edx, 0xff
or edx, esi
or ecx, edi
mov byte [esp + 0x24], 4
mov word [esp + 0x26], cx
mov word [esp + 0x28], dx
mov esi, dword [eax + 0x10c]
cmp dword [esi + 8], 0xffffffff
je 0x41bdf6
cmp byte [esi + 0x1a], 0
jne 0x41bd99
cmp byte [esi + 0x18], 0
je 0x41bd99
mov eax, dword [esi + 0x10]
cmp byte [eax + 0x21], 0
je 0x41bd99
mov ecx, 1
lea eax, [esp + 0x17]
mov edx, esi
mov byte [esp + 0x17], 4
call fcn.004609b0
mov ecx, 6
lea eax, [esp + 0x24]
mov edx, esi
call fcn.004609b0
jmp 0x41bdf6
cmp byte [esi + 0x18], 0
mov ecx, 6
je 0x41bdeb
mov edx, dword [esi + 0x10]
cmp byte [edx + 0x21], 0
je 0x41bdeb
cmp byte [esi + 0x68], 0
je 0x41bdcd
mov eax, dword [esi + 0x64]
add eax, dword [esi + 0x6c]
mov edx, dword [esp + 0x24]
mov dword [eax], edx
mov dx, word [esp + 0x28]
mov word [eax + 4], dx
add dword [esi + 0x6c], ecx
jmp 0x41bdf6
push ecx
lea eax, [esp + 0x28]
push eax
push esi
lea ecx, [esp + 0x40]
mov dword [esp + 0x40], 0
call fcn.00460e80
mov ecx, dword [esp + 0x34]
jmp 0x41bdef
lea eax, [esp + 0x24]
push ecx
push eax
call fcn.00460700
mov ecx, dword [ebx + 0x60]
mov esi, dword [ecx + 0xe4]
mov eax, dword [esi + 0x54]
lea edi, [esp + 0x10c]
call fcn.0042f4a0
mov edx, dword [eax + 4]
mov ecx, dword [eax + 8]
mov edi, dword [eax]
mov eax, dword [eax + 0xc]
mov esi, dword [esi + 0x18]
mov dword [esp + 0xf0], edx
xor edx, edx
div esi
xor edx, edx
mov dword [esp + 0x2c], eax
mov eax, ecx
div esi
mov ecx, dword [ebx + 0x60]
mov edx, dword [esp + 0xf0]
mov dword [ecx + 0x50c], edi
mov dword [ecx + 0x510], edx
mov dword [ecx + 0x514], eax
mov eax, dword [esp + 0x2c]
mov dword [ecx + 0x518], eax
mov eax, dword [ebx + 0x60]
mov ecx, dword [eax + 0xe4]
mov ecx, dword [ecx + 0x18]
mov dword [eax + 0x51c], ecx
mov edx, dword [ebx + 0x60]
mov ebx, dword [edx + 0xe4]
call fcn.00419bf0
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 0x60]
mov ebx, dword [esp + 0x1c]
xor cl, cl
mov byte [edx + 0x524], cl
mov eax, dword [eax + 0x60]
mov byte [eax + 0x525], cl
mov eax, dword [ebx + 0x60]
mov ecx, dword [eax + 0x17c]
xor edi, edi
mov dword [eax + 0x17c], edi
mov eax, dword [ebx + 0x60]
mov edx, dword [eax + 0x144]
mov edx, dword [edx + 0x14]
mov dword [esp + 0x50], ecx
lea ecx, [eax + 0x144]
add eax, 0x174
push eax
lea eax, [esp + 0x98]
push eax
call edx
mov edx, 1
cmp dword [0x4ef428], edx
jbe 0x41beef
mov eax, dword [ebx + 0x60]
mov eax, dword [eax + 0xe4]
mov ecx, dword [eax + 0x28]
mov dword [eax + 0x28], edi
mov eax, dword [ebx + 0x60]
mov dword [eax + 0x208], ecx
mov eax, dword [ebx + 0x60]
add dword [0x4ef428], edx
cmp dword [eax + 0x20c], edi
jne 0x41c0a9
cmp dword [eax + 0x208], edi
jne 0x41c0a9
cmp dword [eax + 0x138], edi
je 0x41c0a9
lea ecx, [eax + 0x50c]
lea edx, [eax + 0x128]
lea eax, [esp + 0x11c]
call fcn.004172a0
mov edx, dword [eax]
mov ecx, dword [ebx + 0x60]
mov dword [ecx + 0x128], edx
mov edx, dword [eax + 4]
mov dword [ecx + 0x12c], edx
mov edx, dword [eax + 8]
mov dword [ecx + 0x130], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0x134], eax
mov esi, dword [ebx + 0x60]
mov ecx, dword [esi + 0x128]
add esi, 0x128
cmp ecx, dword [esi + 8]
jge 0x41bfb9
mov edx, dword [esi + 4]
cmp edx, dword [esi + 0xc]
jge 0x41bfb9
lea edi, [esp + 0x5c]
call fcn.0040df50
mov byte [esp + 0x1b8], 8
mov esi, dword [esp + 0x5c]
mov eax, dword [esp + 0x98]
push 2
push esi
push eax
push eax
call dword [sym.imp.GDI32.dll_CombineRgn]
push esi
mov byte [esp + 0x1bc], 1
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x60]
push eax
call fcn.004aa14e
add esp, 4
mov eax, dword [ebx + 0x60]
mov ecx, dword [eax + 0xe4]
mov ecx, dword [ecx + 0x54]
mov edx, dword [ecx + 0xdbc0]
mov esi, dword [ecx + 0xdbc4]
mov edi, dword [ecx + 0xdbc8]
mov ecx, dword [ecx + 0xdbcc]
mov dword [eax + 0x128], edx
mov dword [eax + 0x12c], esi
mov dword [eax + 0x130], edi
mov dword [eax + 0x134], ecx
mov eax, dword [ebx + 0x60]
lea ecx, [eax + 0x50c]
lea edx, [eax + 0x128]
lea eax, [esp + 0x12c]
call fcn.004172a0
mov edx, dword [eax]
mov ecx, dword [ebx + 0x60]
mov dword [ecx + 0x128], edx
mov edx, dword [eax + 4]
mov dword [ecx + 0x12c], edx
mov edx, dword [eax + 8]
mov dword [ecx + 0x130], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0x134], eax
mov esi, dword [ebx + 0x60]
mov ecx, dword [esi + 0x128]
add esi, 0x128
cmp ecx, dword [esi + 8]
jge 0x41c09e
mov edx, dword [esi + 4]
cmp edx, dword [esi + 0xc]
jge 0x41c09e
lea edi, [esp + 0x8c]
call fcn.0040df50
mov byte [esp + 0x1b8], 9
mov esi, dword [esp + 0x8c]
mov eax, dword [esp + 0x98]
push 2
push esi
push eax
push eax
call dword [sym.imp.GDI32.dll_CombineRgn]
push esi
mov byte [esp + 0x1bc], 1
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x90]
push eax
call fcn.004aa14e
add esp, 4
mov ecx, dword [ebx + 0x60]
xor edi, edi
mov dword [ecx + 0x138], edi
mov eax, dword [ebx + 0x60]
cmp byte [eax + 0x3a2], 0
jne 0x41c41c
cmp byte [eax + 0x1d0], 0
mov byte [esp + 0x17], 0
je 0x41c2e7
mov edx, eax
mov byte [edx + 0x1d0], 0
mov eax, dword [ebx + 0x60]
cmp byte [eax + 0x184], 0
je 0x41c18e
mov ebx, eax
mov eax, dword [ebx + 0x1e0]
sub eax, dword [ebx + 0x1e4]
xor ecx, ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ecx
neg eax
mov ecx, eax
mov edx, eax
shl ecx, 0x10
and edx, 0xff00
or ecx, edx
mov edx, eax
sar edx, 8
shl ecx, 8
and edx, 0xff00
shr eax, 0x18
or ecx, edx
or ecx, eax
push 8
lea edi, [esp + 0x44]
mov al, 3
mov byte [esp + 0x44], 3
mov dword [esp + 0x48], ecx
mov byte [esp + 0x1b], 1
call fcn.00424ee0
mov edi, dword [esp + 0x1c]
test eax, eax
jne 0x41c153
mov eax, dword [edi + 0x60]
mov esi, dword [eax + 0x10c]
call fcn.00460250
mov edx, dword [edi + 0x60]
mov ecx, dword [edx + 0x1e0]
sub ecx, dword [edx + 0x1e4]
mov eax, dword [edx + 0x1e4]
mov edx, dword [edx + 0x10c]
call fcn.00460a30
test eax, eax
jne 0x41c2d5
mov ecx, dword [edi + 0x60]
mov esi, dword [ecx + 0x10c]
call fcn.00460250
jmp 0x41c2d5
cmp dword [eax + 0x1c8], 0x10
lea ecx, [eax + 0x1b4]
jb 0x41c1a5
mov edx, dword [ecx]
mov dword [esp + 0x20], edx
jmp 0x41c1a9
mov dword [esp + 0x20], ecx
mov eax, dword [eax + 0x1c4]
inc eax
push eax
call fcn.004a8a24
mov edx, eax
mov eax, dword [esp + 0x24]
add esp, 4
mov dword [esp + 0x2c], edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41c1c6
sub eax, esi
xor esi, esi
test eax, eax
jle 0x41c1ea
mov ecx, dword [esp + 0x20]
mov cl, byte [esi + ecx]
cmp cl, 0xd
je 0x41c1e5
mov byte [edi + edx], cl
inc edi
inc esi
cmp esi, eax
jl 0x41c1d5
mov eax, edx
mov byte [edi + edx], 0
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41c1f3
sub eax, esi
mov edi, edx
mov ecx, eax
lea esi, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x41c203
sub edi, esi
mov esi, edx
lea eax, [esi + 1]
mov dword [esp + 0x20], eax
mov al, byte [esi]
inc esi
test al, al
jne 0x41c215
sub esi, dword [esp + 0x20]
mov eax, edx
lea edx, [eax + 1]
mov dword [esp + 0x20], edx
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x41c230
sub eax, dword [esp + 0x20]
mov ebx, dword [ebx + 0x60]
shl eax, 0x10
and edi, 0xff0000
shr ecx, 0x10
and esi, 0xff00
or eax, esi
or edi, ecx
shl eax, 8
shr edi, 8
or eax, edi
mov dword [esp + 0xc8], eax
push 8
lea edi, [esp + 0xc8]
mov al, 3
mov byte [esp + 0x1b], 1
call fcn.00424ee0
mov edi, dword [esp + 0x1c]
test eax, eax
jne 0x41c28e
mov eax, dword [edi + 0x60]
mov esi, dword [eax + 0x10c]
call fcn.00460250
mov esi, dword [esp + 0x2c]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41c297
sub eax, edx
mov edx, dword [edi + 0x60]
mov edx, dword [edx + 0x10c]
mov ecx, eax
mov eax, esi
call fcn.00460a30
test eax, eax
jne 0x41c2c8
mov eax, dword [edi + 0x60]
mov esi, dword [eax + 0x10c]
call fcn.00460250
mov esi, dword [esp + 0x2c]
push esi
call fcn.004a9011
mov edi, dword [esp + 0x20]
add esp, 4
mov esi, dword [edi + 0x60]
add esi, 0x1d8
call fcn.004015c0
mov ebx, dword [esp + 0x1c]
mov ecx, dword [ebx + 0x60]
cmp byte [ecx + 0x1d1], 0
je 0x41c3cb
mov edx, ecx
mov byte [edx + 0x1d1], 0
mov eax, dword [ebx + 0x60]
cmp byte [eax + 0x184], 0
je 0x41c3bd
mov ebx, eax
mov eax, dword [ebx + 0x1f0]
sub eax, dword [ebx + 0x1f4]
xor ecx, ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ecx
neg eax
mov ecx, eax
mov edx, eax
shl ecx, 0x10
and edx, 0xff00
or ecx, edx
mov edx, eax
sar edx, 8
shl ecx, 8
and edx, 0xff00
shr eax, 0x18
or ecx, edx
or ecx, eax
push 8
lea edi, [esp + 0x4c]
mov al, 3
mov byte [esp + 0x4c], 3
mov dword [esp + 0x50], ecx
mov byte [esp + 0x1b], 1
call fcn.00424ee0
test eax, eax
jne 0x41c37f
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x60]
mov esi, dword [ecx + 0x10c]
call fcn.00460250
mov edx, dword [esp + 0x1c]
mov edx, dword [edx + 0x60]
mov ecx, dword [edx + 0x1f0]
sub ecx, dword [edx + 0x1f4]
mov eax, dword [edx + 0x1f4]
mov edx, dword [edx + 0x10c]
call fcn.004609b0
test eax, eax
jne 0x41c3b9
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x60]
mov esi, dword [ecx + 0x10c]
call fcn.00460250
mov ebx, dword [esp + 0x1c]
mov esi, dword [ebx + 0x60]
add esi, 0x1e8
call fcn.004015c0
cmp byte [esp + 0x17], 0
je 0x41c41c
mov edx, dword [ebx + 0x60]
mov esi, dword [edx + 0x10c]
cmp dword [esi + 8], 0xffffffff
je 0x41c41c
cmp dword [esi + 0x239c], 0
je 0x41c417
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [esi + 8]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x239c]
push eax
lea ecx, [esi + 0x74]
push ecx
call fcn.004610a0
add esp, 8
test al, al
je 0x41c41c
mov dword [esi + 0x239c], 0
call fcn.004611b0
cmp dword [esp + 0x50], 0
je 0x41c42c
mov edx, dword [ebx + 0x60]
push edx
call fcn.00425ba0
mov eax, dword [ebx + 0x60]
mov ecx, dword [eax + 0xe4]
mov dx, word [eax + 0xea]
cmp dx, word [ecx + 0x2e]
jne 0x41c492
mov ecx, dword [eax + 0xe4]
mov dx, word [eax + 0xe8]
cmp dx, word [ecx + 0x2c]
jne 0x41c492
mov ecx, dword [eax + 0xe4]
mov dl, byte [eax + 0xec]
cmp dl, byte [ecx + 0x30]
jne 0x41c492
lea edx, [esp + 0x94]
mov ecx, eax
call fcn.00424f60
test eax, eax
je 0x41c4aa
mov eax, dword [ebx + 0x60]
mov eax, dword [eax + 0x174]
inc dword [0x4ef428]
push 0
push 0
push 0
push 0
push eax
jmp 0x41c4a4
mov eax, dword [ebx + 0x60]
mov ecx, dword [eax + 0x174]
push 0
push 0
push 0
push 0
push ecx
call dword [sym.imp.GDI32.dll_SetRectRgn]
mov edx, dword [esp + 0x3c]
push edx
mov byte [esp + 0x1bc], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x4ef42d], 0
jne 0x41b6e4
jmp 0x41b615
mov eax, dword [esp + 0x3c]
push eax
mov byte [esp + 0x1bc], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x41b61b