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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x73bb00]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
cmp eax, 0xf
jne 0x51a121
mov eax, dword [edi]
call dword [eax + 0x18]
cmp dword [ebx], 0
je 0x51a328
push 0x40
push dword [ebx + 4]
lea eax, [edi + 0x20]
push eax
call fcn.00623c10
push 0x10
push dword [ebx + 8]
lea eax, [edi + 0x60]
push eax
call fcn.00623c10
add esp, 0x18
cmp dword [0x7862c0], 0
je 0x51a03a
mov eax, dword [0x7862c8]
mov edx, dword [0x7862cc]
jmp 0x51a03f
call fcn.00625aa0
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], edx
cmp dword [0x7862c0], 0
je 0x51a066
mov eax, dword [0x7862c8]
mov dword [ebp - 0x208], eax
mov eax, dword [0x7862cc]
mov dword [ebp - 0x20c], eax
jmp 0x51a077
call fcn.00625aa0
mov dword [ebp - 0x208], eax
mov dword [ebp - 0x20c], edx
call fcn.00625a90
mov esi, eax
mov ecx, edx
mov eax, dword [ebx]
cdq
push edx
push eax
push ecx
push esi
call fcn.00632ff0
add eax, dword [ebp - 0x208]
mov ecx, edi
mov dword [edi + 0x18], eax
adc edx, dword [ebp - 0x20c]
mov dword [edi + 0x1c], edx
call fcn.005d2840
mov ecx, eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x90]
call eax
test al, al
je 0x51a328
lea eax, [edi + 0x60]
push eax
lea eax, [edi + 0x20]
push eax
push str._s___s_
lea eax, [ebp - 0x204]
push 0x200
push eax
call fcn.00623dd0
add esp, 0x14
mov ecx, edi
call fcn.005d2840
lea ecx, [ebp - 0x204]
push ecx
push str.DDNet_Vote
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x60]
push ecx
mov ecx, dword [edi + 4]
mov dword [esp], 0
add ecx, 0x5110e0
push 0x22
push 0
call fcn.00513cd0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0063292f
mov esp, ebp
pop ebp
ret 8
cmp eax, 0x10
jne 0x51a156
mov eax, dword [ebx]
mov dword [edi + 0x78], eax
mov eax, dword [ebx + 4]
mov dword [edi + 0x7c], eax
mov eax, dword [ebx + 8]
mov dword [edi + 0x80], eax
mov eax, dword [ebx + 0xc]
mov dword [edi + 0x84], eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0063292f
mov esp, ebp
pop ebp
ret 8
cmp eax, 0xb
jne 0x51a173
call fcn.00519e20
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0063292f
mov esp, ebp
pop ebp
ret 8
cmp eax, 0xc
jne 0x51a20e
mov esi, dword [ebx]
mov dword [ebp - 0x208], esi
xor esi, esi
mov eax, dword [ebp - 0x208]
test eax, eax
jle 0x51a328
cmp esi, 0xe
ja case.default.0x51a199
jmp dword [esi*4 + 0x51a33c]
push dword [ebx + 4]
jmp 0x51a1e9
push dword [ebx + 8]
jmp 0x51a1e9
push dword [ebx + 0xc]
jmp 0x51a1e9
push dword [ebx + 0x10]
jmp 0x51a1e9
push dword [ebx + 0x14]
jmp 0x51a1e9
push dword [ebx + 0x18]
jmp 0x51a1e9
push dword [ebx + 0x1c]
jmp 0x51a1e9
push dword [ebx + 0x20]
jmp 0x51a1e9
push dword [ebx + 0x24]
jmp 0x51a1e9
push dword [ebx + 0x28]
jmp 0x51a1e9
push dword [ebx + 0x2c]
jmp 0x51a1e9
push dword [ebx + 0x30]
jmp 0x51a1e9
push dword [ebx + 0x34]
jmp 0x51a1e9
push dword [ebx + 0x38]
jmp 0x51a1e9
push dword [ebx + 0x3c]
mov ecx, edi
call fcn.00519950
mov eax, dword [ebp - 0x208]
inc esi
cmp esi, eax
jl 0x51a194
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0063292f
mov esp, ebp
pop ebp
ret 8
cmp eax, 0xd
jne 0x51a22d
push dword [ebx]
call fcn.00519950
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0063292f
mov esp, ebp
pop ebp
ret 8
cmp eax, 0xe
jne 0x51a2e0
mov esi, dword [edi + 0x8c]
mov ebx, dword [ebx]
test esi, esi
je 0x51a328
lea eax, [esi + 8]
push ebx
push eax
call fcn.00623ad0
add esp, 8
test eax, eax
je 0x51a270
mov esi, dword [esi]
test esi, esi
jne 0x51a246
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0063292f
mov esp, ebp
pop ebp
ret 8
mov eax, dword [edi + 0x8c]
cmp eax, esi
jne 0x51a282
mov eax, dword [eax]
mov dword [edi + 0x8c], eax
mov eax, dword [edi + 0x90]
cmp eax, esi
jne 0x51a295
mov eax, dword [eax + 4]
mov dword [edi + 0x90], eax
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x51a2a0
mov eax, dword [esi]
mov dword [ecx], eax
mov ecx, dword [esi]
test ecx, ecx
je 0x51a2ac
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
dec dword [edi + 0x88]
mov dword [esi], 0
mov eax, dword [edi + 0x98]
mov dword [esi + 4], eax
test eax, eax
je 0x51a2c7
mov dword [eax], esi
mov dword [edi + 0x98], esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0063292f
mov esp, ebp
pop ebp
ret 8
cmp eax, 0x10035
jne 0x51a2ff
mov eax, dword [ebx]
mov dword [edi + 0x70], eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0063292f
mov esp, ebp
pop ebp
ret 8
cmp eax, 0x10039
jne 0x51a31d
mov byte [edi + 0x74], 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0063292f
mov esp, ebp
pop ebp
ret 8
cmp eax, 0x1003a
jne 0x51a328
mov byte [edi + 0x74], 0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0063292f
mov esp, ebp
pop ebp
ret 8