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

Disassembly:
mov eax, 0x17fc
call fcn.004b3050
mov eax, dword [0x5b4a28]
xor eax, esp
mov dword [esp + 0x17f8], eax
push ebx
mov ebx, dword [esp + 0x1804]
push ebp
mov ebp, dword [esp + 0x180c]
push esi
mov esi, dword [esp + 0x1814]
push edi
xor edi, edi
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x40], ebp
mov dword [esp + 0x58], esi
mov dword [esp + 0x18], edi
call fcn.005233e0
mov byte [eax], 0
cmp ebx, edi
je 0x51f184
cmp dword [ebx + 0x10], edi
je 0x51f184
cmp ebp, edi
je 0x51f184
cmp esi, edi
je 0x51f184
mov eax, dword [ebp]
cmp eax, edi
je 0x51f159
cmp dword [ebp + 4], edi
jbe 0x51f159
cmp dword [esi], edi
je 0x51f159
cmp dword [esi + 4], edi
jbe 0x51f159
push ebx
call fcn.00519d70
mov edx, dword [esi + 4]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x1820]
add esp, 4
mov dword [esp + 0x78], edx
cmp eax, edi
je 0x51dd35
cmp eax, dword [ebx + 0xc]
jle 0x51dd3f
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x181c], eax
cmp dword [ebx + 8], eax
jg 0x51f100
cmp dword [ebx + 0x74], edi
jbe 0x51dd56
cmp dword [ebx + 0x58], eax
jg 0x51f100
mov edi, dword [ebp]
mov eax, dword [ebp + 4]
add eax, edi
mov dword [esp + 0x38], eax
mov eax, ebx
sub eax, dword [ebx + 0x3c]
mov ecx, esi
mov ecx, dword [ecx]
sub eax, 0x114
mov dword [esp + 0x4c], eax
mov eax, dword [ebx + 0x64]
add edx, ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x28], ebx
lea esi, [esp + 0x88]
mov dword [esp + 0x88], ebx
mov dword [esp + 0x94], 1
mov dword [esp + 0x98], 0
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], edx
test eax, eax
je 0x51ddda
cmp dword [ebx + 0x68], 0xffffffff
mov dword [esp + 0x9c], eax
je 0x51ddd3
mov dword [esp + 0xbc], edi
add edi, eax
mov dword [esp + 0x1c], edi
jmp 0x51ddf1
mov eax, dword [ebx + 0x5c]
add eax, edi
jmp 0x51ddea
xor eax, eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xbc], eax
cmp dword [ebx + 0x74], 0
mov dword [esp + 0xb8], edi
mov dword [esp + 0xc0], 1
mov dword [esp + 0xac], 0
jbe 0x51deae
mov eax, dword [ebx + 0x70]
add eax, ecx
mov ebp, edx
sub ebp, eax
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x74]
cmp ebp, eax
jge 0x51de5f
push eax
mov eax, dword [ebx + 0x70]
push eax
push edx
push ecx
push ebx
call fcn.00519cb0
add esp, 4
push eax
push str.__host_buffer_NOT_enough:_meta__s___a_pszHostBase__p___a_pszHostEnd__p___version_indicator_offset__u__and_size__u_
push 0x400
call fcn.005233e0
push eax
call fcn.004b92f1
add esp, 0x20
mov dword [esp + 0x18], 0x82010407
jmp 0x51deaa
sub eax, 2
je 0x51de9b
sub eax, 2
mov ecx, dword [esp + 0x10]
mov ebp, dword [esp + 0x40]
je 0x51de90
sub eax, 4
je 0x51de81
mov dl, byte [esp + 0x181c]
mov byte [ecx], dl
jmp 0x51deae
mov eax, dword [esp + 0x181c]
cdq
mov dword [ecx], eax
mov dword [ecx + 4], edx
jmp 0x51deae
mov eax, dword [esp + 0x181c]
mov dword [ecx], eax
jmp 0x51deae
mov dx, word [esp + 0x181c]
mov eax, dword [esp + 0x10]
mov word [eax], dx
mov ebp, dword [esp + 0x40]
test dword [esp + 0x18], 0x80000000
je 0x51df15
push 0x400
call fcn.005233e0
push eax
call fcn.004d0736
mov esi, eax
add esp, 8
cmp esi, 0x400
jge 0x51dede
mov eax, 0x400
sub eax, esi
jmp 0x51dee0
xor eax, eax
push 0xfb
push str.lib_src_tdr_tdr_net.c
push str.___s:_d
push eax
call fcn.005233e0
add eax, esi
push eax
call fcn.004b92f1
mov ecx, dword [esp + 0x6c]
add esp, 0x14
xor eax, eax
mov dword [ecx + 4], eax
mov dword [ebp + 4], eax
mov eax, dword [esp + 0x18]
jmp 0x51f1a4
xor eax, eax
mov dword [esp + 0x34], 1
mov dword [esp + 0x8c], eax
mov dword [esp + 0x24], eax
lea ebx, [ebx]
cmp dword [esp + 0x24], 0
je 0x51e0cf
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x24], 0
test ecx, ecx
je 0x51e06e
mov eax, edi
sub eax, dword [esi + 0x30]
cdq
mov ebx, eax
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], edx
cmp edx, dword [ecx*8 + 0x5bfea4]
jg 0x51ee3f
jl 0x51df7a
cmp ebx, dword [ecx*8 + 0x5bfea0]
ja 0x51ee3f
sub ecx, 2
je 0x51e064
sub ecx, 2
je 0x51e039
sub ecx, 4
je 0x51df9b
mov edx, dword [esi + 0x34]
mov byte [edx], bl
jmp 0x51e06e
xor eax, eax
mov edi, ebx
mov ebp, edx
shrd edi, ebp, 0x10
or eax, edi
mov ecx, edx
and ecx, 0xff0000
shr ebp, 0x10
or ecx, ebp
shrd eax, ecx, 0x10
mov ebp, edx
shr ecx, 0x10
xor edi, edi
or eax, edi
and ebp, 0xff00
or ecx, ebp
movzx ebp, byte [esp + 0x70]
shrd eax, ecx, 0x10
or edi, eax
mov eax, ebx
shld edx, eax, 0x10
shl eax, 0x10
and ebx, 0xff00
or eax, ebx
mov ebx, dword [esp + 0x6c]
shr ecx, 0x10
or ecx, ebp
xor ebp, ebp
or edx, ebp
shld edx, eax, 0x10
shl eax, 0x10
and ebx, 0xff0000
or eax, ebx
or edx, ebp
shld edx, eax, 0x10
shl eax, 0x10
mov ebx, eax
mov eax, dword [esp + 0x6c]
and eax, 0xff000000
or ebx, eax
mov eax, dword [esi + 0x34]
or edx, ebp
shrd edi, ecx, 8
shld edx, ebx, 8
shl ebx, 8
or edi, ebx
shr ecx, 8
or ecx, edx
mov dword [eax], edi
mov edi, dword [esp + 0x1c]
mov dword [eax + 4], ecx
jmp 0x51e06e
mov ecx, ebx
mov edx, ebx
mov eax, ebx
and ecx, 0xff0000
shr edx, 0x10
shl eax, 0x10
and ebx, 0xff00
or ecx, edx
mov edx, dword [esi + 0x34]
or eax, ebx
shr ecx, 8
shl eax, 8
or ecx, eax
mov dword [edx], ecx
jmp 0x51e06e
mov eax, dword [esi + 0x34]
rol bx, 8
mov word [eax], bx
cmp dword [esi + 0xc], 0
jle 0x51e0a0
mov ebx, dword [esp + 0x38]
cmp edi, ebx
ja 0x51ee8d
cmp dword [esi + 0x14], 0
jbe 0x51e09d
mov eax, dword [esi + 0x18]
test eax, eax
jns 0x51e098
mov dword [esi + 0x34], edi
sub edi, eax
mov dword [esp + 0x1c], edi
jmp 0x51e09d
add eax, edi
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], edi
cmp dword [esp + 0x34], 1
jle 0x51e0cf
mov eax, dword [esi + 4]
test byte [eax + 0x44], 4
je 0x51e0bb
mov ecx, dword [eax + 0x18]
add dword [esi - 0x98], ecx
jmp 0x51e0c8
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x1c]
add dword [esi - 0x98], eax
mov dword [esi + 0x24], 0
mov ebp, dword [esi + 0xc]
test ebp, ebp
jg 0x51e139
mov eax, dword [esp + 0x34]
dec eax
sub esi, 0xbc
mov dword [esp + 0x34], eax
test eax, eax
jle 0x51f073
mov eax, dword [esi]
cmp dword [eax + 0x10], 0
mov dword [esp + 0x28], eax
jne 0x51e10e
mov ecx, dword [eax + 0x1c]
mov edx, dword [esi + 0x38]
dec dword [esi + 0xc]
add dword [esi + 0x28], ecx
mov dword [esp + 0x24], edx
jmp 0x51ee2f
inc dword [esi + 0x10]
mov ecx, dword [esi + 0x10]
cmp ecx, dword [eax + 0x2c]
jl 0x51ee2f
mov eax, dword [eax + 0x1c]
mov ecx, dword [esi + 0x38]
dec dword [esi + 0xc]
add dword [esi + 0x28], eax
mov dword [esi + 0x10], 0
mov dword [esp + 0x24], ecx
jmp 0x51ee2f
mov eax, dword [esi + 0x10]
mov edx, dword [esp + 0x28]
mov ecx, eax
imul ecx, ecx, 0xb4
lea ebx, [ecx + edx + 0xb8]
mov ecx, dword [esp + 0x181c]
mov dword [esp + 0x14], ebx
cmp dword [ebx + 4], ecx
jle 0x51e1a5
cmp dword [edx + 0x10], 0
jne 0x51e17b
mov edx, dword [edx + 0x1c]
mov eax, dword [esi + 0x38]
dec ebp
add dword [esi + 0x28], edx
mov dword [esi + 0xc], ebp
mov dword [esp + 0x24], eax
jmp 0x51ee2f
inc eax
mov dword [esi + 0x10], eax
cmp eax, dword [edx + 0x2c]
jl 0x51ee2f
mov ecx, dword [edx + 0x1c]
mov edx, dword [esi + 0x38]
dec ebp
add dword [esi + 0x28], ecx
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], ebp
mov dword [esp + 0x24], edx
jmp 0x51ee2f
movzx ecx, word [ebx + 0x44]
test cl, 2
je 0x51e1e0
cmp dword [edx + 0x10], 0
jne 0x51e1ca
mov eax, dword [edx + 0x1c]
mov ecx, dword [esi + 0x38]
dec ebp
add dword [esi + 0x28], eax
mov dword [esi + 0xc], ebp
mov dword [esp + 0x24], ecx
jmp 0x51ee2f
inc eax
mov dword [esi + 0x10], eax
cmp eax, dword [edx + 0x2c]
jl 0x51ee2f
mov dword [esi + 0x10], 0
jmp 0x51e165
mov eax, dword [ebx + 0x58]
test eax, eax
je 0x51e23c
mov edx, dword [ebx + 0x5c]
add edx, dword [esi + 0x28]
sub eax, 2
je 0x51e22c
sub eax, 2
je 0x51e21d
sub eax, 4
je 0x51e20c
movzx eax, byte [edx]
cdq
mov dword [esp + 0x48], edx
mov ebp, eax
mov dword [esp + 0x3c], eax
jmp 0x51e243
mov eax, dword [edx]
mov edx, dword [edx + 4]
mov dword [esp + 0x48], edx
mov ebp, eax
mov dword [esp + 0x3c], eax
jmp 0x51e243
mov eax, dword [edx]
cdq
mov dword [esp + 0x48], edx
mov ebp, eax
mov dword [esp + 0x3c], eax
jmp 0x51e243
movzx eax, word [edx]
cdq
mov dword [esp + 0x48], edx
mov ebp, eax
mov dword [esp + 0x3c], eax
jmp 0x51e243
mov ebp, dword [ebx + 0x24]
mov dword [esp + 0x3c], ebp
test ebp, ebp
js 0x51eff7
mov eax, dword [ebx + 0x24]
cmp eax, ebp
jge 0x51e25a
test eax, eax
jg 0x51eff7
test ebp, ebp
jg 0x51e30c
mov ecx, dword [ebx + 0x50]
test ecx, ecx
je 0x51e2b5
cmp dword [ebx + 0x54], 0xffffffff
jne 0x51e2b5
mov eax, dword [ebx + 0x48]
cmp eax, dword [ebx + 0x28]
jge 0x51e2b5
sub ecx, 2
je 0x51e2ac
sub ecx, 2
je 0x51e2a0
sub ecx, 4
mov ecx, dword [esi + 0x30]
je 0x51e28f
mov byte [eax + ecx], 0
jmp 0x51e2b5
mov dword [eax + ecx], 0
mov dword [eax + ecx + 4], 0
jmp 0x51e2b5
mov edx, dword [esi + 0x30]
mov dword [eax + edx], 0
jmp 0x51e2b5
mov ecx, dword [esi + 0x30]
xor edx, edx
mov word [eax + ecx], dx
mov ecx, dword [esp + 0x28]
cmp dword [ecx + 0x10], 0
jne 0x51e2d8
mov eax, dword [esi + 0xc]
dec eax
mov dword [esi + 0xc], eax
mov eax, dword [ecx + 0x1c]
mov ecx, dword [esi + 0x38]
add dword [esi + 0x28], eax
mov dword [esp + 0x24], ecx
jmp 0x51ee2f
mov eax, dword [esi + 0x10]
inc eax
mov dword [esi + 0x10], eax
cmp eax, dword [ecx + 0x2c]
jl 0x51ee2f
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x28]
mov ecx, dword [esi + 0x38]
dec eax
mov dword [esi + 0xc], eax
mov eax, dword [edx + 0x1c]
add dword [esi + 0x28], eax
mov dword [esi + 0x10], 0
mov dword [esp + 0x24], ecx
jmp 0x51ee2f
mov ebx, dword [esp + 0x14]
mov edx, dword [esi + 0x28]
mov ebp, dword [ebx + 0x2c]
add ebp, edx
mov dword [esp + 0x2c], ebp
test cl, 4
je 0x51e347
cmp dword [ebx + 8], 1
mov ebp, dword [ebp]
mov dword [esp + 0x2c], ebp
jle 0x51e335
mov eax, dword [ebx + 0x14]
add eax, ebp
jmp 0x51e34a
mov eax, dword [ebx + 0x78]
mov ecx, dword [esp + 0x4c]
mov eax, dword [eax + ecx + 0x130]
add eax, ebp
jmp 0x51e34a
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 8]
cmp eax, 1
jle 0x51ea61
sub eax, 0x15
je 0x51e778
dec eax
je 0x51e544
mov eax, dword [ebx + 0x18]
mov ecx, dword [esp + 0x3c]
mov edx, eax
imul edx, ecx
add edx, ebp
cmp edx, dword [esp + 0x30]
jbe 0x51e3ab
push ecx
push eax
mov eax, dword [esp + 0x38]
push eax
push ebp
push str.__host_buffer_NOT_enough:_host_start__p__host_end__p__unit_size__u__count__d_
push 0x400
call fcn.005233e0
push eax
call fcn.004b92f1
add esp, 0x1c
mov dword [esp + 0x18], 0x82010407
jmp 0x51e9dc
mov ebx, dword [ebx + 0x1c]
mov eax, dword [esp + 0x38]
mov edx, ebx
imul edx, ecx
add edx, edi
cmp edx, eax
jbe 0x51e3cb
push ecx
push ebx
push eax
push edi
push str.__net_buffer_NOT_enough:_net_start__p__net_end__p__unit_size__u__count__d_
jmp 0x51e98f
dec ebx
je 0x51e504
dec ebx
je 0x51e4e0
sub ebx, 2
je 0x51e4a7
mov dword [esp + 0x20], ecx
mov eax, dword [ebp]
mov ebp, dword [ebp + 4]
mov ecx, eax
mov edx, ebp
shld edx, ecx, 0x10
shl ecx, 0x10
mov edi, eax
and edi, 0xff00
or ecx, edi
xor ebx, ebx
or edx, ebx
shld edx, ecx, 0x10
or edx, ebx
mov edi, eax
shl ecx, 0x10
and edi, 0xff0000
or ecx, edi
shld edx, ecx, 0x10
or ebx, edx
mov edi, eax
mov edx, ebp
shrd eax, edx, 0x10
shr edx, 0x10
shl ecx, 0x10
and edi, 0xff000000
or ecx, edi
and edx, 0xff
xor eax, eax
mov dword [esp + 0x84], ebp
xor edi, edi
or eax, edi
and ebp, 0xff00
or edx, ebp
movzx ebp, byte [esp + 0x84]
shrd eax, edx, 0x10
shr edx, 0x10
shld ebx, ecx, 8
or eax, edi
mov edi, dword [esp + 0x1c]
or edx, ebp
mov ebp, dword [esp + 0x2c]
shrd eax, edx, 8
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp + 7]
shr edx, 8
or ebx, edx
cdq
or ecx, eax
or ebx, edx
mov dword [edi], ecx
mov dword [edi + 4], ebx
add edi, 8
add ebp, 8
dec dword [esp + 0x20]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x2c], ebp
jne 0x51e3e6
jmp 0x51e9dc
mov eax, dword [ebp]
mov edx, eax
mov ebx, eax
shl edx, 0x10
and ebx, 0xff00
or edx, ebx
shr eax, 8
shl edx, 8
and eax, 0xff00
or edx, eax
movzx eax, byte [ebp + 3]
or edx, eax
mov dword [edi], edx
add edi, 4
add ebp, 4
dec ecx
jne 0x51e4a7
mov dword [esp + 0x1c], edi
jmp 0x51e9dc
movzx edx, byte [ebp + 1]
mov ax, word [ebp]
shl ax, 8
or dx, ax
mov word [edi], dx
add edi, 2
add ebp, 2
dec ecx
jne 0x51e4e0
mov dword [esp + 0x1c], edi
jmp 0x51e9dc
cmp ecx, 0x40
jg 0x51e528
test ecx, ecx
je 0x51e9dc
mov eax, dword [esp + 0x3c]
mov cl, byte [ebp]
mov byte [edi], cl
inc edi
inc ebp
dec eax
jne 0x51e515
mov dword [esp + 0x1c], edi
jmp 0x51e9dc
push ecx
push ebp
push edi
call fcn.004b3250
mov eax, dword [esp + 0x48]
add esp, 0xc
add ebp, eax
add edi, eax
mov dword [esp + 0x1c], edi
jmp 0x51e9dc
mov dword [esp + 0x20], 0
lea esp, [esp]
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x20]
test eax, eax
jne 0x51e561
mov eax, dword [esp + 0x30]
sub eax, ebp
push eax
push ebp
mov dword [esp + 0x18], eax
call fcn.00523600
lea ebx, [eax + eax + 2]
add esp, 8
mov dword [esp + 0x44], ebx
cmp ebx, dword [esp + 0x10]
jg 0x51e733
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x50]
mov edx, dword [esp + 0x38]
add eax, ebx
sub edx, edi
cmp edx, eax
jl 0x51e751
mov eax, ebx
cdq
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x50]
mov ecx, edx
mov dword [esp + 0x60], ecx
cmp ecx, dword [eax*8 + 0x5bfea4]
jg 0x51e764
jl 0x51e5d3
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x50]
mov edx, dword [esp + 0x5c]
cmp edx, dword [eax*8 + 0x5bfea0]
ja 0x51e764
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x50]
sub eax, 2
je 0x51e6cc
sub eax, 2
je 0x51e6a3
sub eax, 4
je 0x51e5f8
mov byte [edi], bl
jmp 0x51e6d6
mov edi, dword [esp + 0x5c]
mov eax, ebx
and eax, 0xff00
cdq
mov ebp, ecx
shld ebp, edi, 0x10
shl edi, 0x10
or eax, edi
or ebp, edx
shld ebp, eax, 0x10
shl eax, 0x10
mov edi, eax
mov eax, ebx
and eax, 0xff0000
cdq
or edi, eax
mov eax, dword [esp + 0x5c]
or ebp, edx
shld ebp, edi, 0x10
xor ebx, ebx
or ebp, ebx
shl edi, 0x10
mov edx, eax
and edx, 0xff000000
or edi, edx
shld ebp, edi, 8
shl edi, 8
mov ebx, ecx
shrd eax, ecx, 0x10
and ebx, 0xff0000
mov edx, edi
xor edi, edi
or edi, eax
mov eax, dword [esp + 0x60]
shr ecx, 0x10
or ebx, ecx
shrd edi, ebx, 0x10
shr ebx, 0x10
xor ecx, ecx
or edi, ecx
movzx ecx, byte [esp + 0x60]
and eax, 0xff00
or ebx, eax
shrd edi, ebx, 0x10
shr ebx, 0x10
xor eax, eax
or ebx, ecx
or edi, eax
shrd edi, ebx, 8
shr ebx, 8
or edx, edi
mov edi, dword [esp + 0x1c]
or ebp, ebx
mov ebx, dword [esp + 0x44]
mov dword [edi + 4], ebp
mov ebp, dword [esp + 0x2c]
mov dword [edi], edx
jmp 0x51e6d6
mov edx, ebx
and edx, 0xff0000
mov eax, ebx
shr eax, 0x10
or edx, eax
mov ecx, ebx
shl ecx, 0x10
mov eax, ebx
and eax, 0xff00
or ecx, eax
shr edx, 8
shl ecx, 8
or edx, ecx
mov dword [edi], edx
jmp 0x51e6d6
mov cx, bx
rol cx, 8
mov word [edi], cx
mov edx, dword [esp + 0x14]
add edi, dword [edx + 0x50]
mov dword [esp + 0x1c], edi
cmp ebx, 0x40
ja 0x51e6fc
test ebx, ebx
je 0x51e70f
mov eax, ebx
lea esp, [esp]
mov cl, byte [ebp]
mov byte [edi], cl
inc edi
inc ebp
dec eax
jne 0x51e6f0
jmp 0x51e70b
push ebx
push ebp
push edi
call fcn.004b3250
add esp, 0xc
add ebp, ebx
add edi, ebx
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x10]
sub eax, ebx
add ebp, eax
mov eax, dword [esp + 0x20]
inc eax
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x20], eax
cmp eax, dword [esp + 0x3c]
jl 0x51e550
jmp 0x51e9dc
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x20]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x10]
push eax
push ecx
push edi
push edx
push ebx
push str.__wstring_length_error:_real_len__d__available_len__d__net_start__p__net_end__p__custom_size__u_
jmp 0x51e95e
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x50]
push eax
push edi
push edx
jmp 0x51e989
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x50]
mov edx, dword [ecx*8 + 0x5bfea0]
push edx
jmp 0x51e9bb
mov dword [esp + 0x20], 0
jmp 0x51e786
mov ebx, dword [esp + 0x14]
mov ebx, dword [ebx + 0x20]
test ebx, ebx
jne 0x51e799
mov eax, dword [esp + 0x30]
sub eax, ebp
mov dword [esp + 0x10], eax
jmp 0x51e79d
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x10]
push eax
push ebp
call fcn.004d0736
mov edx, dword [esp + 0x40]
mov ebx, eax
add esp, 8
cmp ebx, dword [esp + 0x10]
jge 0x51e949
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x50]
inc ebx
add eax, ebx
sub edx, edi
mov dword [esp + 0x44], ebx
cmp edx, eax
jl 0x51e97b
mov eax, ebx
cdq
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x50]
mov ecx, edx
mov dword [esp + 0x68], ecx
cmp ecx, dword [eax*8 + 0x5bfea4]
jg 0x51e9ac
jl 0x51e80e
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x50]
mov edx, dword [esp + 0x64]
cmp edx, dword [eax*8 + 0x5bfea0]
ja 0x51e9ac
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x50]
sub eax, 2
je 0x51e907
sub eax, 2
je 0x51e8de
sub eax, 4
je 0x51e833
mov byte [edi], bl
jmp 0x51e911
mov edi, dword [esp + 0x64]
mov eax, ebx
and eax, 0xff00
cdq
mov ebp, ecx
shld ebp, edi, 0x10
shl edi, 0x10
or eax, edi
or ebp, edx
shld ebp, eax, 0x10
shl eax, 0x10
mov edi, eax
mov eax, ebx
and eax, 0xff0000
cdq
or edi, eax
mov eax, dword [esp + 0x64]
or ebp, edx
shld ebp, edi, 0x10
xor ebx, ebx
or ebp, ebx
shl edi, 0x10
mov edx, eax
and edx, 0xff000000
or edi, edx
shld ebp, edi, 8
shl edi, 8
mov ebx, ecx
shrd eax, ecx, 0x10
and ebx, 0xff0000
mov edx, edi
xor edi, edi
or edi, eax
mov eax, dword [esp + 0x68]
shr ecx, 0x10
or ebx, ecx
shrd edi, ebx, 0x10
shr ebx, 0x10
xor ecx, ecx
or edi, ecx
movzx ecx, byte [esp + 0x68]
and eax, 0xff00
or ebx, eax
shrd edi, ebx, 0x10
shr ebx, 0x10
xor eax, eax
or ebx, ecx
or edi, eax
shrd edi, ebx, 8
shr ebx, 8
or edx, edi
mov edi, dword [esp + 0x1c]
or ebp, ebx
mov ebx, dword [esp + 0x44]
mov dword [edi + 4], ebp
mov ebp, dword [esp + 0x2c]
mov dword [edi], edx
jmp 0x51e911
mov edx, ebx
and edx, 0xff0000
mov eax, ebx
shr eax, 0x10
or edx, eax
mov ecx, ebx
shl ecx, 0x10
mov eax, ebx
and eax, 0xff00
or ecx, eax
shr edx, 8
shl ecx, 8
or edx, ecx
mov dword [edi], edx
jmp 0x51e911
mov cx, bx
rol cx, 8
mov word [edi], cx
mov edx, dword [esp + 0x14]
add edi, dword [edx + 0x50]
push ebx
push ebp
push edi
call fcn.004b3250
mov eax, dword [esp + 0x2c]
add ebp, dword [esp + 0x1c]
inc eax
add edi, ebx
add esp, 0xc
mov dword [esp + 0x1c], edi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x20], eax
cmp eax, dword [esp + 0x3c]
jl 0x51e782
jmp 0x51e9dc
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x20]
mov eax, dword [esp + 0x10]
push ecx
push edx
push edi
push eax
push ebx
push str.__string_length_error:_real_len__d__available_len__d__net_start__p__net_end__p__custom_size__u_
push 0x400
call fcn.005233e0
push eax
call fcn.004b92f1
add esp, 0x20
mov dword [esp + 0x18], 0x82010406
jmp 0x51e9dc
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x50]
push ecx
push edi
push eax
push ebx
push str.__net_buffer_NOT_enough:_real_len__d__sizeinfo_size__u__net_start__p__net_end__p_
push 0x400
call fcn.005233e0
push eax
call fcn.004b92f1
add esp, 0x1c
mov dword [esp + 0x18], 0x82010402
jmp 0x51e9dc
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x50]
mov eax, dword [edx*8 + 0x5bfea0]
push eax
push ebx
push str.__sizeinfo_numeric_overflow:_real_value__d__value_limit__u_
push 0x400
call fcn.005233e0
push eax
call fcn.004b92f1
mov dword [esp + 0x2c], 0x82010479
add esp, 0x14
test dword [esp + 0x18], 0x80000000
jne 0x51eed1
mov eax, dword [esp + 0x14]
test byte [eax + 0x44], 4
je 0x51e9fe
mov ecx, dword [eax + 0x2c]
add ecx, ecx
mov dword [esi + 0x24], ecx
jmp 0x51ea04
sub ebp, dword [esi + 0x28]
mov dword [esi + 0x24], ebp
mov ecx, dword [esp + 0x28]
cmp dword [ecx + 0x10], 0
jne 0x51ea2a
mov eax, dword [esi + 0xc]
mov edx, dword [ecx + 0x1c]
dec eax
add edx, dword [esi + 0x28]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x38]
mov dword [esi + 0x28], edx
mov dword [esp + 0x24], eax
jmp 0x51ee2f
mov eax, dword [esi + 0x10]
inc eax
mov dword [esi + 0x10], eax
cmp eax, dword [ecx + 0x2c]
jl 0x51ee2f
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 0x1c]
dec eax
add edx, dword [esi + 0x28]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x38]
mov dword [esi + 0x10], 0
mov dword [esi + 0x28], edx
mov dword [esp + 0x24], eax
jmp 0x51ee2f
cmp dword [esp + 0x34], 0x20
jge 0x51ef37
test eax, eax
jne 0x51ec9c
mov eax, dword [ebx + 0x68]
mov ecx, dword [ebx + 0x64]
add eax, edx
sub ecx, 2
je 0x51ea9f
sub ecx, 2
je 0x51ea9b
sub ecx, 4
je 0x51ea90
movzx eax, byte [eax]
jmp 0x51eaa2
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x50], ecx
jmp 0x51eaa7
mov eax, dword [eax]
jmp 0x51eaa2
movzx eax, word [eax]
cdq
mov dword [esp + 0x50], eax
mov eax, dword [ebx + 0x78]
mov ecx, dword [esp + 0x4c]
lea ebx, [eax + ecx + 0x114]
mov ecx, dword [ebx + 0x138]
mov eax, dword [esp + 0x50]
mov dword [esp + 0x54], edx
xor edx, edx
cmp ecx, dword [ebx + 0x134]
mov dword [esp + 0x28], ebx
setg dl
dec edx
sub eax, ecx
mov dword [esp + 0x20], edx
js 0x51eb0e
cmp eax, dword [ebx + 0x2c]
jge 0x51eb0e
mov ecx, eax
imul ecx, ecx, 0xb4
add ecx, ebx
mov dword [esp + 0x44], ecx
mov ecx, dword [ecx + 0x138]
cmp ecx, dword [esp + 0x50]
jne 0x51eb0a
mov edx, dword [esp + 0x44]
cmp ecx, dword [edx + 0x134]
jle 0x51ebc0
mov edx, dword [esp + 0x20]
mov eax, dword [ebx + 0x2c]
cmp eax, 0x10
jge 0x51eb60
mov dword [esp + 0x10], 0
test eax, eax
jle 0x51ebc2
lea eax, [ebx + 0x134]
jmp 0x51eb34
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x50]
cmp dword [eax + 4], ecx
jg 0x51eb41
cmp ecx, dword [eax]
jle 0x51eb5a
mov ecx, dword [esp + 0x10]
inc ecx
add eax, 0xb4
mov dword [esp + 0x10], ecx
mov dword [esp + 0x44], eax
cmp ecx, dword [ebx + 0x2c]
jl 0x51eb30
jmp 0x51ebc2
mov edx, dword [esp + 0x10]
jmp 0x51ebc2
xor ecx, ecx
dec eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x2c], eax
js 0x51ebc2
lea ecx, [ecx]
add eax, ecx
sar eax, 1
mov ecx, eax
imul ecx, ecx, 0xb4
mov edx, dword [ecx + ebx + 0x138]
mov ecx, dword [ecx + ebx + 0x134]
mov dword [esp + 0x44], ecx
cmp edx, ecx
jg 0x51ebab
mov ecx, dword [esp + 0x50]
cmp ecx, edx
jge 0x51eba5
mov ecx, dword [esp + 0x10]
dec eax
mov dword [esp + 0x2c], eax
jmp 0x51ebb6
cmp ecx, dword [esp + 0x44]
jle 0x51ebc0
lea ecx, [eax + 1]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x10], ecx
cmp ecx, eax
jle 0x51eb70
mov edx, dword [esp + 0x20]
jmp 0x51ebc2
mov edx, eax
cmp edx, 0xffffffff
je 0x51ebe3
mov eax, edx
imul eax, eax, 0xb4
mov ecx, dword [eax + ebx + 0xbc]
cmp ecx, dword [esp + 0x181c]
jle 0x51ecb0
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 0x50]
test ecx, ecx
je 0x51ec3d
cmp dword [edx + 0x54], 0xffffffff
jne 0x51ec3d
mov eax, dword [edx + 0x48]
cmp eax, dword [edx + 0x28]
jge 0x51ec3d
sub ecx, 2
je 0x51ec34
sub ecx, 2
je 0x51ec28
sub ecx, 4
je 0x51ec14
mov edx, dword [esi + 0x30]
mov byte [eax + edx], 0
jmp 0x51ec3d
mov ecx, dword [esi + 0x30]
mov dword [eax + ecx], 0
mov dword [eax + ecx + 4], 0
jmp 0x51ec3d
mov ecx, dword [esi + 0x30]
mov dword [eax + ecx], 0
jmp 0x51ec3d
mov edx, dword [esi + 0x30]
xor ecx, ecx
mov word [eax + edx], cx
mov eax, dword [esi]
cmp dword [eax + 0x10], 0
mov dword [esp + 0x28], eax
jne 0x51ec65
mov ecx, dword [esi + 0xc]
mov edx, dword [eax + 0x1c]
mov eax, dword [esi + 0x38]
dec ecx
add edx, dword [esi + 0x28]
mov dword [esi + 0xc], ecx
mov dword [esi + 0x28], edx
mov dword [esp + 0x24], eax
jmp 0x51ee2f
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
cmp ecx, dword [eax + 0x2c]
jl 0x51ee2f
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 0x1c]
dec eax
add edx, dword [esi + 0x28]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x38]
mov dword [esi + 0x10], 0
mov dword [esi + 0x28], edx
mov dword [esp + 0x24], eax
jmp 0x51ee2f
mov edx, dword [esp + 0x4c]
mov ecx, dword [ebx + 0x78]
lea ebx, [ecx + edx + 0x114]
mov dword [esp + 0x28], ebx
xor edx, edx
mov eax, dword [esp + 0x181c]
cmp dword [ebx + 0x58], eax
jg 0x51ef72
mov ecx, dword [esp + 0x3c]
inc dword [esp + 0x34]
add esi, 0xbc
mov dword [esi + 0xc], ecx
mov ecx, dword [ebx + 0x64]
mov dword [esi + 0x24], 0
mov dword [esi], ebx
mov dword [esi + 0x10], edx
mov dword [esi + 0x28], ebp
mov dword [esi + 0x30], edi
test ecx, ecx
je 0x51ed1b
cmp dword [ebx + 0x68], 0xffffffff
mov dword [esi + 0x14], ecx
je 0x51ed09
mov edx, ecx
neg edx
mov dword [esi + 0x34], edi
add edi, ecx
mov dword [esi + 0x18], edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x1c], edi
jmp 0x51ed69
mov eax, dword [ebx + 0x5c]
mov edx, dword [esp + 0x14]
lea ecx, [eax + edi]
mov dword [esi + 0x34], ecx
mov dword [esi + 0x18], eax
jmp 0x51ed69
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 0x50]
test ecx, ecx
je 0x51ed62
cmp dword [edx + 0x54], 0xffffffff
mov dword [esi + 0x14], ecx
je 0x51ed3f
mov dword [esi + 0x34], edi
add edi, ecx
neg ecx
mov dword [esp + 0x1c], edi
mov dword [esi + 0x18], ecx
jmp 0x51ed69
mov eax, dword [edx + 0x48]
mov ecx, dword [edx + 0x28]
cmp eax, ecx
jl 0x51ed55
sub eax, ecx
mov dword [esi + 0x18], eax
add eax, edi
mov dword [esi + 0x34], eax
jmp 0x51ed69
mov ecx, dword [esi - 0x8c]
add ecx, eax
mov dword [esi + 0x34], ecx
jmp 0x51ed69
mov dword [esi + 0x14], 0
mov eax, dword [esp + 0x30]
mov dword [esi + 4], edx
mov edx, dword [ebx + 0x74]
mov dword [esi + 0x30], edi
mov dword [esi + 0x2c], eax
mov dword [esi + 0x38], 1
test edx, edx
je 0x51ee21
mov ecx, dword [ebx + 0x70]
lea eax, [ecx + ebp]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x10]
cmp eax, edx
jge 0x51edd2
push edx
push ecx
mov ecx, dword [esp + 0x38]
push ecx
push ebp
push ebx
call fcn.00519cb0
add esp, 4
push eax
push str.__host_buffer_NOT_enough:_meta__s___a_pszHostBase__p___a_pszHostEnd__p___version_indicator_offset__u__and_size__u_
push 0x400
call fcn.005233e0
push eax
call fcn.004b92f1
add esp, 0x20
mov dword [esp + 0x18], 0x82010407
jmp 0x51ee21
sub edx, 2
je 0x51ee12
sub edx, 2
je 0x51ee03
sub edx, 4
je 0x51edf0
mov edx, dword [esp + 0x10]
mov al, byte [esp + 0x181c]
mov byte [edx], al
jmp 0x51ee21
mov eax, dword [esp + 0x181c]
mov ecx, dword [esp + 0x10]
cdq
mov dword [ecx], eax
mov dword [ecx + 4], edx
jmp 0x51ee21
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x181c]
mov dword [ecx], edx
jmp 0x51ee21
mov eax, dword [esp + 0x10]
mov cx, word [esp + 0x181c]
mov word [eax], cx
test dword [esp + 0x18], 0x80000000
jne 0x51efad
cmp dword [esp + 0x34], 0
jg 0x51df30
jmp 0x51f073
mov edx, dword [esi + 0xc]
mov eax, dword [esi]
push edx
push eax
call fcn.00519cb0
mov ecx, dword [esi + 4]
add esp, 4
push eax
push ecx
call fcn.0051b890
mov edx, dword [esi + 0x14]
add esp, 4
push eax
mov eax, dword [edx*8 + 0x5bfea0]
push eax
push ebx
push str.__sizeinfo_numeric_overflow:_real_value__d__value_limit__u__entry__s__meta__s__unpacked_entry_count__d_
push 0x400
call fcn.005233e0
push eax
call fcn.004b92f1
add esp, 0x20
mov dword [esp + 0x18], 0x82010479
jmp 0x51f073
mov ecx, dword [esi + 0xc]
mov edx, dword [esi]
push ecx
push edx
call fcn.00519cb0
add esp, 4
push eax
mov eax, dword [esi + 4]
push eax
call fcn.0051b890
add esp, 4
push eax
push ebx
push edi
push str.__net_buffer_NOT_enough:_pszNetStart__p__pszNetEnd__p__entry__s__meta__s__unpacked_entry_count__d_
push 0x400
call fcn.005233e0
push eax
call fcn.004b92f1
add esp, 0x20
mov dword [esp + 0x18], 0x82010402
jmp 0x51f073
push 0x400
call fcn.005233e0
push eax
call fcn.004d0736
mov ebx, eax
add esp, 8
cmp ebx, 0x400
jge 0x51eef7
mov esi, 0x400
sub esi, ebx
jmp 0x51eef9
xor esi, esi
mov ecx, dword [esp + 0x28]
push 0x19a
push str.lib_src_tdr_tdr_net.c
push ecx
call fcn.00519cb0
mov edx, dword [esp + 0x20]
add esp, 4
push eax
push edx
call fcn.0051b890
add esp, 4
push eax
push str.__entry__s__of_meta__s___s:_d
push esi
call fcn.005233e0
add eax, ebx
push eax
call fcn.004b92f1
jmp 0x51f070
mov eax, dword [esp + 0x7c]
push 0x20
push eax
call fcn.00519cb0
add esp, 4
push eax
push str.__meta__s__is_too_complex__contains_more_than__d_layers_of_children
push 0x400
call fcn.005233e0
push eax
call fcn.004b92f1
mov ecx, dword [ebx + 0x2c]
add esp, 0x14
mov dword [esp + 0x18], 0x82010404
mov dword [esi + 0x24], ecx
jmp 0x51f073
push ebx
call fcn.00519cb0
mov edx, dword [ebx + 0x58]
add esp, 4
push eax
mov eax, dword [esp + 0x1820]
push edx
push eax
push str.__invalid_cut_off_version:_expect_a_iVersion__d__NOT_less_than_min_ver__d__of_meta__s_s_versionindicator
push 0x400
call fcn.005233e0
push eax
call fcn.004b92f1
add esp, 0x18
mov dword [esp + 0x18], 0x82010401
jmp 0x51f073
push 0x400
call fcn.005233e0
push eax
call fcn.004d0736
mov esi, eax
add esp, 8
cmp esi, 0x400
jge 0x51efd3
mov eax, 0x400
sub eax, esi
jmp 0x51efd5
xor eax, eax
push 0x1df
push str.lib_src_tdr_tdr_net.c
push str.___s:_d
push eax
call fcn.005233e0
add eax, esi
push eax
call fcn.004b92f1
add esp, 0x14
jmp 0x51f073
push 0x400
call fcn.005233e0
push eax
call fcn.004d0736
add esp, 8
mov dword [esp + 0x20], eax
cmp eax, 0x400
jge 0x51f024
mov eax, 0x400
sub eax, dword [esp + 0x20]
mov dword [esp + 0x4c], eax
jmp 0x51f02c
mov dword [esp + 0x4c], 0
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00519cb0
add esp, 4
push eax
push ebx
call fcn.0051b890
mov edx, dword [ebx + 0x24]
add esp, 4
push eax
mov eax, dword [esp + 0x54]
push edx
push ebp
push str.__invalid_refer_value:_expect_refer_value__d__in__0__array_count__d___about_entry__s__of_meta__s_
push eax
call fcn.005233e0
add eax, dword [esp + 0x38]
push eax
call fcn.004b92f1
mov ecx, dword [ebx + 0x2c]
mov dword [esp + 0x34], 0x82010403
mov dword [esi + 0x24], ecx
add esp, 0x1c
mov ebx, dword [esp + 0x18]
and ebx, 0x80000000
mov eax, dword [esp + 0xac]
mov edx, dword [esp + 0x58]
mov dword [edx + 4], eax
je 0x51f0cf
mov esi, dword [esp + 0x34]
mov eax, 1
cmp esi, eax
jle 0x51f0cf
lea ecx, [esp + 0x168]
mov ebp, dword [ecx - 0x20]
test byte [ebp + 0x44], 4
jne 0x51f0bc
mov ebp, dword [ecx]
add dword [edx + 4], ebp
inc eax
add ecx, 0xbc
cmp eax, esi
jl 0x51f0a1
jmp 0x51f0cf
imul eax, eax, 0xbc
mov ecx, dword [esp + eax + 0x8c]
mov eax, dword [ecx + 0x18]
add dword [edx + 4], eax
mov eax, dword [esp + 0x40]
sub edi, dword [eax]
mov dword [eax + 4], edi
test ebx, ebx
jne 0x51f0f7
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
cmp ecx, eax
jle 0x51f0f4
mov dword [edx + 4], eax
mov eax, dword [esp + 0x18]
jmp 0x51f1a4
mov dword [edx + 4], ecx
mov eax, dword [esp + 0x18]
jmp 0x51f1a4
mov dword [esi + 4], edi
mov dword [ebp + 4], edi
push ebx
cmp dword [ebx + 8], eax
jle 0x51f128
call fcn.00519cb0
mov ecx, dword [ebx + 8]
mov edx, dword [esp + 0x1820]
add esp, 4
push eax
push ecx
push edx
push str.__invalid_parameter:_expect_a_iVersion__d__NOT_less_than_base_version__d__of_meta__s_
jmp 0x51f142
call fcn.00519cb0
mov ecx, dword [esp + 0x1820]
add esp, 4
push eax
mov eax, dword [ebx + 0x58]
push eax
push ecx
push str.__invalid_parameter:_expect_a_iVersion__d__NOT_less_than_min_ver__d__of_meta__s_s_versionindicator
push 0x400
call fcn.005233e0
push eax
call fcn.004b92f1
mov eax, 0x82010401
jmp 0x51f1a1
mov edx, dword [esi + 4]
mov ecx, dword [esi]
push edx
mov edx, dword [ebp + 4]
push ecx
push edx
push eax
push str.__invalid_parameters:_a_pstNet__pszBuff__p_NULL_or_a_pstNet__iBuff__u__0_or_a_pstHost__pszBuff__p_NULL_or_a_pstHost__iBuff__u__0
push 0x400
call fcn.005233e0
push eax
call fcn.004b92f1
add esp, 0x1c
mov eax, 0x82010468
jmp 0x51f1a4
push esi
push ebp
push ebx
push str.__invalid_parameters:_a_pstMeta__p_NULL_or_a_pstMeta__iTypeTDR_TYPE_UNION_or_a_pstNext__p_NULL_or_a_pstHost__p_NULL
push 0x400
call fcn.005233e0
push eax
call fcn.004b92f1
mov eax, 0x82010468
add esp, 0x18
mov ecx, dword [esp + 0x1808]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b303a
add esp, 0x17fc
ret