Function at 0x512010
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b1d06
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x63a404]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.0050fbf0
mov dword [ebx + 0x18], eax
test eax, eax
je 0x512101
push 0x2a
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0x14
call fcn.0056ea97
mov ecx, dword [ebp - 0x18]
push 0xffffffffffffffff
push str.Listening_on_port__d
inc ecx
mov dword [ebp - 0x1c], eax
push ecx
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00584f75
mov ecx, dword [ebp - 0x18]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebx + 0x18]
push dword [eax + 0x18]
lea eax, [ebp - 0x1c]
push eax
push 0x38
push str.OverviewThread::run
push str.d:jenkinsworkspaceclient3.exe.fgmussexe_srcoverviewthread.cpp
push edx
call fcn.0054faa0
mov dword [ebp - 4], 0xffffffff
add esp, 0x30
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x5120c7
push 2
push eax
call fcn.0056ea89
add esp, 8
mov esi, dword [ebx + 0x18]
mov eax, dword [esi + 4]
mov byte [esi + 9], 1
test eax, eax
jne 0x5120fa
push eax
push 4
push esi
push 0x54f620
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push dword [esi + 0xc]
mov dword [esi + 4], eax
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [esi + 4]
test eax, eax
je 0x512101
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0x18
call fcn.0056e7bf
mov edi, eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 1
mov esi, 0xc
push 0x1a
mov dword [ebp - 0x10], 0
call fcn.0056ea97
push 0xffffffffffffffff
push str.OnlineThread
push 0xd
push eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x10]
push eax
call fcn.00584f75
xor ecx, ecx
add esp, 0x1c
test eax, eax
cmovne esi, ecx
mov dword [ebp - 0x18], esi
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x24]
call fcn.005448d0
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 3
push eax
lea ecx, [edi + 0x10]
mov dword [edi], vtable.OThread.0
call fcn.00544950
mov dword [edi + 4], 0
mov word [edi + 8], 0
mov dword [edi + 0xc], 0xfffffffe
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x512196
push 2
push eax
call fcn.0056ea89
add esp, 8
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x5121ac
push 2
push eax
call fcn.0056ea89
add esp, 8
push 0x647b64
mov ecx, 0x647b3c
mov dword [edi], vtable.OnlineThread.0
call fcn.00545420
mov dword [ebp - 4], 0xffffffff
mov dword [ebx + 0x1c], edi
mov eax, dword [edi + 4]
mov dword [0x647aec], 0
mov byte [edi + 9], 1
test eax, eax
jne 0x512205
push eax
push 4
push edi
push 0x54f620
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push dword [edi + 0xc]
mov dword [edi + 4], eax
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [edi + 4]
test eax, eax
je 0x51220c
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp dword [0x647b0c], 0
jne 0x512319
push 0x20
call fcn.0056e7bf
mov edi, eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 7
mov esi, 0xc
push 0x1a
mov dword [ebp - 0x10], 0
call fcn.0056ea97
push 0xffffffffffffffff
push str.UpdateThread
push 0xd
push eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x10]
push eax
call fcn.00584f75
xor ecx, ecx
add esp, 0x1c
test eax, eax
cmovne esi, ecx
mov dword [ebp - 0x18], esi
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x24]
call fcn.005448d0
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 9
push eax
lea ecx, [edi + 0x10]
mov dword [edi], vtable.OThread.0
call fcn.00544950
mov dword [edi + 4], 0
mov word [edi + 8], 0
mov dword [edi + 0xc], 0xfffffffe
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x5122ae
push 2
push eax
call fcn.0056ea89
add esp, 8
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x5122c4
push 2
push eax
call fcn.0056ea89
add esp, 8
mov dword [edi], vtable.UpgradeThread.0
call fcn.0054e0a0
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], edx
mov eax, dword [edi + 4]
mov dword [0x647b0c], edi
mov byte [edi + 9], 1
test eax, eax
jne 0x512312
push eax
push 4
push edi
push 0x54f620
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push dword [edi + 0xc]
mov dword [edi + 4], eax
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [edi + 4]
test eax, eax
je 0x512319
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0x1e
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0xe
call fcn.0056ea97
mov ecx, dword [ebp - 0x18]
push 0xffffffffffffffff
push str.Thread_Running
inc ecx
mov dword [ebp - 0x1c], eax
push ecx
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00584f75
mov ecx, dword [ebp - 0x18]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x18], ecx
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0xd
push eax
push 0x4c
push str.OverviewThread::run
push str.d:jenkinsworkspaceclient3.exe.fgmussexe_srcoverviewthread.cpp
push 0x63f648
call fcn.0054faa0
mov dword [ebp - 4], 0xffffffff
add esp, 0x2c
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x512398
push 2
push eax
call fcn.0056ea89
add esp, 8
cmp byte [ebx + 8], 0
jne 0x5123c8
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x647b01], 0
je 0x5123bb
call fcn.0050fbc0
test al, al
jne 0x5123bb
call fcn.0051c520
push 0x3e8
call esi
cmp byte [ebx + 8], 0
je 0x5123a4
push 0x1a
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0xc
call fcn.0056ea97
mov ecx, dword [ebp - 0x18]
push 0xffffffffffffffff
push str.Thread_Ended
inc ecx
mov dword [ebp - 0x1c], eax
push ecx
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00584f75
mov ecx, dword [ebp - 0x18]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x18], ecx
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0xe
push eax
push 0x5c
push str.OverviewThread::run
push str.d:jenkinsworkspaceclient3.exe.fgmussexe_srcoverviewthread.cpp
push 0x63f648
call fcn.0054faa0
mov dword [ebp - 4], 0xffffffff
add esp, 0x2c
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x512447
push 2
push eax
call fcn.0056ea89
add esp, 8
mov ecx, dword [ebx + 0x1c]
call fcn.0054f7b0
mov ecx, dword [ebx + 0x18]
call fcn.0054f7b0
mov esi, dword [0x647b0c]
test esi, esi
je 0x5124bd
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x512497
cmp byte [esi + 9], 0
je 0x512486
lea eax, [ebp - 0x10]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x512486
cmp dword [ebp - 0x10], 0x103
jne 0x512491
push 0xffffffffffffffff
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, dword [0x647b0c]
test esi, esi
je 0x5124bd
mov ecx, esi
mov dword [esi], vtable.UpgradeThread.0
call fcn.0054f6d0
push 0x20
push esi
call fcn.0056ea89
add esp, 8
mov dword [0x647b0c], 0
mov esi, dword [ebx + 0x1c]
mov dword [ebp - 0x10], esi
test esi, esi
je 0x5125c3
mov dword [esi], vtable.OnlineThread.0
xor edi, edi
mov eax, dword [0x647b38]
test eax, eax
je 0x51254f
mov ecx, dword [0x647b34]
cmp edi, eax
jae 0x512547
test ecx, ecx
je 0x512547
mov esi, dword [ecx + edi*4]
test esi, esi
je 0x512547
mov eax, dword [esi + 0xc]
test eax, eax
je 0x51250a
push 2
push eax
call fcn.0056ea89
add esp, 8
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x51252a
push 2
push eax
call fcn.0056ea89
add esp, 8
mov dword [esi + 4], 0
push 0x28
push esi
mov dword [esi + 8], 0
call fcn.0056ea89
mov eax, dword [0x647b38]
add esp, 8
mov ecx, dword [0x647b34]
inc edi
cmp edi, eax
jb 0x5124e6
mov esi, dword [ebp - 0x10]
mov dword [ebp - 4], 0xf
mov eax, dword [esi + 4]
mov dword [esi], vtable.OThread.0
test eax, eax
je 0x512591
cmp byte [esi + 9], 0
je 0x512591
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x512591
cmp dword [ebp - 0x14], 0x103
je 0x512591
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
mov eax, dword [esi + 0x10]
test eax, eax
je 0x5125aa
push 2
push eax
call fcn.0056ea89
add esp, 8
mov dword [esi + 0x10], 0
push 0x18
push esi
mov dword [esi + 0x14], 0
call fcn.0056ea89
add esp, 8
mov dword [ebx + 0x1c], 0
mov esi, dword [ebx + 0x18]
test esi, esi
je 0x5125e3
mov ecx, esi
call fcn.0051d7a0
push 0x2c
push esi
call fcn.0056ea89
add esp, 8
mov dword [ebx + 0x18], 0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret