Function at 0x519560
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x67bf38]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0xa8]
cmp eax, dword [ecx + 8]
jbe 0x519890
sub esp, 0x128
mov eax, 0
mov dword [esp + 0x124], eax
mov byte [esp + 0x37], 0
mov eax, dword [esp + 0x12c]
test byte [eax], al
lea ecx, [eax + 0x20]
mov dword [esp + 0x64], ecx
mov dword [esp], ecx
call sym.sync._Mutex_.Lock
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
lea eax, [sym.infatica_agent_servers._Servers_.applyServerList.func1]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x68]
mov dword [esp + 0x124], eax
mov byte [esp + 0x37], 1
mov eax, dword [esp + 0x12c]
mov ecx, dword [eax + 0x18]
mov dword [esp], ecx
call sym.infatica_agent_serverlist._ServerList_.Servers
mov eax, dword [esp + 8]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x4c], ecx
lea edi, [esp + 0x70]
xor eax, eax
call fcn.00467239
lea edi, [esp + 0xd8]
call fcn.0046722d
lea ecx, [esp + 0xd8]
mov dword [esp + 0x7c], ecx
call sym.runtime.fastrand
mov eax, dword [esp]
mov dword [esp + 0x78], eax
xor eax, eax
jmp 0x519661
lea eax, [0x532e60]
mov dword [esp], eax
lea ecx, [esp + 0x70]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x54]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0xc], edx
call sym.runtime.mapassign_faststr
mov eax, dword [esp + 0x10]
test byte [eax], al
mov eax, dword [esp + 0x44]
inc eax
mov ecx, dword [esp + 0x38]
cmp eax, ecx
jge 0x51979e
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x4c]
lea edx, [ecx + eax*8]
mov ebx, dword [edx]
mov dword [esp + 0x54], ebx
mov edx, dword [edx + 4]
mov dword [esp + 0x40], edx
mov ebp, dword [esp + 0x12c]
mov esi, dword [ebp + 0x1c]
lea edi, [0x532e20]
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
call sym.runtime.mapaccess1_faststr
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
jne 0x519630
mov eax, dword [esp + 0x12c]
mov ecx, dword [eax + 8]
mov dword [esp], ecx
call sym.infatica_agent_param_rw._Storage_.Values
lea edi, [esp + 0x8c]
lea esi, [esp + 4]
call fcn.0046770a
mov eax, dword [esp + 0x12c]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov ebx, dword [eax + 0xc]
mov ebp, dword [eax + 0x10]
mov esi, dword [eax + 0x14]
mov dword [esp + 0x60], esi
mov edi, dword [eax + 0x18]
mov dword [esp + 0x5c], edi
mov dword [esp], ecx
mov dword [esp + 4], edx
mov ecx, dword [esp + 0x54]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x40]
mov dword [esp + 0xc], edx
lea edi, [esp + 0x10]
lea esi, [esp + 0x8c]
call fcn.00467728
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebp
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x2c], ecx
call sym.infatica_agent_servers.NewServer
mov eax, dword [esp + 0x12c]
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x58], edx
lea ebx, [0x532e20]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 8], ecx
mov ebp, dword [esp + 0x40]
mov dword [esp + 0xc], ebp
call sym.runtime.mapassign_faststr
mov eax, dword [esp + 0x10]
test byte [eax], al
mov ecx, dword [0x67c100]
test ecx, ecx
jne 0x519787
mov ecx, dword [esp + 0x58]
jmp 0x519797
call sym.runtime.gcWriteBarrier2
mov ecx, dword [esp + 0x58]
mov dword [edi], ecx
mov edx, dword [eax]
mov dword [edi + 4], edx
mov dword [eax], ecx
jmp 0x519630
mov ecx, dword [esp + 0x12c]
mov edx, dword [ecx + 0x1c]
lea edi, [esp + 0xa8]
xor eax, eax
call fcn.00467234
lea ecx, [0x532e20]
mov dword [esp], ecx
mov dword [esp + 4], edx
lea edx, [esp + 0xa8]
mov dword [esp + 8], edx
call sym.runtime.mapiterinit
jmp 0x5197e4
lea eax, [esp + 0xa8]
mov dword [esp], eax
call sym.runtime.mapiternext
mov eax, dword [esp + 0xa8]
test eax, eax
je 0x51986d
mov ecx, dword [eax]
mov dword [esp + 0x50], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x3c], eax
mov edx, dword [esp + 0xac]
mov edx, dword [edx]
mov dword [esp + 0x48], edx
lea ebx, [0x532e60]
mov dword [esp], ebx
lea ebp, [esp + 0x70]
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call sym.runtime.mapaccess2_faststr
movzx eax, byte [esp + 0x14]
test al, al
jne 0x5197d5
mov eax, dword [esp + 0x48]
mov edx, dword [eax + 8]
mov eax, dword [edx]
nop
call eax
mov eax, dword [esp + 0x12c]
mov ecx, dword [eax + 0x1c]
lea ebx, [0x532e20]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xc], ecx
call sym.runtime.mapdelete_faststr
jmp 0x5197d5
mov byte [esp + 0x37], 0
mov edx, dword [esp + 0x124]
mov eax, dword [edx]
call eax
add esp, 0x128
ret
call sym.runtime.morestack_noctxt
jmp sym.infatica_agent_servers._Servers_.applyServerList