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

Disassembly:
mov eax, 0x17fc
call fcn.004b2f70
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.005232e0
mov byte [eax], 0
cmp ebx, edi
je 0x51f084
cmp dword [ebx + 0x10], edi
je 0x51f084
cmp ebp, edi
je 0x51f084
cmp esi, edi
je 0x51f084
mov eax, dword [ebp]
cmp eax, edi
je 0x51f059
cmp dword [ebp + 4], edi
jbe 0x51f059
cmp dword [esi], edi
je 0x51f059
cmp dword [esi + 4], edi
jbe 0x51f059
push ebx
call fcn.00519c70
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 0x51dc35
cmp eax, dword [ebx + 0xc]
jle 0x51dc3f
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x181c], eax
cmp dword [ebx + 8], eax
jg 0x51f000
cmp dword [ebx + 0x74], edi
jbe 0x51dc56
cmp dword [ebx + 0x58], eax
jg 0x51f000
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 0x51dcda
cmp dword [ebx + 0x68], 0xffffffff
mov dword [esp + 0x9c], eax
je 0x51dcd3
mov dword [esp + 0xbc], edi
add edi, eax
mov dword [esp + 0x1c], edi
jmp 0x51dcf1
mov eax, dword [ebx + 0x5c]
add eax, edi
jmp 0x51dcea
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 0x51ddae
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 0x51dd5f
push eax
mov eax, dword [ebx + 0x70]
push eax
push edx
push ecx
push ebx
call fcn.00519bb0
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.005232e0
push eax
call fcn.004b9211
add esp, 0x20
mov dword [esp + 0x18], 0x82010407
jmp 0x51ddaa
sub eax, 2
je 0x51dd9b
sub eax, 2
mov ecx, dword [esp + 0x10]
mov ebp, dword [esp + 0x40]
je 0x51dd90
sub eax, 4
je 0x51dd81
mov dl, byte [esp + 0x181c]
mov byte [ecx], dl
jmp 0x51ddae
mov eax, dword [esp + 0x181c]
cdq
mov dword [ecx], eax
mov dword [ecx + 4], edx
jmp 0x51ddae
mov eax, dword [esp + 0x181c]
mov dword [ecx], eax
jmp 0x51ddae
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 0x51de15
push 0x400
call fcn.005232e0
push eax
call fcn.004d0656
mov esi, eax
add esp, 8
cmp esi, 0x400
jge 0x51ddde
mov eax, 0x400
sub eax, esi
jmp 0x51dde0
xor eax, eax
push 0xfb
push str.lib_src_tdr_tdr_net.c
push str.___s:_d
push eax
call fcn.005232e0
add eax, esi
push eax
call fcn.004b9211
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 0x51f0a4
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 0x51dfcf
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x24], 0
test ecx, ecx
je 0x51df6e
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 0x51ed3f
jl 0x51de7a
cmp ebx, dword [ecx*8 + 0x5bfea0]
ja 0x51ed3f
sub ecx, 2
je 0x51df64
sub ecx, 2
je 0x51df39
sub ecx, 4
je 0x51de9b
mov edx, dword [esi + 0x34]
mov byte [edx], bl
jmp 0x51df6e
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 0x51df6e
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 0x51df6e
mov eax, dword [esi + 0x34]
rol bx, 8
mov word [eax], bx
cmp dword [esi + 0xc], 0
jle 0x51dfa0
mov ebx, dword [esp + 0x38]
cmp edi, ebx
ja 0x51ed8d
cmp dword [esi + 0x14], 0
jbe 0x51df9d
mov eax, dword [esi + 0x18]
test eax, eax
jns 0x51df98
mov dword [esi + 0x34], edi
sub edi, eax
mov dword [esp + 0x1c], edi
jmp 0x51df9d
add eax, edi
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], edi
cmp dword [esp + 0x34], 1
jle 0x51dfcf
mov eax, dword [esi + 4]
test byte [eax + 0x44], 4
je 0x51dfbb
mov ecx, dword [eax + 0x18]
add dword [esi - 0x98], ecx
jmp 0x51dfc8
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 0x51e039
mov eax, dword [esp + 0x34]
dec eax
sub esi, 0xbc
mov dword [esp + 0x34], eax
test eax, eax
jle 0x51ef73
mov eax, dword [esi]
cmp dword [eax + 0x10], 0
mov dword [esp + 0x28], eax
jne 0x51e00e
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 0x51ed2f
inc dword [esi + 0x10]
mov ecx, dword [esi + 0x10]
cmp ecx, dword [eax + 0x2c]
jl 0x51ed2f
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 0x51ed2f
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 0x51e0a5
cmp dword [edx + 0x10], 0
jne 0x51e07b
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 0x51ed2f
inc eax
mov dword [esi + 0x10], eax
cmp eax, dword [edx + 0x2c]
jl 0x51ed2f
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 0x51ed2f
movzx ecx, word [ebx + 0x44]
test cl, 2
je 0x51e0e0
cmp dword [edx + 0x10], 0
jne 0x51e0ca
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 0x51ed2f
inc eax
mov dword [esi + 0x10], eax
cmp eax, dword [edx + 0x2c]
jl 0x51ed2f
mov dword [esi + 0x10], 0
jmp 0x51e065
mov eax, dword [ebx + 0x58]
test eax, eax
je 0x51e13c
mov edx, dword [ebx + 0x5c]
add edx, dword [esi + 0x28]
sub eax, 2
je 0x51e12c
sub eax, 2
je 0x51e11d
sub eax, 4
je 0x51e10c
movzx eax, byte [edx]
cdq
mov dword [esp + 0x48], edx
mov ebp, eax
mov dword [esp + 0x3c], eax
jmp 0x51e143
mov eax, dword [edx]
mov edx, dword [edx + 4]
mov dword [esp + 0x48], edx
mov ebp, eax
mov dword [esp + 0x3c], eax
jmp 0x51e143
mov eax, dword [edx]
cdq
mov dword [esp + 0x48], edx
mov ebp, eax
mov dword [esp + 0x3c], eax
jmp 0x51e143
movzx eax, word [edx]
cdq
mov dword [esp + 0x48], edx
mov ebp, eax
mov dword [esp + 0x3c], eax
jmp 0x51e143
mov ebp, dword [ebx + 0x24]
mov dword [esp + 0x3c], ebp
test ebp, ebp
js 0x51eef7
mov eax, dword [ebx + 0x24]
cmp eax, ebp
jge 0x51e15a
test eax, eax
jg 0x51eef7
test ebp, ebp
jg 0x51e20c
mov ecx, dword [ebx + 0x50]
test ecx, ecx
je 0x51e1b5
cmp dword [ebx + 0x54], 0xffffffff
jne 0x51e1b5
mov eax, dword [ebx + 0x48]
cmp eax, dword [ebx + 0x28]
jge 0x51e1b5
sub ecx, 2
je 0x51e1ac
sub ecx, 2
je 0x51e1a0
sub ecx, 4
mov ecx, dword [esi + 0x30]
je 0x51e18f
mov byte [eax + ecx], 0
jmp 0x51e1b5
mov dword [eax + ecx], 0
mov dword [eax + ecx + 4], 0
jmp 0x51e1b5
mov edx, dword [esi + 0x30]
mov dword [eax + edx], 0
jmp 0x51e1b5
mov ecx, dword [esi + 0x30]
xor edx, edx
mov word [eax + ecx], dx
mov ecx, dword [esp + 0x28]
cmp dword [ecx + 0x10], 0
jne 0x51e1d8
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 0x51ed2f
mov eax, dword [esi + 0x10]
inc eax
mov dword [esi + 0x10], eax
cmp eax, dword [ecx + 0x2c]
jl 0x51ed2f
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 0x51ed2f
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 0x51e247
cmp dword [ebx + 8], 1
mov ebp, dword [ebp]
mov dword [esp + 0x2c], ebp
jle 0x51e235
mov eax, dword [ebx + 0x14]
add eax, ebp
jmp 0x51e24a
mov eax, dword [ebx + 0x78]
mov ecx, dword [esp + 0x4c]
mov eax, dword [eax + ecx + 0x130]
add eax, ebp
jmp 0x51e24a
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 8]
cmp eax, 1
jle 0x51e961
sub eax, 0x15
je 0x51e678
dec eax
je 0x51e444
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 0x51e2ab
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.005232e0
push eax
call fcn.004b9211
add esp, 0x1c
mov dword [esp + 0x18], 0x82010407
jmp 0x51e8dc
mov ebx, dword [ebx + 0x1c]
mov eax, dword [esp + 0x38]
mov edx, ebx
imul edx, ecx
add edx, edi
cmp edx, eax
jbe 0x51e2cb
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 0x51e88f
dec ebx
je 0x51e404
dec ebx
je 0x51e3e0
sub ebx, 2
je 0x51e3a7
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 0x51e2e6
jmp 0x51e8dc
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 0x51e3a7
mov dword [esp + 0x1c], edi
jmp 0x51e8dc
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 0x51e3e0
mov dword [esp + 0x1c], edi
jmp 0x51e8dc
cmp ecx, 0x40
jg 0x51e428
test ecx, ecx
je 0x51e8dc
mov eax, dword [esp + 0x3c]
mov cl, byte [ebp]
mov byte [edi], cl
inc edi
inc ebp
dec eax
jne 0x51e415
mov dword [esp + 0x1c], edi
jmp 0x51e8dc
push ecx
push ebp
push edi
call fcn.004b3170
mov eax, dword [esp + 0x48]
add esp, 0xc
add ebp, eax
add edi, eax
mov dword [esp + 0x1c], edi
jmp 0x51e8dc
mov dword [esp + 0x20], 0
lea esp, [esp]
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x20]
test eax, eax
jne 0x51e461
mov eax, dword [esp + 0x30]
sub eax, ebp
push eax
push ebp
mov dword [esp + 0x18], eax
call fcn.00523500
lea ebx, [eax + eax + 2]
add esp, 8
mov dword [esp + 0x44], ebx
cmp ebx, dword [esp + 0x10]
jg 0x51e633
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 0x51e651
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 0x51e664
jl 0x51e4d3
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x50]
mov edx, dword [esp + 0x5c]
cmp edx, dword [eax*8 + 0x5bfea0]
ja 0x51e664
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x50]
sub eax, 2
je 0x51e5cc
sub eax, 2
je 0x51e5a3
sub eax, 4
je 0x51e4f8
mov byte [edi], bl
jmp 0x51e5d6
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 0x51e5d6
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 0x51e5d6
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 0x51e5fc
test ebx, ebx
je 0x51e60f
mov eax, ebx
lea esp, [esp]
mov cl, byte [ebp]
mov byte [edi], cl
inc edi
inc ebp
dec eax
jne 0x51e5f0
jmp 0x51e60b
push ebx
push ebp
push edi
call fcn.004b3170
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 0x51e450
jmp 0x51e8dc
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 0x51e85e
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x50]
push eax
push edi
push edx
jmp 0x51e889
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x50]
mov edx, dword [ecx*8 + 0x5bfea0]
push edx
jmp 0x51e8bb
mov dword [esp + 0x20], 0
jmp 0x51e686
mov ebx, dword [esp + 0x14]
mov ebx, dword [ebx + 0x20]
test ebx, ebx
jne 0x51e699
mov eax, dword [esp + 0x30]
sub eax, ebp
mov dword [esp + 0x10], eax
jmp 0x51e69d
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x10]
push eax
push ebp
call fcn.004d0656
mov edx, dword [esp + 0x40]
mov ebx, eax
add esp, 8
cmp ebx, dword [esp + 0x10]
jge 0x51e849
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 0x51e87b
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 0x51e8ac
jl 0x51e70e
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x50]
mov edx, dword [esp + 0x64]
cmp edx, dword [eax*8 + 0x5bfea0]
ja 0x51e8ac
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x50]
sub eax, 2
je 0x51e807
sub eax, 2
je 0x51e7de
sub eax, 4
je 0x51e733
mov byte [edi], bl
jmp 0x51e811
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 0x51e811
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 0x51e811
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.004b3170
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 0x51e682
jmp 0x51e8dc
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.005232e0
push eax
call fcn.004b9211
add esp, 0x20
mov dword [esp + 0x18], 0x82010406
jmp 0x51e8dc
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.005232e0
push eax
call fcn.004b9211
add esp, 0x1c
mov dword [esp + 0x18], 0x82010402
jmp 0x51e8dc
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.005232e0
push eax
call fcn.004b9211
mov dword [esp + 0x2c], 0x82010479
add esp, 0x14
test dword [esp + 0x18], 0x80000000
jne 0x51edd1
mov eax, dword [esp + 0x14]
test byte [eax + 0x44], 4
je 0x51e8fe
mov ecx, dword [eax + 0x2c]
add ecx, ecx
mov dword [esi + 0x24], ecx
jmp 0x51e904
sub ebp, dword [esi + 0x28]
mov dword [esi + 0x24], ebp
mov ecx, dword [esp + 0x28]
cmp dword [ecx + 0x10], 0
jne 0x51e92a
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 0x51ed2f
mov eax, dword [esi + 0x10]
inc eax
mov dword [esi + 0x10], eax
cmp eax, dword [ecx + 0x2c]
jl 0x51ed2f
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 0x51ed2f
cmp dword [esp + 0x34], 0x20
jge 0x51ee37
test eax, eax
jne 0x51eb9c
mov eax, dword [ebx + 0x68]
mov ecx, dword [ebx + 0x64]
add eax, edx
sub ecx, 2
je 0x51e99f
sub ecx, 2
je 0x51e99b
sub ecx, 4
je 0x51e990
movzx eax, byte [eax]
jmp 0x51e9a2
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x50], ecx
jmp 0x51e9a7
mov eax, dword [eax]
jmp 0x51e9a2
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 0x51ea0e
cmp eax, dword [ebx + 0x2c]
jge 0x51ea0e
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 0x51ea0a
mov edx, dword [esp + 0x44]
cmp ecx, dword [edx + 0x134]
jle 0x51eac0
mov edx, dword [esp + 0x20]
mov eax, dword [ebx + 0x2c]
cmp eax, 0x10
jge 0x51ea60
mov dword [esp + 0x10], 0
test eax, eax
jle 0x51eac2
lea eax, [ebx + 0x134]
jmp 0x51ea34
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x50]
cmp dword [eax + 4], ecx
jg 0x51ea41
cmp ecx, dword [eax]
jle 0x51ea5a
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 0x51ea30
jmp 0x51eac2
mov edx, dword [esp + 0x10]
jmp 0x51eac2
xor ecx, ecx
dec eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x2c], eax
js 0x51eac2
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 0x51eaab
mov ecx, dword [esp + 0x50]
cmp ecx, edx
jge 0x51eaa5
mov ecx, dword [esp + 0x10]
dec eax
mov dword [esp + 0x2c], eax
jmp 0x51eab6
cmp ecx, dword [esp + 0x44]
jle 0x51eac0
lea ecx, [eax + 1]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x10], ecx
cmp ecx, eax
jle 0x51ea70
mov edx, dword [esp + 0x20]
jmp 0x51eac2
mov edx, eax
cmp edx, 0xffffffff
je 0x51eae3
mov eax, edx
imul eax, eax, 0xb4
mov ecx, dword [eax + ebx + 0xbc]
cmp ecx, dword [esp + 0x181c]
jle 0x51ebb0
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 0x50]
test ecx, ecx
je 0x51eb3d
cmp dword [edx + 0x54], 0xffffffff
jne 0x51eb3d
mov eax, dword [edx + 0x48]
cmp eax, dword [edx + 0x28]
jge 0x51eb3d
sub ecx, 2
je 0x51eb34
sub ecx, 2
je 0x51eb28
sub ecx, 4
je 0x51eb14
mov edx, dword [esi + 0x30]
mov byte [eax + edx], 0
jmp 0x51eb3d
mov ecx, dword [esi + 0x30]
mov dword [eax + ecx], 0
mov dword [eax + ecx + 4], 0
jmp 0x51eb3d
mov ecx, dword [esi + 0x30]
mov dword [eax + ecx], 0
jmp 0x51eb3d
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 0x51eb65
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 0x51ed2f
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
cmp ecx, dword [eax + 0x2c]
jl 0x51ed2f
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 0x51ed2f
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 0x51ee72
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 0x51ec1b
cmp dword [ebx + 0x68], 0xffffffff
mov dword [esi + 0x14], ecx
je 0x51ec09
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 0x51ec69
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 0x51ec69
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 0x50]
test ecx, ecx
je 0x51ec62
cmp dword [edx + 0x54], 0xffffffff
mov dword [esi + 0x14], ecx
je 0x51ec3f
mov dword [esi + 0x34], edi
add edi, ecx
neg ecx
mov dword [esp + 0x1c], edi
mov dword [esi + 0x18], ecx
jmp 0x51ec69
mov eax, dword [edx + 0x48]
mov ecx, dword [edx + 0x28]
cmp eax, ecx
jl 0x51ec55
sub eax, ecx
mov dword [esi + 0x18], eax
add eax, edi
mov dword [esi + 0x34], eax
jmp 0x51ec69
mov ecx, dword [esi - 0x8c]
add ecx, eax
mov dword [esi + 0x34], ecx
jmp 0x51ec69
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 0x51ed21
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 0x51ecd2
push edx
push ecx
mov ecx, dword [esp + 0x38]
push ecx
push ebp
push ebx
call fcn.00519bb0
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.005232e0
push eax
call fcn.004b9211
add esp, 0x20
mov dword [esp + 0x18], 0x82010407
jmp 0x51ed21
sub edx, 2
je 0x51ed12
sub edx, 2
je 0x51ed03
sub edx, 4
je 0x51ecf0
mov edx, dword [esp + 0x10]
mov al, byte [esp + 0x181c]
mov byte [edx], al
jmp 0x51ed21
mov eax, dword [esp + 0x181c]
mov ecx, dword [esp + 0x10]
cdq
mov dword [ecx], eax
mov dword [ecx + 4], edx
jmp 0x51ed21
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x181c]
mov dword [ecx], edx
jmp 0x51ed21
mov eax, dword [esp + 0x10]
mov cx, word [esp + 0x181c]
mov word [eax], cx
test dword [esp + 0x18], 0x80000000
jne 0x51eead
cmp dword [esp + 0x34], 0
jg 0x51de30
jmp 0x51ef73
mov edx, dword [esi + 0xc]
mov eax, dword [esi]
push edx
push eax
call fcn.00519bb0
mov ecx, dword [esi + 4]
add esp, 4
push eax
push ecx
call fcn.0051b790
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.005232e0
push eax
call fcn.004b9211
add esp, 0x20
mov dword [esp + 0x18], 0x82010479
jmp 0x51ef73
mov ecx, dword [esi + 0xc]
mov edx, dword [esi]
push ecx
push edx
call fcn.00519bb0
add esp, 4
push eax
mov eax, dword [esi + 4]
push eax
call fcn.0051b790
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.005232e0
push eax
call fcn.004b9211
add esp, 0x20
mov dword [esp + 0x18], 0x82010402
jmp 0x51ef73
push 0x400
call fcn.005232e0
push eax
call fcn.004d0656
mov ebx, eax
add esp, 8
cmp ebx, 0x400
jge 0x51edf7
mov esi, 0x400
sub esi, ebx
jmp 0x51edf9
xor esi, esi
mov ecx, dword [esp + 0x28]
push 0x19a
push str.lib_src_tdr_tdr_net.c
push ecx
call fcn.00519bb0
mov edx, dword [esp + 0x20]
add esp, 4
push eax
push edx
call fcn.0051b790
add esp, 4
push eax
push str.__entry__s__of_meta__s___s:_d
push esi
call fcn.005232e0
add eax, ebx
push eax
call fcn.004b9211
jmp 0x51ef70
mov eax, dword [esp + 0x7c]
push 0x20
push eax
call fcn.00519bb0
add esp, 4
push eax
push str.__meta__s__is_too_complex__contains_more_than__d_layers_of_children
push 0x400
call fcn.005232e0
push eax
call fcn.004b9211
mov ecx, dword [ebx + 0x2c]
add esp, 0x14
mov dword [esp + 0x18], 0x82010404
mov dword [esi + 0x24], ecx
jmp 0x51ef73
push ebx
call fcn.00519bb0
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.005232e0
push eax
call fcn.004b9211
add esp, 0x18
mov dword [esp + 0x18], 0x82010401
jmp 0x51ef73
push 0x400
call fcn.005232e0
push eax
call fcn.004d0656
mov esi, eax
add esp, 8
cmp esi, 0x400
jge 0x51eed3
mov eax, 0x400
sub eax, esi
jmp 0x51eed5
xor eax, eax
push 0x1df
push str.lib_src_tdr_tdr_net.c
push str.___s:_d
push eax
call fcn.005232e0
add eax, esi
push eax
call fcn.004b9211
add esp, 0x14
jmp 0x51ef73
push 0x400
call fcn.005232e0
push eax
call fcn.004d0656
add esp, 8
mov dword [esp + 0x20], eax
cmp eax, 0x400
jge 0x51ef24
mov eax, 0x400
sub eax, dword [esp + 0x20]
mov dword [esp + 0x4c], eax
jmp 0x51ef2c
mov dword [esp + 0x4c], 0
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00519bb0
add esp, 4
push eax
push ebx
call fcn.0051b790
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.005232e0
add eax, dword [esp + 0x38]
push eax
call fcn.004b9211
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 0x51efcf
mov esi, dword [esp + 0x34]
mov eax, 1
cmp esi, eax
jle 0x51efcf
lea ecx, [esp + 0x168]
mov ebp, dword [ecx - 0x20]
test byte [ebp + 0x44], 4
jne 0x51efbc
mov ebp, dword [ecx]
add dword [edx + 4], ebp
inc eax
add ecx, 0xbc
cmp eax, esi
jl 0x51efa1
jmp 0x51efcf
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 0x51eff7
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
cmp ecx, eax
jle 0x51eff4
mov dword [edx + 4], eax
mov eax, dword [esp + 0x18]
jmp 0x51f0a4
mov dword [edx + 4], ecx
mov eax, dword [esp + 0x18]
jmp 0x51f0a4
mov dword [esi + 4], edi
mov dword [ebp + 4], edi
push ebx
cmp dword [ebx + 8], eax
jle 0x51f028
call fcn.00519bb0
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 0x51f042
call fcn.00519bb0
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.005232e0
push eax
call fcn.004b9211
mov eax, 0x82010401
jmp 0x51f0a1
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.005232e0
push eax
call fcn.004b9211
add esp, 0x1c
mov eax, 0x82010468
jmp 0x51f0a4
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.005232e0
push eax
call fcn.004b9211
mov eax, 0x82010468
add esp, 0x18
mov ecx, dword [esp + 0x1808]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b2f5a
add esp, 0x17fc
ret