Function at 0x419560
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
xor eax, eax
mov dword [0x4cd620], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 0
push edi
call sym._L__.exe__Finddecode
add esp, 8
test eax, eax
je 0x41962f
mov dl, byte [eax]
and dl, 0x1f
mov byte [ebp - 0xd], dl
xor eax, eax
mov al, byte [ebp - 0xd]
cmp eax, 3
je 0x41959d
cmp eax, 0x13
jne 0x4195cd
push 8
push 0
push 0
push edi
push 0
call sym._L__.exe__Setcpu
add esp, 0x14
push 0x2124
push 0x4b2740
push 0x4b2647
mov edx, dword [0x4d3b7c]
push edx
call sub.USER32.DLL_MessageBoxA
mov esi, eax
jmp 0x419622
cmp byte [ebp - 0xd], 0
jne 0x4195da
mov esi, 6
jmp 0x419622
xor eax, eax
mov al, byte [ebp - 0xd]
cmp eax, 0x1d
je 0x4195ee
cmp eax, 0x1e
je 0x4195ee
cmp eax, 0x1f
jne 0x4195f5
mov esi, 6
jmp 0x419622
push 0xc
push 0
push 0
push edi
push 0
call sym._L__.exe__Setcpu
add esp, 0x14
push 0x2124
push 0x4b2740
push 0x4b2756
mov eax, dword [0x4d3b7c]
push eax
call sub.USER32.DLL_MessageBoxA
mov esi, eax
cmp esi, 6
je 0x41962f
or eax, 0xffffffff
jmp 0x41996d
mov edx, dword [ebp + 0xc]
mov dword [ebp - 8], edx
and dword [ebp + 0xc], 0x1e80
push edi
push 0x4d7ee1
call sym._L__.exe__Findsorteddata
add esp, 8
mov ebx, eax
test ebx, ebx
jne 0x41967c
mov dword [ebp - 0x2c], edi
xor eax, eax
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x20], 0xcc
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x1f], edx
push ecx
push 0x4d7ee1
call sym._L__.exe__Addsorteddata
add esp, 8
mov ebx, eax
test ebx, ebx
jne 0x419688
or eax, 0xffffffff
jmp 0x41996d
test byte [ebp + 0xd], 2
je 0x4196a2
mov edx, dword [ebx + 8]
and edx, 0xffffe3ff
or edx, 0x200
mov dword [ebx + 8], edx
jmp 0x4196c2
test byte [ebp + 0xd], 4
je 0x4196bc
mov ecx, dword [ebx + 8]
and ecx, 0xffffe5ff
or ecx, 0x400
mov dword [ebx + 8], ecx
jmp 0x4196c2
mov eax, dword [ebp + 0xc]
or dword [ebx + 8], eax
cmp dword [0x4d5a5c], 3
jne 0x4196f8
mov edx, dword [0x4d7db0]
mov dword [ebp - 0x18], edx
test edx, edx
je 0x4196f8
xor esi, esi
jmp 0x4196f0
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0xc]
push edx
call sub.KERNEL32.DLL_SuspendThread
inc esi
add dword [ebp - 0x18], 0x66c
cmp esi, dword [0x4d7d98]
jl 0x4196dc
mov ecx, dword [0x4d8134]
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0
je 0x41970c
call fcn.00418e24
xor eax, eax
lea edx, [ebp - 0x14]
mov dword [ebp - 4], eax
push 0
push edx
push edi
call sym._L__.exe__Findhittrace
add esp, 0xc
mov esi, eax
test byte [ebx + 9], 1
jne 0x419820
test byte [ebp - 7], 0x20
je 0x41973d
mov al, byte [ebp + 0x10]
mov byte [ebx + 0xc], al
jmp 0x4198a2
test esi, esi
je 0x419750
test byte [esi], 2
je 0x419750
mov edx, dword [ebp - 0x14]
mov cl, byte [edx]
mov byte [ebx + 0xc], cl
jmp 0x419799
push 2
push 1
push edi
lea eax, [ebx + 0xc]
push eax
call sym._L__.exe__Readmemory
add esp, 0x10
cmp eax, 1
je 0x419799
push edi
push 0x4d7ee1
call sym._L__.exe__Deletesorteddata
add esp, 8
push 0x4b2835
push 1
push edi
call sym._L__.exe__Addtolist
add esp, 0xc
push edi
push 0x4b285f
call sym._L__.exe__Error
add esp, 8
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 4], 0
jne 0x4198a2
test byte [ebx + 9], 0x1a
je 0x4198a2
mov byte [ebp - 0xd], 0xcc
test esi, esi
je 0x4197c9
test byte [esi], 2
je 0x4197c9
and byte [esi], 0xfd
or dword [ebx + 8], 0x100
jmp 0x4198a2
push 2
push 1
push edi
lea edx, [ebp - 0xd]
push edx
call sym._L__.exe__Writememory
add esp, 0x10
cmp eax, 1
je 0x419814
push edi
push 0x4d7ee1
call sym._L__.exe__Deletesorteddata
add esp, 8
push 0x4b28aa
push 1
push edi
call sym._L__.exe__Addtolist
add esp, 0xc
push 0x4b28aa
call sym._L__.exe__Error
pop ecx
mov dword [ebp - 4], 0xffffffff
jmp 0x4198a2
or dword [ebx + 8], 0x100
jmp 0x4198a2
test byte [ebx + 9], 0x1a
jne 0x4198a2
test esi, esi
je 0x419850
xor ecx, ecx
mov cl, byte [esi]
and ecx, 0x81
cmp ecx, 0x80
jne 0x419850
mov eax, dword [ebp - 0x14]
mov dl, byte [ebx + 0xc]
mov byte [eax], dl
or byte [esi], 2
and dword [ebx + 8], 0xfffffeff
jmp 0x4198a2
push 2
push 1
push edi
lea ecx, [ebx + 0xc]
push ecx
call sym._L__.exe__Writememory
add esp, 0x10
cmp eax, 1
je 0x41989b
push 0xc
push 0
push 0
push edi
push 0
call sym._L__.exe__Setcpu
add esp, 0x14
push 0x4b262a
push 1
push edi
call sym._L__.exe__Addtolist
add esp, 0xc
push 0x4b262a
call sym._L__.exe__Error
pop ecx
mov dword [ebp - 4], 0xffffffff
jmp 0x4198a2
and dword [ebx + 8], 0xfffffeff
cmp dword [0x4d5a5c], 3
jne 0x4198e2
mov eax, dword [0x4d7db0]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x4198e2
cmp dword [ebp - 0xc], 0
je 0x4198c2
call fcn.00419034
xor esi, esi
jmp 0x4198da
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0xc]
push edx
call sub.KERNEL32.DLL_ResumeThread
inc esi
add dword [ebp - 0x18], 0x66c
cmp esi, dword [0x4d7d98]
jl 0x4198c6
cmp dword [ebp - 4], 0
jne 0x419940
test byte [ebx + 9], 6
je 0x4198f4
test byte [ebp - 7], 0x40
jne 0x419934
push 0x4b204c
push 0x38
push edi
call sym._L__.exe__Insertname
add esp, 0xc
push 0x4b204c
push 0x3c
push edi
call sym._L__.exe__Insertname
add esp, 0xc
push 0x4b204c
push 0x3b
push edi
call sym._L__.exe__Insertname
add esp, 0xc
push 0x4b204c
push 0x30
push edi
call sym._L__.exe__Insertname
add esp, 0xc
test byte [ebp - 6], 2
je 0x419940
mov ecx, dword [ebp + 0x14]
mov dword [ebx + 0xd], ecx
mov eax, dword [0x4d7edd]
test eax, eax
je 0x419959
test byte [ebp - 7], 0x80
jne 0x419959
push 0
push 0
push eax
call sub.USER32.DLL_InvalidateRect
push 0
push 0
push 0x477
call sym._L__.exe__Broadcast
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret