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

Disassembly:
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x18]
push ebp
mov ebp, dword [esp + 0x20]
push esi
push edi
lea esi, [ebx + 0x18]
mov eax, dword [esi + 0x5c]
mov edi, dword [esp + 0x2c]
mov dword [esi + 0x60], eax
push dword [edi]
push 0xa
push eax
call fcn.100e69a0
add esp, 0xc
mov dword [esi + 0x64], eax
test eax, eax
je 0x1001125d
sub eax, dword [esi + 0x5c]
inc eax
sub dword [edi], eax
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x64]
inc eax
mov dword [esi + 0x5c], eax
sub eax, dword [esi + 0x60]
push eax
call fcn.1000ec7c
pop ecx
test eax, eax
jne 0x10011394
mov eax, dword [esi + 0x54]
mov dword [esi + 0x64], eax
mov eax, dword [ebx + 0x564]
xor edx, edx
mov dword [esi + 0x68], eax
cmp dword [esi + 0x50], edx
jne 0x100106a9
cmp dword [esi + 0x58], 5
jbe 0x100106a9
push dword [ebx + 0x564]
mov eax, ebx
call fcn.1000ec77
pop ecx
test eax, eax
je 0x100112a5
xor edx, edx
mov eax, dword [esi + 0x68]
mov cl, byte [eax]
cmp cl, 0xa
je 0x10011025
cmp cl, 0xd
je 0x1001102a
mov ecx, dword [esi + 0x50]
lea edi, [ecx + 1]
mov dword [esi + 0x50], edi
cmp ecx, edx
jne 0x100108c0
mov ecx, dword [ebp + 0x238]
mov ecx, dword [ecx + 0x3c]
test cl, 1
je 0x10010768
lea edi, [esi + 0x78]
push edi
lea ecx, [ebp + 0x118]
push ecx
lea ecx, [esp + 0x18]
push ecx
push str._HTTP__d._d__3d
push eax
call fcn.100e2cc2
add esp, 0x14
cmp eax, 3
jne 0x10010718
mov eax, dword [esp + 0x10]
imul eax, eax, 0xa
add dword [ebp + 0x118], eax
jmp 0x100107c0
push edi
push str._HTTP__3d
push dword [esi + 0x68]
call fcn.100e2cc2
add esp, 0xc
mov dword [esp + 0x24], eax
mov dword [ebp + 0x118], 0xa
test eax, eax
jne 0x100107c0
push dword [esi + 0x68]
mov eax, ebx
call fcn.1000ec25
pop ecx
test eax, eax
je 0x100107b5
mov dword [edi], 0xc8
mov dword [esp + 0x24], 1
mov dword [ebp + 0x118], 0xa
jmp 0x100107b5
test ecx, 0x40000
je 0x100112cc
lea edi, [esi + 0x78]
push edi
lea ecx, [ebp + 0x11c]
push ecx
lea ecx, [esp + 0x1c]
push ecx
push str._RTSP__d._d__3d
push eax
call fcn.100e2cc2
add esp, 0x14
cmp eax, 3
jne 0x100107b0
mov eax, dword [esp + 0x14]
imul eax, eax, 0xa
add dword [ebp + 0x11c], eax
mov dword [ebp + 0x118], 0xb
jmp 0x100107c0
and dword [esp + 0x24], 0
cmp dword [esp + 0x24], 0
je 0x100112cc
mov eax, dword [edi]
mov dword [ebx + 0x8f14], eax
mov eax, dword [ebp + 0x118]
mov dword [ebx + 0x8f1c], eax
lea eax, [ebx + 0x8ea8]
mov ecx, dword [eax]
xor edx, edx
cmp ecx, edx
je 0x100107ea
cmp ecx, dword [ebp + 0x118]
jle 0x100107f2
mov ecx, dword [ebp + 0x118]
mov dword [eax], ecx
cmp dword [ebx + 0x2b8], edx
je 0x1001084b
mov eax, dword [edi]
cmp eax, 0x190
jl 0x1001084b
cmp eax, 0x191
jne 0x10010812
cmp dword [ebp + 0x1d4], edx
jne 0x1001084b
cmp eax, 0x197
jne 0x10010821
cmp dword [ebp + 0x1d8], edx
jne 0x1001084b
mov ecx, dword [ebx + 0x8ed8]
or ecx, dword [ebx + 0x8edc]
je 0x100112ee
cmp dword [ebx + 0x218], 1
jne 0x100112ee
cmp eax, 0x1a0
jne 0x100112ee
mov eax, dword [ebp + 0x118]
cmp eax, 0xa
jne 0x10010871
push str.HTTP_1.0__assume_close_after_body_n
push ebx
call fcn.100178f2
pop ecx
pop ecx
mov dword [ebp + 0x1c4], 1
xor edx, edx
jmp 0x10010888
cmp eax, 0xb
jl 0x10010888
cmp dword [ebp + 0x1c4], edx
jne 0x10010888
mov dword [ebp + 0x280], 1
mov edi, dword [edi]
sub edi, 0xcc
je 0x10010899
sub edi, 0x64
jne 0x100108c0
xor edx, edx
cmp dword [ebx + 0x208], edx
je 0x100108ab
mov dword [ebx + 0x8f24], 1
mov dword [esi], edx
mov dword [esi + 4], edx
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], edx
mov dword [esi + 0xb4], 1
cmp dword [esi + 0xb4], 0
jne 0x10010973
cmp dword [ebx + 0x318], 0
jne 0x10010973
mov edi, str.Content_Length:
push edi
call fcn.100e2420
push eax
push dword [esi + 0x68]
push edi
call fcn.100172ef
add esp, 0x10
test eax, eax
je 0x10010973
mov eax, dword [esi + 0x68]
push 0xa
add eax, 0xf
push 0
push eax
call fcn.100e28da
mov edi, dword [ebx + 0x280]
mov ecx, dword [ebx + 0x284]
add esp, 0xc
or edi, ecx
je 0x1001092f
cmp edx, ecx
jg 0x100112d5
jl 0x1001092f
cmp eax, dword [ebx + 0x280]
ja 0x100112d5
test edx, edx
jl 0x10010954
jg 0x10010939
test eax, eax
jb 0x10010954
push edx
push eax
push ebx
mov dword [esi], eax
mov dword [esi + 4], edx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
call fcn.10016dab
add esp, 0xc
jmp 0x10010fc2
push edx
push eax
push str.Negative_content_length:__lld__closing_after_transfer_n
push ebx
mov dword [ebp + 0x1c4], 1
call fcn.100178f2
add esp, 0x10
jmp 0x10010fc2
mov edi, str.Content_Type:
push edi
call fcn.100e2420
push eax
push dword [esi + 0x68]
push edi
call fcn.100172ef
add esp, 0x10
test eax, eax
je 0x100109d6
mov eax, dword [esi + 0x68]
call fcn.1000dd85
mov dword [esp + 0x24], eax
test eax, eax
je 0x100112e6
cmp byte [eax], 0
jne 0x100109b4
push eax
call dword [0x1014800c]
jmp 0x10010a79
lea edi, [ebx + 0x8f3c]
mov eax, dword [edi]
test eax, eax
je 0x100109cb
push eax
call dword [0x1014800c]
and dword [edi], 0
pop ecx
mov eax, dword [esp + 0x24]
mov dword [edi], eax
jmp 0x10010fc2
cmp dword [ebp + 0x118], 0xa
jne 0x10010a08
cmp dword [ebp + 0x1d0], 0
je 0x10010a08
push str.keep_alive
push str.Proxy_Connection:
push dword [esi + 0x68]
call fcn.1000e9da
add esp, 0xc
test eax, eax
je 0x10010a08
push str.HTTP_1.0_proxy_connection_set_to_keep_alive__n
jmp 0x10010a6b
cmp dword [ebp + 0x118], 0xb
jne 0x10010a44
cmp dword [ebp + 0x1d0], 0
je 0x10010a44
push str.close
push str.Proxy_Connection:
push dword [esi + 0x68]
call fcn.1000e9da
add esp, 0xc
test eax, eax
je 0x10010a44
mov dword [ebp + 0x1c4], 1
push str.HTTP_1.1_proxy_connection_set_close__n
jmp 0x10010a72
cmp dword [ebp + 0x118], 0xa
jne 0x10010a7f
push str.keep_alive
push str.Connection:
push dword [esi + 0x68]
call fcn.1000e9da
add esp, 0xc
test eax, eax
je 0x10010a7f
push str.HTTP_1.0_connection_set_to_keep_alive__n
and dword [ebp + 0x1c4], 0
push ebx
call fcn.100178f2
pop ecx
pop ecx
jmp 0x10010fc2
push str.close
push str.Connection:
push dword [esi + 0x68]
call fcn.1000e9da
add esp, 0xc
test eax, eax
je 0x10010aa7
mov dword [ebp + 0x1c4], 1
jmp 0x10010fc2
mov edi, str.Transfer_Encoding:
push edi
call fcn.100e2420
push eax
push dword [esi + 0x68]
push edi
call fcn.100172ef
add esp, 0x10
test eax, eax
je 0x10010c3f
mov edi, dword [esi + 0x68]
add edi, 0x12
jmp 0x10010ae3
movzx eax, al
push eax
call fcn.100e3af7
pop ecx
test eax, eax
jne 0x10010ae2
cmp byte [edi], 0x2c
jne 0x10010ae9
inc edi
mov al, byte [edi]
test al, al
jne 0x10010acf
push str.chunked
call fcn.100e2420
push eax
push edi
push str.chunked
call fcn.100172ef
add esp, 0x10
test eax, eax
je 0x10010b1a
push ebp
mov dword [esi + 0xc8], 1
call fcn.100113b9
pop ecx
add edi, 7
cmp dword [esi + 0x88], 0
jne 0x10010fc2
push str.identity
call fcn.100e2420
push eax
push edi
push str.identity
call fcn.100172ef
add esp, 0x10
test eax, eax
je 0x10010b50
and dword [esi + 0x88], 0
jmp 0x10010c04
push str.deflate
call fcn.100e2420
push eax
push edi
push str.deflate
call fcn.100172ef
add esp, 0x10
test eax, eax
je 0x10010b7f
mov dword [esi + 0x88], 1
add edi, 7
jmp 0x10010ae3
push str.gzip
call fcn.100e2420
push eax
push edi
push str.gzip
call fcn.100172ef
add esp, 0x10
test eax, eax
je 0x10010bae
mov dword [esi + 0x88], 2
add edi, 4
jmp 0x10010ae3
push str.x_gzip
call fcn.100e2420
push eax
push edi
push str.x_gzip
call fcn.100172ef
add esp, 0x10
test eax, eax
je 0x10010bdd
mov dword [esi + 0x88], 2
add edi, 6
jmp 0x10010ae3
push str.compress
call fcn.100e2420
push eax
push edi
push str.compress
call fcn.100172ef
add esp, 0x10
test eax, eax
je 0x10010c0c
mov dword [esi + 0x88], 3
add edi, 8
jmp 0x10010ae3
push str.x_compress
call fcn.100e2420
push eax
push edi
push str.x_compress
call fcn.100172ef
add esp, 0x10
test eax, eax
je 0x10010fc2
mov dword [esi + 0x88], 3
add edi, 0xa
jmp 0x10010ae3
mov edi, str.Content_Encoding:
push edi
call fcn.100e2420
push eax
push dword [esi + 0x68]
push edi
call fcn.100172ef
add esp, 0x10
test eax, eax
je 0x10010d74
cmp dword [ebx + 0x360], 0
je 0x10010d74
mov edi, dword [esi + 0x68]
add edi, 0x11
jmp 0x10010c83
movzx eax, al
push eax
call fcn.100e3af7
pop ecx
test eax, eax
je 0x10010c89
inc edi
mov al, byte [edi]
test al, al
jne 0x10010c74
push str.identity
call fcn.100e2420
push eax
push edi
push str.identity
call fcn.100172ef
add esp, 0x10
test eax, eax
je 0x10010cb2
and dword [esi + 0x88], 0
jmp 0x10010fc2
push str.deflate
call fcn.100e2420
push eax
push edi
push str.deflate
call fcn.100172ef
add esp, 0x10
test eax, eax
je 0x10010cde
mov dword [esi + 0x88], 1
jmp 0x10010fc2
push str.gzip
call fcn.100e2420
push eax
push edi
push str.gzip
call fcn.100172ef
add esp, 0x10
test eax, eax
jne 0x10010d65
push str.x_gzip
call fcn.100e2420
push eax
push edi
push str.x_gzip
call fcn.100172ef
add esp, 0x10
test eax, eax
jne 0x10010d65
push str.compress
call fcn.100e2420
push eax
push edi
push str.compress
call fcn.100172ef
add esp, 0x10
test eax, eax
jne 0x10010d56
push str.x_compress
call fcn.100e2420
push eax
push edi
push str.x_compress
call fcn.100172ef
add esp, 0x10
test eax, eax
je 0x10010fc2
mov dword [esi + 0x88], 3
jmp 0x10010fc2
mov dword [esi + 0x88], 2
jmp 0x10010fc2
mov edi, str.Content_Range:
push edi
call fcn.100e2420
push eax
push dword [esi + 0x68]
push edi
call fcn.100172ef
add esp, 0x10
test eax, eax
je 0x10010de9
mov edi, dword [esi + 0x68]
add edi, 0xe
jmp 0x10010da7
movzx eax, al
push eax
call fcn.100e39f2
pop ecx
test eax, eax
jne 0x10010dad
inc edi
mov al, byte [edi]
test al, al
jne 0x10010d98
push 0xa
push 0
push edi
call fcn.100e28da
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], edx
mov eax, dword [ebx + 0x8ed8]
add esp, 0xc
cmp eax, dword [esi + 0x70]
jne 0x10010fc2
mov eax, dword [ebx + 0x8edc]
cmp eax, edx
jne 0x10010fc2
mov dword [esi + 0x6c], 1
jmp 0x10010fc2
cmp dword [ebx + 0x440], 0
je 0x10010e57
mov edi, str.Set_Cookie:
push edi
call fcn.100e2420
push eax
push dword [esi + 0x68]
push edi
call fcn.100172ef
add esp, 0x10
test eax, eax
je 0x10010e57
push 2
push 2
push ebx
call fcn.10017e56
mov eax, dword [ebp + 0x268]
add esp, 0xc
test eax, eax
jne 0x10010e2b
mov eax, dword [ebp + 0x80]
push dword [ebx + 0x8ec0]
push eax
mov eax, dword [esi + 0x68]
add eax, 0xb
push eax
push 1
push dword [ebx + 0x440]
push ebx
call fcn.10009621
push 2
push ebx
call fcn.10017e8f
add esp, 0x20
jmp 0x10010fc2
mov edi, str.Last_Modified:
push edi
call fcn.100e2420
push eax
push dword [esi + 0x68]
push edi
call fcn.100172ef
add esp, 0x10
test eax, eax
je 0x10010ecf
xor eax, eax
cmp dword [ebx + 0x208], eax
jne 0x10010e85
cmp dword [ebx + 0x29c], eax
je 0x10010ecf
push eax
call fcn.100e256b
pop ecx
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
push edi
mov dword [esp + 0x24], edx
call fcn.100e2420
add eax, dword [esi + 0x68]
pop ecx
push eax
call fcn.10016a95
pop ecx
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], edx
cmp dword [ebx + 0x29c], 0
pop ecx
je 0x10010fc2
mov dword [ebx + 0x8f20], eax
jmp 0x10010fc2
mov edi, str.WWW_Authenticate:
push edi
call fcn.100e2420
push eax
push dword [esi + 0x68]
push edi
call fcn.100172ef
add esp, 0x10
test eax, eax
je 0x10010ef5
mov eax, dword [esi + 0x78]
cmp eax, 0x191
je 0x10010f1b
mov edi, str.Proxy_authenticate:
push edi
call fcn.100e2420
push eax
push dword [esi + 0x68]
push edi
call fcn.100172ef
add esp, 0x10
test eax, eax
je 0x10010f2a
mov eax, dword [esi + 0x78]
cmp eax, 0x197
jne 0x10010f2a
push dword [esi + 0x68]
push eax
push ebp
call fcn.1000e3c2
add esp, 0xc
jmp 0x10010fa5
mov eax, dword [esi + 0x78]
cmp eax, 0x12c
jl 0x10010faf
cmp eax, 0x190
jge 0x10010faf
mov edi, str.Location:
push edi
call fcn.100e2420
push eax
push dword [esi + 0x68]
push edi
call fcn.100172ef
add esp, 0x10
test eax, eax
je 0x10010faf
cmp dword [ebx + 0xd0], 0
jne 0x10010faf
mov eax, dword [esi + 0x68]
call fcn.1000dd85
test eax, eax
je 0x100112e6
cmp byte [eax], 0
je 0x100109a8
cmp dword [ebx + 0x2bc], 0
mov dword [ebx + 0xd0], eax
je 0x10010fc2
push eax
call dword [0x10148014]
pop ecx
mov dword [ebx + 0xd4], eax
test eax, eax
je 0x100112e6
mov edi, ebp
call fcn.1000df3e
test eax, eax
jne 0x10011394
jmp 0x10010fc2
mov eax, dword [ebp + 0x238]
test dword [eax + 0x3c], 0x40000
jne 0x100112ea
cmp dword [ebx + 0x2c8], 0
push 2
pop edi
je 0x10010fd1
push 3
pop edi
cmp dword [ebx + 0x2e4], 0
je 0x10010fec
push ebp
push dword [esi + 0x58]
push dword [esi + 0x68]
push 1
push ebx
call fcn.1001783e
add esp, 0x14
push dword [esi + 0x58]
push dword [esi + 0x68]
push edi
push ebp
call fcn.10017b41
add esp, 0x10
test eax, eax
jne 0x10011394
mov eax, dword [esi + 0x58]
add dword [ebx + 0x8f28], eax
mov eax, dword [esi + 0x58]
add dword [ebx + 0x48], eax
mov eax, dword [ebx + 0x564]
and dword [esi + 0x58], 0
mov dword [esi + 0x54], eax
jmp 0x1001123f
cmp cl, 0xd
jne 0x1001102e
inc eax
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x68]
cmp byte [eax], 0xa
jne 0x1001103a
inc eax
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x78]
cmp eax, 0x64
jl 0x10011069
cmp eax, 0xc7
jg 0x10011069
lea eax, [esi + 0x84]
mov dword [esi + 0x48], 1
mov dword [esi + 0x50], edx
cmp dword [eax], edx
je 0x100110b5
and dword [eax], 0
or dword [esi + 0xa8], 2
jmp 0x100110b5
mov eax, dword [esi]
and eax, dword [esi + 4]
mov dword [esi + 0x48], edx
cmp eax, 0xffffffff
jne 0x100110b5
cmp dword [esi + 0xc8], edx
jne 0x100110b5
cmp dword [ebp + 0x1c4], edx
jne 0x100110b5
cmp dword [ebp + 0x118], 0xb
jl 0x100110b5
mov eax, dword [ebp + 0x238]
test dword [eax + 0x3c], 0x40000
jne 0x100110b5
push str.no_chunk__no_close__no_size._Assume_close_to_signal_end_n
push ebx
call fcn.100178f2
pop ecx
pop ecx
mov dword [ebp + 0x1c4], 1
mov edx, ebp
call fcn.1000e64b
test eax, eax
jne 0x100112ee
push 2
pop ecx
cmp dword [ebx + 0x2c8], eax
je 0x100110d2
push 3
pop ecx
mov eax, dword [ebx + 0x564]
mov edi, dword [esi + 0x68]
sub edi, eax
push edi
push eax
push ecx
push ebp
call fcn.10017b41
add esp, 0x10
test eax, eax
jne 0x10011394
add dword [ebx + 0x48], edi
add dword [ebx + 0x8f28], edi
mov eax, dword [esi + 0x78]
cmp eax, 0x64
mov ecx, dword [ebx + 0x48]
jl 0x1001110c
cmp eax, 0xc7
jle 0x1001110e
xor ecx, ecx
mov eax, dword [esp + 0x30]
mov dword [ebx + 0x4c], ecx
cmp dword [eax], 0
jne 0x10011228
push ebp
call fcn.1000ed22
pop ecx
test eax, eax
jne 0x10011394
mov ecx, dword [esi + 0x78]
cmp ecx, 0x12c
jl 0x1001120b
cmp ecx, 0x191
jne 0x10011176
cmp dword [ebp + 0x1c4], eax
jne 0x10011176
mov eax, dword [ebp]
cmp dword [eax + 0x8e74], 0
jne 0x10011176
mov eax, dword [eax + 0x8e40]
test eax, eax
je 0x10011176
push eax
push str.HTTP_auth_required__picked_auth_type___d._keep_alive_n
push ebx
call fcn.100178f2
add esp, 0xc
jmp 0x1001120b
cmp ecx, 0x197
jne 0x100111a5
xor ecx, ecx
cmp dword [ebp + 0x1c4], ecx
jne 0x100111a7
mov eax, dword [ebp]
cmp dword [eax + 0x8e74], ecx
jne 0x100111a7
mov eax, dword [eax + 0x8e5c]
cmp eax, ecx
je 0x100111a7
push eax
push str.HTTP_PROXY_auth_required__picked_auth_type___d._keep_alive_n
jmp 0x10011168
xor ecx, ecx
cmp dword [ebp + 0x1fc], ecx
jne 0x1001120b
cmp dword [ebp + 0x1c4], ecx
jne 0x1001120b
cmp dword [ebp + 0x200], ecx
jne 0x1001120b
mov eax, dword [ebx + 0x218]
add eax, 0xfffffffe
cmp eax, 2
ja 0x1001120b
cmp dword [esi + 0xac], ecx
jne 0x1001120b
push str.HTTP_error_before_end_of_send__stop_sending_n
push ebx
call fcn.100178f2
xor eax, eax
inc eax
mov dword [ebp + 0x1c4], eax
and dword [esi + 0xa8], 0xfffffffd
pop ecx
mov dword [esi + 0xac], eax
cmp dword [ebx + 0x8eac], 0
pop ecx
je 0x1001120b
mov dword [esi + 0x84], 3
cmp dword [ebp + 0x200], 0
je 0x10011228
push str.Keep_sending_data_to_get_tossed_away__n
push ebx
call fcn.100178f2
or dword [esi + 0xa8], 2
pop ecx
pop ecx
xor eax, eax
cmp dword [esi + 0x48], eax
je 0x10011307
mov ecx, dword [ebx + 0x564]
mov dword [esi + 0x54], ecx
mov dword [esi + 0x58], eax
mov eax, dword [esp + 0x30]
cmp dword [eax], 0
jne 0x10011392
mov eax, dword [esi + 0x5c]
cmp byte [eax], 0
je 0x10011392
jmp 0x10010630
push dword [edi]
call fcn.1000ec7c
pop ecx
test eax, eax
jne 0x10011394
cmp dword [esi + 0x50], eax
jne 0x10011392
cmp dword [esi + 0x58], 5
jbe 0x10011392
push dword [ebx + 0x564]
mov eax, ebx
call fcn.1000ec77
pop ecx
test eax, eax
jne 0x10011392
and dword [esi + 0x48], eax
mov dword [esi + 0x4c], 2
jmp 0x10011392
and dword [esi + 0x48], 0
cmp dword [edi], 0
je 0x100112ba
mov dword [esi + 0x4c], 1
jmp 0x10011392
mov eax, dword [esp + 0x24]
mov dword [esi + 0x4c], 2
mov dword [edi], eax
jmp 0x10011392
and dword [esi + 0x48], 0
jmp 0x10011392
push str.Maximum_file_size_exceeded
push ebx
call fcn.1001795c
pop ecx
pop ecx
push 0x3f
jmp 0x10011301
push 0x1b
jmp 0x10011301
push 4
jmp 0x10011301
push dword [esi + 0x78]
push str.The_requested_URL_returned_error:__d
push ebx
call fcn.1001795c
add esp, 0xc
push 0x16
pop eax
jmp 0x10011394
cmp dword [ebx + 0x2d4], eax
je 0x1001131b
mov eax, dword [esp + 0x30]
mov dword [eax], 1
jmp 0x10011331
cmp dword [esi + 0xc8], eax
je 0x10011331
or eax, 0xffffffff
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov eax, dword [esi]
mov ecx, dword [esi + 4]
cmp eax, 0xffffffff
jne 0x1001133f
cmp ecx, eax
je 0x10011355
push ecx
push eax
push ebx
call fcn.10016dab
mov eax, dword [esi]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 4]
add esp, 0xc
mov dword [esi + 0x14], eax
xor eax, eax
cmp dword [esi + 0x10], eax
jne 0x1001136b
cmp dword [esi + 0x14], eax
jne 0x1001136b
mov ecx, dword [esp + 0x30]
mov dword [ecx], 1
mov ecx, dword [esp + 0x30]
cmp dword [ecx], eax
je 0x1001137a
and dword [esi + 0xa8], 0xfffffffe
cmp dword [ebx + 0x2e4], eax
je 0x10011392
push ebp
push edi
push dword [esi + 0x60]
push 1
push ebx
call fcn.1001783e
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret