Function at 0x41a990
Capabilities:
Create thread

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x474922
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x474
mov eax, dword [0x48fe40]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x4b55f0]
mov esi, dword [ebx + 0xc]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x493360]
cmp eax, dword [ecx + 0xc]
jg 0x41afb8
push 0x400
lea eax, [ebp - 0x418]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x418]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41aa18
push 0x1c
push str.connd_daemon_by_kin4stat.exe
sub ecx, edx
lea eax, [ebp - 0x418]
push 0
push ecx
push eax
call fcn.00403ab0
add esp, 0x14
cmp eax, 0xffffffff
jne 0x41aab0
call fcn.00439a70
sub esp, 8
mov dword [ebp - 0x460], 0
mov ecx, esp
mov dword [ebp - 0x45c], 0
movq xmm0, qword [ebp - 0x460]
mov edx, eax
push 2
sub esp, 0xc
mov dword [ecx], str.Daemon_executable_name_changed__shutting_down
mov eax, esp
mov dword [ecx + 4], 0x2d
mov ecx, edx
movq qword [eax], xmm0
mov dword [eax + 8], 0
call fcn.004154c0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0044e4cb
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
lea eax, [ebp - 0x480]
push eax
call fcn.00415ac0
mov edx, dword [esi + 4]
xorps xmm0, xmm0
mov ecx, edx
mov dword [ebp - 0x420], 0
add esp, 4
mov dword [ebp - 0x41c], 0
movups xmmword [ebp - 0x430], xmm0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41aae5
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x430]
call fcn.00401790
mov dword [ebp - 4], 1
call fcn.004534ee
cmp dword [ebp - 0x41c], 0xf
lea esi, [ebp - 0x430]
mov edi, eax
lea eax, [ebp - 0x44c]
cmova esi, dword [ebp - 0x430]
push 0xa
push eax
push esi
mov dword [edi], 0
call fcn.00457927
add esp, 0xc
mov dword [ebp - 0x450], eax
cmp esi, dword [ebp - 0x44c]
je 0x41b006
cmp dword [edi], 0x22
je 0x41b010
mov ecx, dword [ebp - 0x41c]
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0xf
jbe 0x41ab97
mov edx, dword [ebp - 0x430]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41ab87
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b01a
push ecx
push edx
call fcn.0044e17e
mov eax, dword [ebp - 0x450]
add esp, 8
push eax
call fcn.004169f0
push 0x14
call fcn.0044e14e
add esp, 8
test eax, eax
je 0x41abdd
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax], vtable.RakPlugin.0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 1
jmp 0x41abdf
xor eax, eax
push 0
mov dword [0x493328], eax
call fcn.004579ff
push eax
call fcn.00453868
add esp, 8
call fcn.0042c160
mov dword [0x493338], eax
push 0x240
mov ecx, dword [eax]
mov edx, dword [ecx + 0xb8]
mov ecx, eax
call edx
mov ecx, dword [0x493338]
push 0x477439
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [0x493338]
push dword [0x493328]
mov eax, dword [ecx]
call dword [eax + 0x7c]
mov ecx, dword [0x493338]
mov esi, section..data
cmp dword [0x48c014], 0xf
movzx edx, word [0x48c024]
cmova esi, dword [section..data]
mov eax, dword [ecx]
push 2
push 0
mov edi, dword [eax + 4]
movzx eax, word [0x48c018]
push eax
push edx
push esi
call edi
test al, al
jne 0x41ac8e
lea eax, [ebp - 0x470]
mov dword [ebp - 0x470], 1
push eax
mov dword [ebp - 0x46c], 0
call fcn.00409ee0
add esp, 4
jmp 0x41ac30
push 4
call fcn.0044e14e
add esp, 4
test eax, eax
je 0x41aca4
mov dword [eax], 0x410f60
jmp 0x41aca6
xor eax, eax
mov dword [ebp - 0x46c], eax
lea ecx, [ebp - 0x464]
mov dword [ebp - 4], 2
push ecx
push 0
push eax
push 0x403420
push 0
push 0
call fcn.0045bd32
add esp, 0x18
mov dword [ebp - 0x468], eax
test eax, eax
je 0x41afa7
mov al, byte [0x49332c]
mov dword [ebp - 4], 3
nop
test al, al
jne 0x41aeb3
mov ecx, dword [0x493338]
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
test eax, eax
je 0x41ad1f
mov ecx, dword [0x493338]
push eax
mov edx, dword [ecx]
call dword [edx + 0x24]
mov ecx, dword [0x493338]
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
test eax, eax
jne 0x41ad02
call fcn.0044cb7f
mov edi, eax
mov esi, edx
mov dword [ebp - 0x46c], edi
mov dword [ebp - 0x474], esi
call fcn.0044cb68
mov ecx, eax
mov eax, edx
mov dword [ebp - 0x450], ecx
mov dword [ebp - 0x44c], eax
cmp edi, 0x989680
jne 0x41ad6b
test esi, esi
jne 0x41ad6b
mov edi, 0x64
mul edi
mov esi, eax
mov eax, ecx
mul edi
add esi, edx
mov edi, eax
jmp 0x41ae42
cmp edi, 0x16e3600
jne 0x41addf
test esi, esi
jne 0x41addf
push esi
push edi
push eax
push ecx
call fcn.0044e4e0
push 0
push 0x16e3600
mov esi, edx
mov edi, eax
push esi
push edi
call fcn.0044e670
mov ecx, dword [ebp - 0x450]
sub ecx, eax
mov eax, dword [ebp - 0x44c]
push 0
push 0x3b9aca00
sbb eax, edx
push eax
push ecx
call fcn.0044e670
push 0
push 0x16e3600
push edx
push eax
call fcn.0044e4e0
mov dword [ebp - 0x44c], eax
mov ecx, 0x3b9aca00
mov eax, esi
mov dword [ebp - 0x450], edx
mov esi, dword [ebp - 0x450]
mul ecx
mov ecx, eax
mov eax, edi
jmp 0x41ae2f
push ebx
push esi
push edi
push eax
push ecx
call fcn.0044e590
mov esi, ebx
pop ebx
nop
push 0
push 0x3b9aca00
push esi
push ecx
mov dword [ebp - 0x450], eax
mov edi, edx
call fcn.0044e670
push dword [ebp - 0x474]
push dword [ebp - 0x46c]
push edx
push eax
call fcn.0044e4e0
mov dword [ebp - 0x44c], eax
mov ecx, 0x3b9aca00
mov eax, edi
mov esi, edx
mul ecx
mov ecx, eax
mov eax, dword [ebp - 0x450]
mov edi, dword [ebp - 0x44c]
mov edx, 0x3b9aca00
mul edx
add ecx, edx
add edi, eax
adc esi, ecx
sub edi, dword [ebp - 0x480]
mov ecx, edi
sbb esi, dword [ebp - 0x47c]
mov edx, esi
call fcn.0044e810
divsd xmm0, qword [0x479618]
mov eax, dword [0x48c168]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x479680]
comisd xmm0, xmm1
ja 0x41b026
lea eax, [ebp - 0x460]
mov dword [ebp - 0x460], 1
push eax
mov dword [ebp - 0x45c], 0
call fcn.00409ee0
mov al, byte [0x49332c]
add esp, 4
nop
test al, al
je 0x41acf1
call fcn.00439a70
sub esp, 8
mov dword [ebp - 0x460], 0
mov ecx, esp
mov dword [ebp - 0x45c], 0
movq xmm0, qword [ebp - 0x460]
mov edx, eax
push 2
sub esp, 0xc
mov dword [ecx], str.Mainloop_stopped__waiting_for_daemon_thread
mov eax, esp
mov dword [ecx + 4], 0x2b
mov ecx, edx
movq qword [eax], xmm0
mov dword [eax + 8], 0
call fcn.004154c0
cmp dword [ebp - 0x464], 0
je 0x41b01f
call sub.KERNEL32.dll_GetCurrentThreadId
mov ecx, dword [ebp - 0x464]
cmp ecx, eax
je 0x41b060
push 0
push ecx
push dword [ebp - 0x468]
call fcn.0044ce26
add esp, 0xc
test eax, eax
jne 0x41b067
xorps xmm0, xmm0
movlpd qword [ebp - 0x468], xmm0
call fcn.00439a70
sub esp, 8
mov dword [ebp - 0x460], 0
mov ecx, esp
mov dword [ebp - 0x45c], 0
movq xmm0, qword [ebp - 0x460]
mov edx, eax
push 2
sub esp, 0xc
mov dword [ecx], str.Shutting_down
mov eax, esp
mov dword [ecx + 4], 0xd
mov ecx, edx
movq qword [eax], xmm0
mov dword [eax + 8], 0
call fcn.004154c0
cmp dword [ebp - 0x464], 0
jne 0x41b06e
xor eax, eax
jmp 0x41aa92
push 6
mov dword [ebp - 0x464], 0
call fcn.0044d0c6
push 0x493360
call fcn.0044e467
add esp, 4
cmp dword [0x493360], 0xffffffff
jne 0x41a9f4
mov ecx, 0x493354
mov dword [ebp - 4], 0
call fcn.0040bdc0
push 0x476cf0
call fcn.0044e3d6
push 0x493360
mov dword [ebp - 4], 0xffffffff
call fcn.0044e416
add esp, 8
jmp 0x41a9f4
push str.invalid_stoul_argument
call fcn.0044cd9a
push str.stoul_argument_out_of_range
call fcn.0044cdda
call fcn.004532bf
push 1
call fcn.0044d0c6
push 0
push str..conndconnd_samp_dump.json
lea ecx, [ebp - 0x448]
call fcn.00401090
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x448]
push eax
call fcn.00417000
add esp, 8
lea ecx, [ebp - 0x448]
call fcn.0040cb30
push 0
call fcn.00453852
push 5
call fcn.0044d0c6
push 2
call fcn.0044d0c6
call fcn.0045bb48
int3