Function at 0x4846e0
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x280c
call fcn.00492790
mov eax, dword [0x4dc6e0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor eax, eax
mov dword [ebp - 0x2788], 0
push esi
mov esi, dword [ebp + 0xc]
xor bl, bl
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x2770], eax
mov byte [ebp - 0x2766], al
mov dword [ebp - 0x278c], eax
mov dword [ebp - 0x2780], eax
mov eax, 1
push 0x1fe
mov word [ebp - 0x304], ax
lea eax, [ebp - 0x302]
push 0
push eax
mov dword [ebp - 0x277c], edi
mov dword [ebp - 0x2774], esi
mov dword [ebp - 0x276c], ebx
call fcn.004906c0
mov eax, dword [ebp + 0x10]
add esp, 0xc
test eax, eax
jne 0x48478b
cmp dword [0x4e0950], eax
je 0x484c93
cmp byte [0x4e45bc], al
je 0x484c93
push esi
call fcn.00478ff0
mov dword [ebp - 0x2780], eax
add esp, 4
mov eax, dword [ebp + 0x10]
test esi, esi
je 0x4847b5
mov ecx, dword [0x4e028c]
mov dword [ebp - 0x278c], ecx
test ecx, ecx
je 0x4847b5
nop
cmp dword [ecx + 0x44], esi
je 0x4847af
mov ecx, dword [ecx + 0x5b0]
test ecx, ecx
jne 0x4847a0
mov dword [ebp - 0x278c], ecx
cmp dword [0x4ea1e8], 0
je 0x484ca6
test eax, eax
jne 0x484c89
cmp esi, dword [0x4dc3f4]
je 0x48483c
push eax
push eax
push 0xb
push edi
mov byte [ebp - 0x2766], 1
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x1009
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x304]
push eax
mov eax, dword [0x500568]
dec eax
push eax
push 0x40d
push dword [0x4e5194]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [0x500568]
push 0x4c1e6c
dec eax
push eax
push 0x40b
push dword [0x4e5194]
call dword [sym.imp.USER32.dll_SendMessageW]
push 5
push 0
call fcn.004447c0
add esp, 8
mov eax, dword [0x4e0294]
test eax, eax
je 0x4848ac
jmp 0x484850
mov esi, dword [eax + 0x180]
lea ecx, [ebp - 0x2765]
push ecx
push eax
mov dword [ebp - 0x27ec], eax
lea eax, [ebp - 0x280c]
push eax
push edi
mov dword [ebp - 0x2808], 0xffffffff
call fcn.00480ae0
add esp, 0x10
movzx ebx, bl
test al, al
mov eax, 1
cmovne ebx, eax
cmp byte [ebp - 0x2765], 0
je 0x48489a
inc dword [ebp - 0x2788]
mov eax, esi
test esi, esi
jne 0x484850
mov esi, dword [ebp - 0x2774]
mov dword [ebp - 0x276c], ebx
cmp esi, 8
je 0x4848ba
cmp esi, 4
jne 0x484c55
push 0x3e8
mov dword [ebp - 0x279c], 0x3e8
call fcn.0048fb2f
add esp, 4
mov dword [ebp - 0x2784], eax
mov edi, eax
lea eax, [ebp - 0x279c]
push eax
push 0x3e8
push edi
push 0xb
call dword [0x4ea038]
test eax, eax
je 0x484930
push edi
call fcn.0048faf7
mov esi, dword [ebp - 0x279c]
add esi, 0x3e8
push esi
mov dword [ebp - 0x279c], esi
call fcn.0048fb2f
add esp, 8
mov edi, eax
lea eax, [ebp - 0x279c]
push eax
push esi
push edi
push 0xb
call dword [0x4ea038]
test eax, eax
jne 0x4848f2
mov dword [ebp - 0x2784], edi
cmp dword [edi], 0
mov dword [ebp - 0x2778], 0
jbe 0x484c46
lea ebx, [edi + 0x10]
mov ecx, dword [0x4e0294]
test ecx, ecx
je 0x48496d
mov edx, dword [ebx - 4]
cmp dword [ecx + 0x24], edx
jne 0x484963
mov eax, dword [ecx + 0x38]
cmp eax, dword [ebx]
je 0x484b45
mov ecx, dword [ecx + 0x180]
test ecx, ecx
jne 0x484953
mov eax, dword [ebx - 4]
cmp eax, dword [0x4e5234]
jbe 0x484c25
push 0x188
lea eax, [ebp - 0x26ac]
push 0
push eax
call fcn.004906c0
add esp, 0xc
lea eax, [ebx + 0x10]
lea ecx, [ebp - 0x2798]
push eax
call fcn.004653d0
push dword [eax]
call fcn.0044fce0
mov edx, dword [ebp - 0x2798]
add esp, 4
add edx, 0xfffffff0
mov dword [ebp - 0x2554], eax
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4849d1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebx - 4]
mov dword [ebp - 0x2688], eax
mov eax, dword [ebx]
mov dword [ebp - 0x2674], eax
mov eax, dword [ebx - 4]
mov dword [ebp - 0x267c], eax
lea eax, [ebp - 0x2558]
push eax
lea eax, [ebp - 0x255c]
push eax
push 0x41
lea eax, [ebp - 0x25de]
push eax
push dword [ebp - 0x2554]
call fcn.0044fe20
push 0x4af9b8
lea eax, [ebp - 0x2660]
push 0x41
push eax
call fcn.004911bd
add esp, 0x20
xorps xmm0, xmm0
movlpd qword [ebp - 0x266c], xmm0
push 0
push 0
push 3
push 0
push 3
push SysReAllocStringLen
push dword [ebp - 0x2554]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x484b17
lea eax, [ebp - 0x27ac]
push eax
lea eax, [ebp - 0x27cc]
push eax
lea eax, [ebp - 0x27b4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x27ac]
mov dword [ebp - 0x266c], eax
mov eax, dword [ebp - 0x27a8]
mov dword [ebp - 0x2668], eax
lea eax, [ebp - 0x27bc]
push eax
lea eax, [ebp - 0x27ac]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
lea eax, [ebp - 0x2514]
push eax
lea eax, [ebp - 0x27bc]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
push 0x40
lea eax, [ebp - 0x84]
push eax
push 0
lea eax, [ebp - 0x2514]
push eax
push 1
push 0x400
call dword [sym.imp.KERNEL32.dll_GetDateFormatW]
push 0x40
lea eax, [ebp - 0x104]
push eax
push 0
lea eax, [ebp - 0x2514]
push eax
push 2
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTimeFormatW]
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x2660]
push 0x4b0170
push eax
call fcn.00465310
add esp, 0x10
mov eax, dword [ebp - 0x2774]
mov dword [ebp - 0x267c], 0
mov dword [ebp - 0x2698], 0
cmp dword [0x4dc3f4], eax
jne 0x484b8e
mov dword [ebp - 0x269c], 2
jmp 0x484b9f
mov dl, byte [ecx + 0x18]
xor dh, dh
inc dword [ebp - 0x2770]
test dl, dl
je 0x484b78
mov eax, dword [ecx + 0x1c]
cmp eax, dword [0x4e0424]
jge 0x484b6e
mov dword [ecx + 0x10], 2
mov dword [ecx + 0x14], eax
jmp 0x484c25
test dl, dl
je 0x484b78
mov dh, 1
mov byte [ecx + 0x18], 0
mov dword [ecx + 0x10], 0
test dh, dh
je 0x484c25
mov cl, 1
jmp 0x484c1f
mov byte [ebp - 0x2694], 0
mov dword [ebp - 0x269c], 0
lea eax, [ebp - 0x2676]
push eax
lea eax, [ebp - 0x2678]
push eax
lea eax, [ebp - 0x2664]
push eax
push dword [ebp - 0x2554]
call fcn.00459ff0
add esp, 0x10
test al, al
je 0x484bcd
or dword [ebp - 0x2680], 4
mov eax, dword [ebp - 0x278c]
test eax, eax
je 0x484bee
push dword [ebp - 0x2554]
push dword [eax + 0x58]
call fcn.00437630
add esp, 8
mov dword [ebp - 0x2550], eax
sub esp, 0x188
lea esi, [ebp - 0x26ac]
mov edi, esp
mov ecx, 0x62
rep movsd dword es:[edi], dword [esi]
push dword [ebp - 0x277c]
call fcn.00443250
mov edi, dword [ebp - 0x2784]
add esp, 0x18c
mov ecx, 1
mov dword [ebp - 0x276c], ecx
mov eax, dword [ebp - 0x2778]
add ebx, 0x11c
inc eax
mov dword [ebp - 0x2778], eax
cmp eax, dword [edi]
jb 0x484946
mov ebx, dword [ebp - 0x276c]
push edi
call fcn.0048faf7
mov edi, dword [ebp - 0x277c]
add esp, 4
mov esi, dword [ebp - 0x2780]
lea eax, [ebp - 0x2770]
push eax
push 0
push esi
push dword [ebp - 0x2774]
push dword [ebp - 0x278c]
push 0
push edi
call fcn.0047aa00
add esp, 0x1c
test al, al
jne 0x48567c
jmp 0x485664
push eax
push edi
call fcn.004802c0
add esp, 8
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048fc6c
mov esp, ebp
pop ebp
ret
test eax, eax
jne 0x484d8f
cmp esi, dword [0x4dc3f4]
je 0x484d20
push eax
push eax
push 0xb
push edi
mov byte [ebp - 0x2766], 1
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x1009
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x304]
push eax
mov eax, dword [0x500568]
dec eax
push eax
push 0x40d
push dword [0x4e5194]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [0x500568]
push 0x4c1e6c
dec eax
push eax
push 0x40b
push dword [0x4e5194]
call dword [sym.imp.USER32.dll_SendMessageW]
push 5
push 0
call fcn.004447c0
add esp, 8
mov eax, dword [0x4e0294]
test eax, eax
je 0x484d8c
lea esp, [esp]
mov esi, dword [eax + 0x180]
lea ecx, [ebp - 0x2765]
push ecx
push eax
mov dword [ebp - 0x27ec], eax
lea eax, [ebp - 0x280c]
push eax
push edi
mov dword [ebp - 0x2808], 0xffffffff
call fcn.00480ae0
add esp, 0x10
movzx ebx, bl
test al, al
mov eax, 1
cmovne ebx, eax
cmp byte [ebp - 0x2765], 0
je 0x484d7a
inc dword [ebp - 0x2788]
mov eax, esi
test esi, esi
jne 0x484d30
mov esi, dword [ebp - 0x2774]
mov dword [ebp - 0x276c], ebx
mov eax, dword [ebp + 0x10]
mov edi, dword [0x4ea1a4]
mov dword [ebp - 0x2778], edi
test eax, eax
jne 0x484da8
cmp dword [edi + 0x44], esi
jne 0x485642
mov esi, dword [0x4e028c]
mov byte [ebp - 0x27a4], 0
test esi, esi
je 0x484de6
mov eax, dword [edi + 0x44]
lea esp, [esp]
cmp dword [esi + 0x44], eax
je 0x484dd1
mov esi, dword [esi + 0x5b0]
test esi, esi
jne 0x484dc0
jmp 0x484de6
mov ebx, dword [esi + 0x28]
shr ebx, 4
and bl, 1
mov dword [ebp - 0x27a4], ebx
jne 0x48541f
push 0
push 0
call dword [0x4ea088]
mov dword [ebp - 0x2798], eax
test eax, eax
je 0x484c93
mov ecx, dword [edi + 0x44]
mov dword [ebp - 0x27b8], eax
lea eax, [ebp - 0x27d0]
push eax
push 0
lea eax, [ebp - 0x27bc]
mov dword [ebp - 0x27bc], ecx
push eax
push 0x467920
push 0
push 0
call fcn.004929fc
add esp, 0x18
mov edi, eax
push 0xfa0
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x484e4c
push 1
push edi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
lea eax, [ebp - 0x27c0]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x27c0], 0
jne 0x48541f
mov eax, dword [ebp - 0x2798]
mov dword [ebp - 0x27a0], 0
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x27c4], eax
cmp dword [eax], 0
jbe 0x4855cb
lea ebx, [eax + 0x20]
mov dword [ebp - 0x2784], ebx
lea esp, [esp]
push 0x188
lea eax, [ebp - 0x26ac]
push 0
push eax
call fcn.004906c0
mov dword [ebp - 0x267c], 0
add esp, 0xc
mov eax, dword [ebx - 0x14]
mov dword [ebp - 0x2688], eax
mov eax, dword [ebx - 0x10]
mov dword [ebp - 0x2674], eax
mov ax, word [ebx - 4]
mov word [ebp - 0x2670], ax
cmp byte [ebx], 0x5c
jne 0x484efa
cmp byte [ebx + 1], 0x3f
jne 0x484efa
lea eax, [ebx + 4]
push eax
push 0x100
push ebx
call fcn.00494615
add esp, 0xc
call fcn.004377a0
test eax, eax
je 0x4856ec
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
lea ecx, [ebp - 0x2790]
push ebx
mov dword [ebp - 0x2790], eax
call fcn.004407d0
mov esi, dword [ebp - 0x2790]
push esi
call fcn.0048faa4
mov edi, eax
add esp, 4
mov eax, dword [0x4ea0a0]
test eax, eax
je 0x484f88
push 0
push 0
push edi
call eax
mov dword [ebp - 0x2794], eax
test eax, eax
je 0x484f88
lea ecx, [eax*2 + 2]
push ecx
call fcn.0048fb2f
add esp, 4
mov esi, eax
mov eax, dword [ebp - 0x2794]
inc eax
push eax
push esi
push edi
call dword [0x4ea0a0]
push edi
call fcn.0048faf7
push 0
mov edi, esi
call fcn.0048f453
mov esi, dword [ebp - 0x2790]
add esp, 8
push 0x4af9b8
lea eax, [ebp - 0x25de]
mov dword [ebp - 0x2554], edi
push 0x41
push eax
call fcn.004911bd
add esp, 0xc
cmp dword [ebp + 0x10], 0
je 0x48501f
mov edi, 0x4e59d0
lea ecx, [edi + 2]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x484fb2
mov eax, dword [esi - 0xc]
sub edi, ecx
sar edi, 1
cmp eax, edi
jl 0x4853d9
sub eax, edi
mov dword [ebp - 0x2794], 0
inc eax
test eax, eax
jle 0x4853d9
mov ebx, esi
push edi
push 0x4e59d0
push ebx
call fcn.004917b4
add esp, 0xc
test eax, eax
je 0x4850f4
mov eax, dword [esi - 0xc]
add ebx, 2
mov ecx, dword [ebp - 0x2794]
sub eax, edi
inc ecx
inc eax
mov dword [ebp - 0x2794], ecx
cmp ecx, eax
jl 0x484fe3
mov ebx, dword [ebp - 0x2784]
jmp 0x4853d9
mov edi, dword [0x4e0294]
test edi, edi
je 0x48505d
lea esp, [esp]
mov eax, dword [edi + 0x24]
cmp eax, dword [ebx - 0x14]
jne 0x485053
mov eax, dword [edi + 0x38]
cmp eax, dword [ebx - 0x10]
jne 0x485053
push esi
push dword [edi + 0x158]
call fcn.00491646
add esp, 8
test eax, eax
je 0x485077
mov edi, dword [edi + 0x180]
test edi, edi
jne 0x485030
lea eax, [ebp - 0x26ac]
push eax
push dword [ebp - 0x2780]
call fcn.00467940
add esp, 8
jmp 0x4850fa
mov cl, byte [edi + 0x18]
xor dl, dl
inc dword [ebp - 0x2770]
test cl, cl
je 0x4850a7
mov eax, dword [edi + 0x1c]
cmp eax, dword [0x4e0424]
jge 0x48509d
mov dword [edi + 0x10], 2
mov dword [edi + 0x14], eax
jmp 0x4850c7
test cl, cl
je 0x4850a7
mov dl, 1
mov byte [edi + 0x18], 0
mov ecx, dword [ebp - 0x276c]
test dl, dl
movzx eax, cl
mov ecx, 1
cmovne eax, ecx
mov dword [edi + 0x10], 0
mov byte [ebp - 0x276c], al
push edi
push dword [ebp - 0x2780]
call fcn.00467940
mov ecx, dword [ebp - 0x276c]
add esp, 8
test al, al
movzx ecx, cl
mov eax, 1
cmovne ecx, eax
mov byte [ebp - 0x276c], cl
jmp 0x4853d9
mov ebx, dword [ebp - 0x2784]
lea eax, [ebp - 0x2558]
push eax
lea eax, [ebp - 0x255c]
push eax
push 0x41
lea eax, [ebp - 0x25de]
push eax
push esi
call fcn.0044fe20
add esp, 0x14
cmp dword [ebp + 0x10], 0
jne 0x48518d
mov eax, dword [ebp - 0x2778]
push dword [eax + 0x44]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x48518d
lea eax, [ebp - 0x27a8]
push eax
push 0x2000
lea eax, [ebp - 0x2504]
push eax
push dword [ebx - 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x485186
lea eax, [ebp - 0x2504]
push eax
call dword [0x4ea0fc]
test eax, eax
je 0x485186
mov ecx, dword [eax + 0x34]
mov dword [ebp - 0x267c], ecx
mov eax, dword [eax + 0x34]
cmp eax, dword [ebx - 0x14]
je 0x485186
or dword [ebp - 0x2680], 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x4af9b8
lea eax, [ebp - 0x2660]
push 0x41
push eax
call fcn.004911bd
add esp, 0xc
xorps xmm0, xmm0
movlpd qword [ebp - 0x266c], xmm0
push 0
push 0
push 3
push 0
push 7
push SysReAllocStringLen
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x485292
lea eax, [ebp - 0x27b4]
push eax
lea eax, [ebp - 0x27d8]
push eax
lea eax, [ebp - 0x250c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x27b4]
mov dword [ebp - 0x266c], eax
mov eax, dword [ebp - 0x27b0]
mov dword [ebp - 0x2668], eax
lea eax, [ebp - 0x27cc]
push eax
lea eax, [ebp - 0x27b4]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
lea eax, [ebp - 0x2524]
push eax
lea eax, [ebp - 0x27cc]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
push 0x40
lea eax, [ebp - 0x104]
push eax
push 0
lea eax, [ebp - 0x2524]
push eax
push 1
push 0x400
call dword [sym.imp.KERNEL32.dll_GetDateFormatW]
push 0x40
lea eax, [ebp - 0x84]
push eax
push 0
lea eax, [ebp - 0x2524]
push eax
push 2
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTimeFormatW]
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x2660]
push 0x4b0170
push eax
call fcn.00465310
add esp, 0x10
cmp dword [ebp + 0x10], 0
je 0x48532e
mov edi, dword [ebp - 0x2778]
movzx eax, word [edi + 0x38]
shr eax, 1
push eax
push dword [edi + 0x3c]
lea eax, [ebp - 0x504]
push 0x100
push eax
call fcn.0049124f
lea eax, [ebp - 0x504]
mov dword [ebp - 0x26b4], 0
push eax
call fcn.0048faa4
push esi
mov dword [ebp - 0x2740], eax
call fcn.0048faa4
mov dword [ebp - 0x26b0], eax
mov eax, dword [edi + 0x44]
mov dword [ebp - 0x26bc], eax
mov dword [ebp - 0x2754], 0
mov eax, dword [ebx - 0x14]
push 0x4bee08
mov dword [ebp - 0x26b8], eax
lea eax, [ebp - 0x273c]
push 0x40
push eax
call fcn.004911bd
lea eax, [ebp - 0x2764]
push eax
push dword [ebp - 0x277c]
call fcn.00443390
add esp, 0x2c
jmp 0x4853d9
lea eax, [ebp - 0x26ac]
push eax
push dword [ebp - 0x2780]
call fcn.00467940
mov eax, dword [ebp - 0x2774]
add esp, 8
mov dword [ebp - 0x2698], 0
cmp dword [0x4dc3f4], eax
jne 0x485367
mov dword [ebp - 0x269c], 2
jmp 0x485378
mov byte [ebp - 0x2694], 0
mov dword [ebp - 0x269c], 0
lea eax, [ebp - 0x2676]
push eax
lea eax, [ebp - 0x2678]
push eax
lea eax, [ebp - 0x2664]
push eax
push dword [ebp - 0x2554]
call fcn.00459ff0
add esp, 0x10
test al, al
je 0x4853a6
or dword [ebp - 0x2680], 4
sub esp, 0x188
lea esi, [ebp - 0x26ac]
mov edi, esp
mov ecx, 0x62
rep movsd dword es:[edi], dword [esi]
push dword [ebp - 0x277c]
call fcn.00443250
mov esi, dword [ebp - 0x2790]
add esp, 0x18c
mov byte [ebp - 0x276c], 1
add esi, 0xfffffff0
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4853f3
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x27a0]
add ebx, 0x11c
mov eax, dword [ebp - 0x27c4]
inc esi
mov dword [ebp - 0x27a0], esi
mov dword [ebp - 0x2784], ebx
cmp esi, dword [eax]
jb 0x484ea0
jmp 0x4855cb
cmp dword [ebp + 0x10], 0
jne 0x4855c2
or dword [esi + 0x28], 0x10
mov eax, dword [0x4e0294]
test eax, eax
je 0x485450
cmp dword [eax + 0x24], 0
jne 0x485446
cmp dword [eax + 0x38], 0
je 0x485516
mov eax, dword [eax + 0x180]
test eax, eax
jne 0x485436
push 0x188
lea eax, [ebp - 0x26ac]
push 0
push eax
call fcn.004906c0
xor eax, eax
mov dword [ebp - 0x2688], 0
mov word [ebp - 0x2670], ax
lea eax, [ebp - 0x2676]
push eax
lea eax, [ebp - 0x2678]
mov dword [ebp - 0x2674], 0
push eax
lea eax, [ebp - 0x2664]
push eax
push dword [ebp - 0x2554]
call fcn.00459ff0
add esp, 0x1c
test al, al
je 0x4854ae
or dword [ebp - 0x2680], 4
push 0x4c1e98
call fcn.0048faa4
push 0x4af9b8
mov dword [ebp - 0x2554], eax
lea eax, [ebp - 0x25de]
push 0x41
push eax
call fcn.004911bd
push 0x4af9b8
lea eax, [ebp - 0x2660]
push 0x41
push eax
call fcn.004911bd
mov eax, dword [ebp - 0x2774]
add esp, 0x1c
xorps xmm0, xmm0
mov dword [ebp - 0x2698], 0
movlpd qword [ebp - 0x266c], xmm0
cmp dword [0x4dc3f4], eax
jne 0x485556
mov dword [ebp - 0x269c], 2
jmp 0x485567
mov bl, byte [eax + 0x18]
xor dl, dl
inc dword [ebp - 0x2770]
test bl, bl
je 0x485549
mov ecx, dword [eax + 0x1c]
cmp ecx, dword [0x4e0424]
jge 0x48553f
mov dword [eax + 0x10], 2
mov dword [eax + 0x14], ecx
jmp 0x4855c2
test bl, bl
je 0x485549
mov dl, 1
mov byte [eax + 0x18], 0
mov dword [eax + 0x10], 0
test dl, dl
je 0x4855c2
jmp 0x4855bb
mov byte [ebp - 0x2694], 0
mov dword [ebp - 0x269c], 0
lea eax, [ebp - 0x2676]
push eax
lea eax, [ebp - 0x2678]
push eax
lea eax, [ebp - 0x2664]
push eax
push dword [ebp - 0x2554]
call fcn.00459ff0
add esp, 0x10
test al, al
je 0x485595
or dword [ebp - 0x2680], 4
sub esp, 0x188
lea esi, [ebp - 0x26ac]
mov edi, esp
mov ecx, 0x62
rep movsd dword es:[edi], dword [esi]
push dword [ebp - 0x277c]
call fcn.00443250
add esp, 0x18c
mov byte [ebp - 0x276c], 1
cmp byte [ebp - 0x27a4], 0
jne 0x4855d7
push dword [ebp - 0x2798]
call dword [0x4ea090]
mov edi, dword [ebp - 0x2778]
movzx eax, word [edi + 0x38]
shr eax, 1
push eax
push dword [edi + 0x3c]
lea eax, [ebp - 0x504]
push 0x100
push eax
call fcn.0049124f
mov esi, dword [ebp - 0x2780]
lea eax, [ebp - 0x2770]
push eax
lea eax, [ebp - 0x504]
push eax
push esi
push dword [edi + 0x44]
push dword [ebp - 0x278c]
push dword [ebp + 0x10]
push dword [ebp - 0x277c]
call fcn.0047aa00
mov ecx, dword [ebp - 0x276c]
add esp, 0x2c
test al, al
movzx ebx, cl
mov eax, 1
cmovne ebx, eax
mov dword [ebp - 0x276c], ebx
jmp 0x485648
mov esi, dword [ebp - 0x2780]
mov eax, dword [edi]
test eax, eax
je 0x48565e
mov esi, dword [ebp - 0x2774]
add edi, eax
mov eax, dword [ebp + 0x10]
jmp 0x484d95
mov edi, dword [ebp - 0x277c]
test bl, bl
jne 0x485676
mov eax, dword [ebp - 0x2770]
cmp eax, dword [ebp - 0x2788]
je 0x48567e
cmp dword [ebp + 0x10], 0
jne 0x48567e
mov bl, 1
cmp word [ebp - 0x304], 1
mov eax, dword [ebp - 0x2774]
mov dword [0x4dc3f4], eax
je 0x4856b2
lea eax, [ebp - 0x304]
push eax
mov eax, dword [0x500568]
dec eax
push eax
push 0x40b
push dword [0x4e5194]
call dword [sym.imp.USER32.dll_SendMessageW]
test bl, bl
jne 0x4856cc
cmp byte [ebp - 0x2766], 1
jne 0x4856cc
push 0
push 1
push 0xb
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
test esi, esi
je 0x4856d9
push esi
call fcn.0048faf7
add esp, 4
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048fc6c
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00437220
int3