Function at 0x51d800
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b3138
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push esi
push edi
mov eax, dword [0x63a404]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
jmp 0x51d832
mov esi, eax
push 0x36
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0x1a
call fcn.0056ea97
mov ecx, dword [ebp - 0x1c]
push 0xffffffffffffffff
push str.Waiting_for_connection_...
inc ecx
mov dword [ebp - 0x20], eax
push ecx
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00584f75
mov ecx, dword [ebp - 0x1c]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x1c], ecx
lea eax, [ebp - 0x20]
mov dword [ebp - 4], edx
push eax
push 0x25
push str.OHttpServer::run
push str.d:jenkinsworkspaceclient3.lib.httpserverlibhttpserverlib_srcohttpserver.cpp
push edx
call fcn.0054faa0
mov dword [ebp - 4], 0xffffffff
add esp, 0x2c
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x51d8a9
push 2
push eax
call fcn.0056ea89
add esp, 8
mov esi, dword [esi + 0x1c]
push 0x14
call fcn.0056e7bf
mov edi, eax
add esp, 4
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0x10
movups xmmword [edi], xmm0
push eax
movaps xmm0, xmmword [0x626960]
mov dword [edi + 0x10], 0xffffffff
push edi
movups xmmword [edi], xmm0
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_accept]
mov dword [edi + 0x10], eax
cmp eax, 0xffffffff
jne 0x51d968
push 0x14
push edi
call fcn.0056ea89
push 0x30
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x24], 0x17
call fcn.0056ea97
mov ecx, dword [ebp - 0x24]
push 0xffffffffffffffff
push str.__Got_Invalid_Socket...
inc ecx
mov dword [ebp - 0x28], eax
push ecx
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00584f75
mov ecx, dword [ebp - 0x24]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x24], ecx
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 4
push eax
push 0x34
push str.OHttpServer::run
push str.d:jenkinsworkspaceclient3.lib.httpserverlibhttpserverlib_srcohttpserver.cpp
push edx
call fcn.0054faa0
mov dword [ebp - 4], 0xffffffff
add esp, 0x34
mov eax, dword [ebp - 0x28]
jmp 0x51db1e
push 0x38
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x2c], 0x1b
call fcn.0056ea97
mov ecx, dword [ebp - 0x2c]
push 0xffffffffffffffff
push str.__Got_Socket_Connection_...
inc ecx
mov dword [ebp - 0x30], eax
push ecx
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00584f75
mov ecx, dword [ebp - 0x2c]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x2c], ecx
lea eax, [ebp - 0x30]
mov dword [ebp - 4], 1
push eax
push 0x29
push str.OHttpServer::run
push str.d:jenkinsworkspaceclient3.lib.httpserverlibhttpserverlib_srcohttpserver.cpp
push edx
call fcn.0054faa0
mov dword [ebp - 4], 0xffffffff
add esp, 0x2c
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x51d9e3
push 2
push eax
call fcn.0056ea89
add esp, 8
push 0x42
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x34], 0x20
call fcn.0056ea97
mov ecx, dword [ebp - 0x34]
push 0xffffffffffffffff
push str.__Create_thread_to_handle_socket
inc ecx
mov dword [ebp - 0x38], eax
push ecx
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00584f75
mov ecx, dword [ebp - 0x34]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x34], ecx
lea eax, [ebp - 0x38]
mov dword [ebp - 4], 2
push eax
push 0x2a
push str.OHttpServer::run
push str.d:jenkinsworkspaceclient3.lib.httpserverlibhttpserverlib_srcohttpserver.cpp
push edx
call fcn.0054faa0
mov dword [ebp - 4], 0xffffffff
add esp, 0x2c
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x51da5e
push 2
push eax
call fcn.0056ea89
add esp, 8
mov eax, dword [ebp - 0x10]
push edi
mov ecx, dword [eax + 0x20]
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
mov ecx, dword [ebp - 0x10]
mov esi, eax
push 1
push esi
lea ecx, [ecx + 0x24]
call fcn.005444a0
mov eax, dword [esi + 4]
mov byte [esi + 9], 1
test eax, eax
jne 0x51daab
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 0x51dab2
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0x58
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x3c], 0x2b
call fcn.0056ea97
mov ecx, dword [ebp - 0x3c]
push 0xffffffffffffffff
push str.__Create_thread_to_handle_socket__Complete_
inc ecx
mov dword [ebp - 0x40], eax
push ecx
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00584f75
mov ecx, dword [ebp - 0x3c]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x3c], ecx
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 3
push eax
push 0x30
push str.OHttpServer::run
push str.d:jenkinsworkspaceclient3.lib.httpserverlibhttpserverlib_srcohttpserver.cpp
push edx
call fcn.0054faa0
mov dword [ebp - 4], 0xffffffff
add esp, 0x2c
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x51db2d
push 2
push eax
call fcn.0056ea89
add esp, 8
mov eax, dword [ebp - 0x10]
xor esi, esi
cmp dword [eax + 0x28], esi
jbe 0x51d830
mov ecx, dword [ebp - 0x10]
add eax, 0x24
mov dword [ebp - 0x14], eax
cmp esi, dword [eax + 4]
jae 0x51db8a
mov edi, dword [eax]
test edi, edi
je 0x51db8a
mov edi, dword [edi + esi*4]
test edi, edi
je 0x51db8a
cmp byte [edi + 9], 0
je 0x51db8a
mov eax, dword [edi + 4]
test eax, eax
je 0x51db87
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x51db84
cmp dword [ebp - 0x18], 0x103
je 0x51db84
mov ecx, dword [ebp - 0x14]
push edi
call fcn.00544560
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
inc esi
cmp esi, dword [ecx + 0x28]
jb 0x51db44
mov esi, dword [ebp - 0x10]
jmp 0x51d832