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

Disassembly:
mov eax, 0x17f4
call fcn.100541e0
mov eax, dword [0x100a8810]
xor eax, esp
mov dword [esp + 0x17f0], eax
push ebx
push ebp
mov ebp, dword [esp + 0x1800]
push esi
mov esi, dword [esp + 0x180c]
push edi
mov edi, dword [esp + 0x180c]
xor ebx, ebx
mov dword [esp + 0x74], ebp
mov dword [esp + 0x44], edi
mov dword [esp + 0x58], esi
mov dword [esp + 0x18], ebx
call fcn.100849e0
mov byte [eax], bl
cmp ebp, ebx
je 0x1008098a
cmp dword [ebp + 0x10], ebx
je 0x1008098a
cmp edi, ebx
je 0x1008098a
cmp esi, ebx
je 0x1008098a
mov edi, dword [edi]
cmp edi, ebx
je 0x1008095b
mov eax, dword [esp + 0x44]
cmp dword [eax + 4], ebx
jbe 0x1008095b
mov edx, dword [esi]
cmp edx, ebx
je 0x1008095b
mov ecx, dword [esi + 4]
cmp ecx, ebx
jbe 0x1008095b
mov esi, dword [esp + 0x1814]
cmp esi, ebx
je 0x1007f5e7
cmp esi, dword [ebp + 0xc]
jle 0x1007f5f3
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x1814], eax
mov esi, eax
cmp dword [ebp + 8], esi
jg 0x10080908
cmp dword [ebp + 0x74], ebx
jbe 0x1007f60a
cmp dword [ebp + 0x58], esi
jg 0x10080908
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 4]
add eax, edi
mov dword [esp + 0x30], eax
mov eax, ebp
sub eax, dword [ebp + 0x3c]
add ecx, edx
sub eax, 0x114
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0x64]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x28], ebp
lea esi, [esp + 0x80]
mov dword [esp + 0x80], ebp
mov dword [esp + 0x8c], 1
mov dword [esp + 0x90], ebx
mov dword [esp + 0xa8], edx
mov dword [esp + 0xac], ecx
cmp eax, ebx
jbe 0x1007f68e
cmp dword [ebp + 0x68], 0xffffffff
mov dword [esp + 0x94], eax
je 0x1007f680
mov dword [esp + 0xb4], edi
add edi, eax
mov dword [esp + 0x1c], edi
jmp 0x1007f6a3
mov eax, dword [ebp + 0x5c]
add eax, edi
mov dword [esp + 0xb4], eax
jmp 0x1007f6a3
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb0], edi
mov dword [esp + 0xb8], 1
mov dword [esp + 0xa4], ebx
cmp dword [ebp + 0x74], ebx
jbe 0x1007f75f
mov eax, dword [ebp + 0x70]
add eax, edx
mov ebx, ecx
sub ebx, eax
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x74]
cmp ebx, eax
jge 0x1007f70c
push eax
mov eax, dword [ebp + 0x70]
push eax
push ecx
push edx
push ebp
call fcn.1007c300
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.100849e0
push eax
call fcn.10057b1a
add esp, 0x20
mov dword [esp + 0x18], 0x82010407
jmp 0x1007f75d
sub eax, 2
je 0x1007f74e
sub eax, 2
je 0x1007f73f
xor ebx, ebx
sub eax, 4
je 0x1007f72c
mov cl, byte [esp + 0x1814]
mov edx, dword [esp + 0x10]
mov byte [edx], cl
jmp 0x1007f75f
mov eax, dword [esp + 0x1814]
mov ecx, dword [esp + 0x10]
cdq
mov dword [ecx], eax
mov dword [ecx + 4], edx
jmp 0x1007f75f
mov eax, dword [esp + 0x1814]
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
jmp 0x1007f75d
mov dx, word [esp + 0x1814]
mov eax, dword [esp + 0x10]
mov word [eax], dx
xor ebx, ebx
mov ebp, dword [esp + 0x18]
test ebp, ebp
jns 0x1007f7c4
push 0x400
call fcn.100849e0
push eax
call fcn.1005e2b0
mov esi, eax
add esp, 8
cmp esi, 0x400
jge 0x1007f78d
mov eax, 0x400
sub eax, esi
jmp 0x1007f78f
xor eax, eax
push 0xe9
push str.lib_src_tdr_tdr_net.c
push str.___s:_d
push eax
call fcn.100849e0
add eax, esi
push eax
call fcn.10057b1a
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x58]
mov dword [ecx + 4], ebx
add esp, 0x14
mov dword [edx + 4], ebx
mov eax, ebp
jmp 0x100809aa
mov dword [esp + 0x38], 1
mov dword [esp + 0x84], ebx
mov dword [esp + 0x24], ebx
jmp 0x1007f7e0
cmp dword [esp + 0x24], 0
je 0x1007f97e
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x24], 0
test ecx, ecx
jbe 0x1007f91f
mov eax, edi
sub eax, dword [esi + 0x30]
cdq
cmp edx, dword [ecx*8 + 0x100a9ddc]
mov ebx, eax
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], edx
jg 0x1008065a
jl 0x1007f82a
cmp ebx, dword [ecx*8 + 0x100a9dd8]
ja 0x1008065a
sub ecx, 2
je 0x1007f915
sub ecx, 2
je 0x1007f8ea
sub ecx, 4
je 0x1007f84b
mov eax, dword [esi + 0x34]
mov byte [eax], bl
jmp 0x1007f91f
mov edi, ebx
mov ebp, edx
shrd edi, ebp, 0x10
mov eax, edx
and eax, 0xff0000
xor ecx, ecx
or ecx, edi
shr ebp, 0x10
or eax, ebp
shrd ecx, eax, 0x10
shr eax, 0x10
mov ebp, edx
xor edi, edi
or ecx, edi
and ebp, 0xff00
or eax, ebp
movzx ebp, byte [esp + 0x70]
shrd ecx, eax, 0x10
shr eax, 0x10
or eax, ebp
or ecx, edi
shrd ecx, eax, 8
shr eax, 8
mov edi, eax
mov eax, ebx
shld edx, eax, 0x10
shl eax, 0x10
and ebx, 0xff00
or eax, ebx
mov ebx, dword [esp + 0x6c]
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
shld edx, ebx, 8
shl ebx, 8
or ecx, ebx
or edi, edx
mov dword [eax], ecx
mov dword [eax + 4], edi
mov edi, dword [esp + 0x1c]
jmp 0x1007f91f
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 0x1007f91f
mov eax, dword [esi + 0x34]
rol bx, 8
mov word [eax], bx
cmp dword [esi + 0xc], 0
jle 0x1007f94f
cmp edi, dword [esp + 0x30]
ja 0x100806a8
cmp dword [esi + 0x14], 0
jbe 0x1007f94c
mov eax, dword [esi + 0x18]
test eax, eax
jge 0x1007f947
mov dword [esi + 0x34], edi
sub edi, eax
mov dword [esp + 0x1c], edi
jmp 0x1007f94c
add eax, edi
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], edi
cmp dword [esp + 0x38], 1
jle 0x1007f97e
mov eax, dword [esi + 4]
test byte [eax + 0x44], 4
je 0x1007f96a
mov ecx, dword [eax + 0x18]
add dword [esi - 0x98], ecx
jmp 0x1007f977
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 0x1007f9e8
mov eax, dword [esp + 0x38]
dec eax
sub esi, 0xbc
mov dword [esp + 0x38], eax
test eax, eax
jle 0x10080895
mov eax, dword [esi]
cmp dword [eax + 0x10], 0
mov dword [esp + 0x28], eax
jne 0x1007f9bd
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 0x1008064a
inc dword [esi + 0x10]
mov ecx, dword [esi + 0x10]
cmp ecx, dword [eax + 0x2c]
jl 0x1008064a
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 0x1008064a
mov edx, dword [esi + 0x10]
mov ecx, dword [esp + 0x28]
mov eax, edx
imul eax, eax, 0xb4
lea ebx, [eax + ecx + 0xb8]
mov eax, dword [esp + 0x1814]
cmp dword [ebx + 4], eax
mov dword [esp + 0x14], ebx
jle 0x1007fa5b
mov eax, ecx
cmp dword [eax + 0x10], 0
jne 0x1007fa2c
mov ecx, dword [eax + 0x1c]
mov edx, dword [esi + 0x38]
dec ebp
add dword [esi + 0x28], ecx
mov dword [esi + 0xc], ebp
mov dword [esp + 0x24], edx
jmp 0x1008064a
lea ecx, [edx + 1]
cmp ecx, dword [eax + 0x2c]
mov dword [esi + 0x10], ecx
jl 0x1008064a
mov ecx, dword [esi + 0xc]
mov eax, dword [eax + 0x1c]
dec ecx
add dword [esi + 0x28], eax
mov dword [esi + 0xc], ecx
mov ecx, dword [esi + 0x38]
mov dword [esi + 0x10], 0
mov dword [esp + 0x24], ecx
jmp 0x1008064a
movzx ecx, word [ebx + 0x44]
test cl, 2
je 0x1007fab3
mov eax, dword [esp + 0x28]
cmp dword [eax + 0x10], 0
jne 0x1007fa84
mov edx, dword [eax + 0x1c]
mov eax, dword [esi + 0x38]
dec ebp
add dword [esi + 0x28], edx
mov dword [esi + 0xc], ebp
mov dword [esp + 0x24], eax
jmp 0x1008064a
lea ecx, [edx + 1]
cmp ecx, dword [eax + 0x2c]
mov dword [esi + 0x10], ecx
jl 0x1008064a
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x38]
dec ecx
mov dword [esi + 0xc], ecx
mov ecx, dword [eax + 0x1c]
add dword [esi + 0x28], ecx
mov dword [esi + 0x10], 0
mov dword [esp + 0x24], edx
jmp 0x1008064a
mov eax, dword [ebx + 0x58]
test eax, eax
jbe 0x1007fb0f
mov edx, dword [ebx + 0x5c]
add edx, dword [esi + 0x28]
sub eax, 2
je 0x1007faff
sub eax, 2
je 0x1007faf0
sub eax, 4
je 0x1007fadf
movzx eax, byte [edx]
cdq
mov ebp, eax
mov dword [esp + 0x4c], edx
mov dword [esp + 0x3c], ebp
jmp 0x1007fb18
mov eax, dword [edx]
mov edx, dword [edx + 4]
mov ebp, eax
mov dword [esp + 0x4c], edx
mov dword [esp + 0x3c], ebp
jmp 0x1007fb18
mov eax, dword [edx]
cdq
mov ebp, eax
mov dword [esp + 0x4c], edx
mov dword [esp + 0x3c], ebp
jmp 0x1007fb18
movzx eax, word [edx]
cdq
mov ebp, eax
mov dword [esp + 0x4c], edx
mov dword [esp + 0x3c], ebp
jmp 0x1007fb18
mov eax, dword [ebx + 0x24]
mov dword [esp + 0x3c], eax
mov ebp, eax
test ebp, ebp
jl 0x10080819
mov eax, dword [ebx + 0x24]
cmp eax, ebp
jge 0x1007fb2f
test eax, eax
jg 0x10080819
test ebp, ebp
jg 0x1007fb86
mov ecx, dword [esp + 0x28]
cmp dword [ecx + 0x10], 0
jne 0x1007fb56
mov eax, dword [esi + 0xc]
mov ecx, dword [ecx + 0x1c]
mov edx, dword [esi + 0x38]
dec eax
add dword [esi + 0x28], ecx
mov dword [esi + 0xc], eax
mov dword [esp + 0x24], edx
jmp 0x1008064a
mov eax, dword [esi + 0x10]
inc eax
cmp eax, dword [ecx + 0x2c]
mov dword [esi + 0x10], eax
jl 0x1008064a
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 [esi + 0x10], 0
mov dword [esp + 0x24], ecx
jmp 0x1008064a
mov edx, dword [esi + 0x28]
mov ebp, dword [ebx + 0x2c]
add ebp, edx
mov dword [esp + 0x2c], ebp
test cl, 4
je 0x1007fbbd
cmp dword [ebx + 8], 1
mov ebp, dword [ebp]
mov dword [esp + 0x2c], ebp
jle 0x1007fbab
mov eax, dword [ebx + 0x14]
add eax, ebp
jmp 0x1007fbc0
mov eax, dword [ebx + 0x78]
mov ecx, dword [esp + 0x40]
mov eax, dword [eax + ecx + 0x130]
add eax, ebp
jmp 0x1007fbc0
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 8]
cmp eax, 1
jle 0x100802e5
sub eax, 0x15
je 0x1007fffa
sub eax, 1
je 0x1007fdc9
mov ecx, dword [ebx + 0x18]
mov eax, dword [esp + 0x3c]
mov edx, ecx
imul edx, eax
add edx, ebp
cmp edx, dword [esp + 0x34]
jbe 0x1007fc23
push eax
mov eax, dword [esp + 0x38]
push ecx
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.100849e0
push eax
call fcn.10057b1a
add esp, 0x1c
mov dword [esp + 0x18], 0x82010407
jmp 0x10080260
mov ebx, dword [ebx + 0x1c]
mov ecx, ebx
imul ecx, eax
add ecx, edi
cmp ecx, dword [esp + 0x30]
jbe 0x1007fc45
mov edx, dword [esp + 0x30]
push eax
push ebx
push edx
push edi
push str.__net_buffer_NOT_enough:_net_start__p__net_end__p__unit_size__u__count__d_
jmp 0x10080213
sub ebx, 1
je 0x1007fd87
sub ebx, 1
je 0x1007fd60
sub ebx, 2
je 0x1007fd22
mov dword [esp + 0x20], eax
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 edx, ebx
mov edi, eax
shl ecx, 0x10
and edi, 0xff000000
or ecx, edi
shld edx, ecx, 8
mov ebx, edx
mov edx, ebp
shrd eax, edx, 0x10
shr edx, 0x10
and edx, 0xff
xor eax, eax
mov dword [esp + 0x7c], ebp
xor edi, edi
or eax, edi
and ebp, 0xff00
or edx, ebp
movzx ebp, byte [esp + 0x7c]
shrd eax, edx, 0x10
shr edx, 0x10
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
sub dword [esp + 0x20], 1
mov dword [esp + 0x1c], edi
mov dword [esp + 0x2c], ebp
jne 0x1007fc64
jmp 0x10080260
mov ecx, eax
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
sub ecx, 1
jne 0x1007fd24
mov dword [esp + 0x1c], edi
jmp 0x10080260
movzx cx, byte [ebp + 1]
mov dx, word [ebp]
shl dx, 8
or cx, dx
mov word [edi], cx
add edi, 2
add ebp, 2
sub eax, 1
jne 0x1007fd60
mov dword [esp + 0x1c], edi
jmp 0x10080260
cmp eax, 0x40
jg 0x1007fdad
test eax, eax
jbe 0x10080260
mov eax, dword [esp + 0x3c]
mov cl, byte [ebp]
mov byte [edi], cl
inc edi
inc ebp
sub eax, 1
jne 0x1007fd98
mov dword [esp + 0x1c], edi
jmp 0x10080260
push eax
push ebp
push edi
call fcn.10054640
mov eax, dword [esp + 0x48]
add esp, 0xc
add ebp, eax
add edi, eax
mov dword [esp + 0x1c], edi
jmp 0x10080260
mov dword [esp + 0x20], 0
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x20]
test eax, eax
jne 0x1007fde2
mov eax, dword [esp + 0x34]
sub eax, ebp
push eax
push ebp
mov dword [esp + 0x18], eax
call fcn.10084c00
lea ebx, [eax + eax + 2]
add esp, 8
cmp ebx, dword [esp + 0x10]
mov dword [esp + 0x48], ebx
jg 0x1007ffb5
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x50]
mov edx, dword [esp + 0x30]
add eax, ebx
sub edx, edi
cmp edx, eax
jl 0x1007ffd3
mov eax, ebx
cdq
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x50]
mov ecx, edx
cmp ecx, dword [eax*8 + 0x100a9ddc]
mov dword [esp + 0x68], ecx
jg 0x1007ffe6
jl 0x1007fe54
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x50]
mov edx, dword [esp + 0x64]
cmp edx, dword [eax*8 + 0x100a9dd8]
ja 0x1007ffe6
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x50]
sub eax, 2
je 0x1007ff4f
sub eax, 2
je 0x1007ff26
sub eax, 4
je 0x1007fe79
mov byte [edi], bl
jmp 0x1007ff59
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 edx, ebp
shld edx, eax, 0x10
shl eax, 0x10
mov edi, eax
mov eax, ebx
and eax, 0xff0000
mov ebp, edx
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 + 0x48]
mov dword [edi + 4], ebp
mov ebp, dword [esp + 0x2c]
mov dword [edi], edx
jmp 0x1007ff59
mov edx, ebx
shl edx, 0x10
mov eax, ebx
and eax, 0xff00
or edx, eax
mov ecx, ebx
and ecx, 0xff0000
mov eax, ebx
shr eax, 0x10
or ecx, eax
shl edx, 8
shr ecx, 8
or edx, ecx
mov dword [edi], edx
jmp 0x1007ff59
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 0x1007ff7e
test ebx, ebx
jbe 0x1007ff91
mov eax, ebx
nop
mov cl, byte [ebp]
mov byte [edi], cl
inc edi
inc ebp
sub eax, 1
jne 0x1007ff70
jmp 0x1007ff8d
push ebx
push ebp
push edi
call fcn.10054640
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
cmp eax, dword [esp + 0x3c]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x20], eax
jl 0x1007fdd1
jmp 0x10080260
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x20]
mov ecx, dword [esp + 0x30]
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 0x100801e2
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x50]
push eax
push edi
push edx
jmp 0x1008020d
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x50]
mov edx, dword [ecx*8 + 0x100a9dd8]
push edx
jmp 0x1008023f
mov dword [esp + 0x20], 0
jmp 0x10080008
mov ebx, dword [esp + 0x14]
mov ebx, dword [ebx + 0x20]
test ebx, ebx
jne 0x1008001b
mov eax, dword [esp + 0x34]
sub eax, ebp
mov dword [esp + 0x10], eax
jmp 0x1008001f
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x10]
push eax
push ebp
call fcn.1005e2b0
mov edx, dword [esp + 0x38]
mov ebx, eax
add esp, 8
cmp ebx, dword [esp + 0x10]
jge 0x100801cd
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x50]
inc ebx
add eax, ebx
sub edx, edi
cmp edx, eax
mov dword [esp + 0x48], ebx
jl 0x100801ff
mov eax, ebx
cdq
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x50]
mov ecx, edx
cmp ecx, dword [eax*8 + 0x100a9ddc]
mov dword [esp + 0x60], ecx
jg 0x10080230
jl 0x10080090
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x50]
mov edx, dword [esp + 0x5c]
cmp edx, dword [eax*8 + 0x100a9dd8]
ja 0x10080230
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x50]
sub eax, 2
je 0x1008018b
sub eax, 2
je 0x10080162
sub eax, 4
je 0x100800b5
mov byte [edi], bl
jmp 0x10080195
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 edx, ebp
shld edx, eax, 0x10
shl eax, 0x10
mov edi, eax
mov eax, ebx
and eax, 0xff0000
mov ebp, edx
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 + 0x48]
mov dword [edi + 4], ebp
mov ebp, dword [esp + 0x2c]
mov dword [edi], edx
jmp 0x10080195
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 0x10080195
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.10054640
mov eax, dword [esp + 0x2c]
add ebp, dword [esp + 0x1c]
inc eax
add edi, ebx
add esp, 0xc
cmp eax, dword [esp + 0x3c]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x20], eax
jl 0x10080004
jmp 0x10080260
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.100849e0
push eax
call fcn.10057b1a
add esp, 0x20
mov dword [esp + 0x18], 0x82010406
jmp 0x10080260
mov ecx, dword [esp + 0x30]
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.100849e0
push eax
call fcn.10057b1a
add esp, 0x1c
mov dword [esp + 0x18], 0x82010402
jmp 0x10080260
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x50]
mov eax, dword [edx*8 + 0x100a9dd8]
push eax
push ebx
push str.__sizeinfo_numeric_overflow:_real_value__d__value_limit__u_
push 0x400
call fcn.100849e0
push eax
call fcn.10057b1a
mov dword [esp + 0x2c], 0x82010479
add esp, 0x14
test dword [esp + 0x18], 0x80000000
jne 0x100806f0
mov eax, dword [esp + 0x14]
test byte [eax + 0x44], 4
je 0x10080282
mov ecx, dword [eax + 0x2c]
add ecx, ecx
mov dword [esi + 0x24], ecx
jmp 0x10080288
sub ebp, dword [esi + 0x28]
mov dword [esi + 0x24], ebp
mov ecx, dword [esp + 0x28]
cmp dword [ecx + 0x10], 0
jne 0x100802ae
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 0x1008064a
mov eax, dword [esi + 0x10]
inc eax
cmp eax, dword [ecx + 0x2c]
mov dword [esi + 0x10], eax
jl 0x1008064a
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 0x1008064a
cmp dword [esp + 0x38], 0x20
jge 0x10080756
test eax, eax
jne 0x100804bd
mov eax, dword [ebx + 0x68]
mov ecx, dword [ebx + 0x64]
add eax, edx
sub ecx, 2
je 0x10080323
sub ecx, 2
je 0x1008031f
sub ecx, 4
je 0x10080314
movzx eax, byte [eax]
jmp 0x10080326
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x50], ecx
jmp 0x1008032b
mov eax, dword [eax]
jmp 0x10080326
movzx eax, word [eax]
cdq
mov dword [esp + 0x50], eax
mov eax, dword [ebx + 0x78]
mov ecx, dword [esp + 0x40]
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 0x10080393
cmp eax, dword [ebx + 0x2c]
jge 0x10080393
mov edx, eax
imul edx, edx, 0xb4
lea ecx, [edx + ebx]
mov dword [esp + 0x48], ecx
mov ecx, dword [ecx + 0x138]
cmp ecx, dword [esp + 0x50]
jne 0x1008038f
mov edx, dword [esp + 0x48]
cmp ecx, dword [edx + 0x134]
jle 0x10080443
mov edx, dword [esp + 0x20]
mov eax, dword [ebx + 0x2c]
cmp eax, 0x10
jge 0x100803e3
mov dword [esp + 0x10], 0
test eax, eax
jle 0x10080445
lea eax, [ebx + 0x134]
jmp 0x100803b7
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x50]
cmp dword [eax + 4], ecx
jg 0x100803c4
cmp ecx, dword [eax]
jle 0x100803dd
mov ecx, dword [esp + 0x10]
inc ecx
add eax, 0xb4
cmp ecx, dword [ebx + 0x2c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x48], eax
jl 0x100803b3
jmp 0x10080445
mov edx, dword [esp + 0x10]
jmp 0x10080445
xor ecx, ecx
add eax, 0xffffffff
mov dword [esp + 0x10], ecx
mov dword [esp + 0x2c], eax
js 0x10080445
add eax, ecx
sar eax, 1
mov ecx, eax
imul ecx, ecx, 0xb4
mov edx, dword [ecx + ebx + 0x138]
add ecx, ebx
mov ecx, dword [ecx + 0x134]
cmp edx, ecx
mov dword [esp + 0x48], ecx
jg 0x1008042e
mov ecx, dword [esp + 0x50]
cmp ecx, edx
jge 0x10080428
mov ecx, dword [esp + 0x10]
dec eax
mov dword [esp + 0x2c], eax
jmp 0x10080439
cmp ecx, dword [esp + 0x48]
jle 0x10080443
lea ecx, [eax + 1]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x10], ecx
cmp ecx, eax
jle 0x100803f2
mov edx, dword [esp + 0x20]
jmp 0x10080445
mov edx, eax
cmp edx, 0xffffffff
je 0x10080462
mov eax, edx
imul eax, eax, 0xb4
mov ecx, dword [eax + ebx + 0xbc]
cmp ecx, dword [esp + 0x1814]
jle 0x100804d1
mov eax, dword [esi]
cmp dword [eax + 0x10], 0
mov dword [esp + 0x28], eax
jne 0x1008048a
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 0x1008064a
mov ecx, dword [esi + 0x10]
inc ecx
cmp ecx, dword [eax + 0x2c]
mov dword [esi + 0x10], ecx
jl 0x1008064a
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x38]
dec ecx
mov dword [esi + 0xc], ecx
mov ecx, dword [eax + 0x1c]
add ecx, dword [esi + 0x28]
mov dword [esi + 0x10], 0
mov dword [esi + 0x28], ecx
mov dword [esp + 0x24], edx
jmp 0x1008064a
mov eax, dword [ebx + 0x78]
mov ecx, dword [esp + 0x40]
lea ebx, [eax + ecx + 0x114]
mov dword [esp + 0x28], ebx
xor edx, edx
mov eax, dword [esp + 0x1814]
cmp dword [ebx + 0x58], eax
jg 0x10080791
inc dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
add esi, 0xbc
xor eax, eax
mov dword [esi + 0x10], edx
mov edx, dword [ebx + 0x64]
mov dword [esi + 0x24], eax
mov dword [esi], ebx
mov dword [esi + 0xc], ecx
mov dword [esi + 0x28], ebp
mov dword [esi + 0x30], edi
cmp edx, eax
jbe 0x1008053a
cmp dword [ebx + 0x68], 0xffffffff
mov dword [esi + 0x14], edx
je 0x10080528
mov ecx, dword [esp + 0x14]
mov eax, edx
neg eax
mov dword [esi + 0x34], edi
add edi, edx
mov dword [esi + 0x18], eax
mov dword [esp + 0x1c], edi
jmp 0x10080584
mov eax, dword [ebx + 0x5c]
lea ecx, [eax + edi]
mov dword [esi + 0x34], ecx
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x18], eax
jmp 0x10080584
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x50]
cmp edx, eax
jbe 0x10080581
cmp dword [ecx + 0x54], 0xffffffff
mov dword [esi + 0x14], edx
je 0x1008055e
mov dword [esi + 0x34], edi
add edi, edx
neg edx
mov dword [esp + 0x1c], edi
mov dword [esi + 0x18], edx
jmp 0x10080584
mov eax, dword [ecx + 0x48]
mov edx, dword [ecx + 0x28]
cmp eax, edx
jl 0x10080574
sub eax, edx
mov dword [esi + 0x18], eax
add eax, edi
mov dword [esi + 0x34], eax
jmp 0x10080584
mov edx, dword [esi - 0x8c]
add edx, eax
mov dword [esi + 0x34], edx
jmp 0x10080584
mov dword [esi + 0x14], eax
mov edx, dword [ebx + 0x74]
mov eax, dword [esp + 0x34]
mov dword [esi + 0x30], edi
mov dword [esi + 0x2c], eax
mov dword [esi + 4], ecx
mov dword [esi + 0x38], 1
test edx, edx
jbe 0x1008063c
mov ecx, dword [ebx + 0x70]
lea eax, [ecx + ebp]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x10]
cmp eax, edx
jge 0x100805ed
push edx
push ecx
mov ecx, dword [esp + 0x3c]
push ecx
push ebp
push ebx
call fcn.1007c300
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.100849e0
push eax
call fcn.10057b1a
add esp, 0x20
mov dword [esp + 0x18], 0x82010407
jmp 0x1008063c
sub edx, 2
je 0x1008062d
sub edx, 2
je 0x1008061e
sub edx, 4
je 0x1008060b
mov edx, dword [esp + 0x10]
mov al, byte [esp + 0x1814]
mov byte [edx], al
jmp 0x1008063c
mov eax, dword [esp + 0x1814]
mov ecx, dword [esp + 0x10]
cdq
mov dword [ecx], eax
mov dword [ecx + 4], edx
jmp 0x1008063c
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x1814]
mov dword [ecx], edx
jmp 0x1008063c
mov eax, dword [esp + 0x10]
mov cx, word [esp + 0x1814]
mov word [eax], cx
test dword [esp + 0x18], 0x80000000
jne 0x100807cc
cmp dword [esp + 0x38], 0
jg 0x1007f7e0
jmp 0x10080895
mov edx, dword [esi + 0xc]
mov eax, dword [esi]
push edx
push eax
call fcn.1007c300
mov ecx, dword [esi + 4]
add esp, 4
push eax
push ecx
call fcn.1007dec0
mov edx, dword [esi + 0x14]
add esp, 4
push eax
mov eax, dword [edx*8 + 0x100a9dd8]
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.100849e0
push eax
call fcn.10057b1a
add esp, 0x20
mov dword [esp + 0x18], 0x82010479
jmp 0x10080895
mov ecx, dword [esi + 0xc]
mov edx, dword [esi]
push ecx
push edx
call fcn.1007c300
add esp, 4
push eax
mov eax, dword [esi + 4]
push eax
call fcn.1007dec0
mov ecx, dword [esp + 0x3c]
add esp, 4
push eax
push ecx
push edi
push str.__net_buffer_NOT_enough:_pszNetStart__p__pszNetEnd__p__entry__s__meta__s__unpacked_entry_count__d_
push 0x400
call fcn.100849e0
push eax
call fcn.10057b1a
add esp, 0x20
mov dword [esp + 0x18], 0x82010402
jmp 0x10080895
push 0x400
call fcn.100849e0
push eax
call fcn.1005e2b0
mov ebx, eax
add esp, 8
cmp ebx, 0x400
jge 0x10080716
mov esi, 0x400
sub esi, ebx
jmp 0x10080718
xor esi, esi
mov edx, dword [esp + 0x28]
push 0x184
push str.lib_src_tdr_tdr_net.c
push edx
call fcn.1007c300
add esp, 4
push eax
mov eax, dword [esp + 0x20]
push eax
call fcn.1007dec0
add esp, 4
push eax
push str.__entry__s__of_meta__s___s:_d
push esi
call fcn.100849e0
add eax, ebx
push eax
call fcn.10057b1a
jmp 0x10080892
mov ecx, dword [esp + 0x74]
push 0x20
push ecx
call fcn.1007c300
add esp, 4
push eax
push str.__meta__s__is_too_complex__contains_more_than__d_layers_of_children
push 0x400
call fcn.100849e0
push eax
call fcn.10057b1a
mov edx, dword [ebx + 0x2c]
add esp, 0x14
mov dword [esp + 0x18], 0x82010404
mov dword [esi + 0x24], edx
jmp 0x10080895
push ebx
call fcn.1007c300
mov ecx, dword [esp + 0x1818]
add esp, 4
push eax
mov eax, dword [ebx + 0x58]
push eax
push ecx
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.100849e0
push eax
call fcn.10057b1a
add esp, 0x18
mov dword [esp + 0x18], 0x82010401
jmp 0x10080895
push 0x400
call fcn.100849e0
push eax
call fcn.1005e2b0
mov esi, eax
add esp, 8
cmp esi, 0x400
jge 0x100807f2
mov eax, 0x400
sub eax, esi
jmp 0x100807f4
xor eax, eax
push 0x1c5
push str.lib_src_tdr_tdr_net.c
push str.___s:_d
push eax
call fcn.100849e0
add eax, esi
push eax
call fcn.10057b1a
add esp, 0x14
jmp 0x10080895
push 0x400
call fcn.100849e0
push eax
call fcn.1005e2b0
add esp, 8
cmp eax, 0x400
mov dword [esp + 0x20], eax
jge 0x10080846
mov eax, 0x400
sub eax, dword [esp + 0x20]
mov dword [esp + 0x40], eax
jmp 0x1008084e
mov dword [esp + 0x40], 0
mov edx, dword [esp + 0x28]
push edx
call fcn.1007c300
add esp, 4
push eax
push ebx
call fcn.1007dec0
mov ecx, dword [esp + 0x48]
add esp, 4
push eax
mov eax, dword [ebx + 0x24]
push eax
push ebp
push str.__invalid_refer_value:_expect_refer_value__d__in__0__array_count__d___about_entry__s__of_meta__s_
push ecx
call fcn.100849e0
add eax, dword [esp + 0x38]
push eax
call fcn.10057b1a
mov edx, dword [ebx + 0x2c]
mov dword [esp + 0x34], 0x82010403
mov dword [esi + 0x24], edx
add esp, 0x1c
mov eax, dword [esp + 0xa4]
mov esi, dword [esp + 0x58]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x18]
test eax, eax
jns 0x100808fa
mov ebx, dword [esp + 0x38]
mov ecx, 1
cmp ebx, ecx
jle 0x100808fa
lea edx, [esp + 0x160]
nop
mov ebp, dword [edx - 0x20]
test byte [ebp + 0x44], 4
jne 0x100808e7
mov ebp, dword [edx]
add dword [esi + 4], ebp
inc ecx
add edx, 0xbc
cmp ecx, ebx
jl 0x100808c0
mov ecx, dword [esp + 0x44]
sub edi, dword [ecx]
mov dword [ecx + 4], edi
jmp 0x100809aa
imul ecx, ecx, 0xbc
mov ecx, dword [esp + ecx + 0x84]
mov edx, dword [ecx + 0x18]
add dword [esi + 4], edx
mov ecx, dword [esp + 0x44]
sub edi, dword [ecx]
mov dword [ecx + 4], edi
jmp 0x100809aa
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x44]
mov dword [eax + 4], ebx
mov dword [ecx + 4], ebx
cmp dword [ebp + 8], esi
push ebp
jle 0x10080931
call fcn.1007c300
mov edx, dword [ebp + 8]
add esp, 4
push eax
push edx
push esi
push str.__invalid_parameter:_expect_a_iVersion__d__NOT_less_than_base_version__d__of_meta__s_
jmp 0x10080944
call fcn.1007c300
add esp, 4
push eax
mov eax, dword [ebp + 0x58]
push eax
push esi
push str.__invalid_parameter:_expect_a_iVersion__d__NOT_less_than_min_ver__d__of_meta__s_s_versionindicator
push 0x400
call fcn.100849e0
push eax
call fcn.10057b1a
mov eax, 0x82010401
jmp 0x100809a7
mov ecx, dword [esi + 4]
mov edx, dword [esi]
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [eax + 4]
push edx
push ecx
push edi
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.100849e0
push eax
call fcn.10057b1a
add esp, 0x1c
mov eax, 0x82010468
jmp 0x100809aa
push esi
push edi
push ebp
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.100849e0
push eax
call fcn.10057b1a
mov eax, 0x82010468
add esp, 0x18
mov ecx, dword [esp + 0x1800]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10053b60
add esp, 0x17f4
ret