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

Disassembly:
sub esp, 0x34
push ebx
push ebp
mov ebp, dword [esp + 0x54]
xor ebx, ebx
push esi
push edi
mov edi, dword [esp + 0x48]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x5c], ebx
cmp ebp, ebx
je 0x4133f1
cmp dword [ebp + 0x4d68], 0xc0dedbad
je 0x413402
mov eax, 2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
xor ebx, ebx
xor esi, esi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], esi
cmp dword [ebp + 0x4c34], ebx
je 0x413479
mov eax, dword [ebp + 0x4c3c]
push eax
push ebp
push str.Pipe_broke:_handle__p__url___s_n
push ebp
call fcn.00414ea0
mov eax, dword [ebp + 0x24]
add esp, 0x10
cmp eax, 0x11
jge 0x413454
cmp eax, 2
je 0x41344d
mov dword [ebp + 0x24], 2
mov eax, dword [0x45d268]
cmp eax, ebx
je 0x41344d
push ebp
call eax
add esp, 4
or esi, 0xffffffff
mov dword [esp + 0x5c], ebx
mov dword [ebp + 0x4c34], ebx
mov dword [ebp + 8], ebx
cmp esi, 0xffffffff
je 0x413400
cmp dword [edi + 0x7c], 0
jne 0x413400
mov eax, dword [esp + 0x5c]
mov dword [ebp + 0x28], eax
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
cmp dword [ebp + 8], 0
lea ebx, [ebp + 8]
mov esi, 0x10
jne 0x413497
mov eax, dword [ebp + 0x24]
cmp eax, 2
jle 0x413497
cmp eax, esi
jl 0x4146b4
mov eax, dword [edi + 0x7c]
mov dword [edi + 0x7c], 0
test eax, eax
je 0x4134ae
push edi
call fcn.00412df0
add esp, 4
mov ecx, dword [ebx]
test ecx, ecx
je 0x4134c3
mov eax, dword [ebp + 0x24]
cmp eax, 2
jle 0x4134c3
cmp eax, 0x11
jge 0x4134c3
mov dword [ecx], ebp
cmp dword [ebx], 0
je 0x413707
mov eax, dword [ebp + 0x24]
cmp eax, 2
jl 0x413707
cmp eax, 0x11
jge 0x413707
xor ecx, ecx
cmp eax, 8
setle cl
lea edx, [esp + 0x4c]
push ecx
push edx
push ebp
call fcn.00416fd0
add esp, 0xc
test edx, edx
jg 0x413707
jl 0x41350a
test eax, eax
jae 0x413707
mov eax, dword [ebp + 0x24]
cmp eax, 3
jne 0x413574
mov ecx, dword [ebp + 0x7e0]
mov edx, dword [ebp + 0x7e4]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp + 0x7e8]
mov dword [eax + 4], edx
mov edx, dword [ebp + 0x7ec]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x5c]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x60]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x74]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x78]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
call fcn.00414880
push edx
push eax
push str.Resolving_timed_out_after__ld_milliseconds
push ebp
call fcn.00414f30
add esp, 0x30
jmp 0x4136d3
cmp eax, 4
jne 0x4135db
mov ecx, dword [ebp + 0x7e0]
mov edx, dword [ebp + 0x7e4]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp + 0x7e8]
mov dword [eax + 4], edx
mov edx, dword [ebp + 0x7ec]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x5c]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x60]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x74]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x78]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
call fcn.00414880
push edx
push eax
push str.Connection_timed_out_after__ld_milliseconds
push ebp
call fcn.00414f30
add esp, 0x30
jmp 0x4136d3
mov eax, dword [ebp + 0x70]
mov ecx, dword [ebp + 0x74]
mov edx, eax
and edx, ecx
cmp edx, 0xffffffff
je 0x413662
mov edx, dword [ebp + 0x7e0]
push ecx
mov ecx, dword [ebp + 0x90]
push eax
mov eax, dword [ebp + 0x94]
push eax
push ecx
mov ecx, dword [ebp + 0x7e4]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [ebp + 0x7e8]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0x7ec]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x6c]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x70]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x84]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x88]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
call fcn.00414880
add esp, 0x20
push edx
push eax
push str.Operation_timed_out_after__ld_milliseconds_with__I64d_out_of__I64d_bytes_received
push ebp
call fcn.00414f30
add esp, 0x20
jmp 0x4136d3
mov edx, dword [ebp + 0x94]
mov eax, dword [ebp + 0x90]
mov ecx, dword [ebp + 0x7e0]
push edx
mov edx, dword [ebp + 0x7e4]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp + 0x7e8]
mov dword [eax + 4], edx
mov edx, dword [ebp + 0x7ec]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x68]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x7c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x80]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
call fcn.00414880
add esp, 0x20
push edx
push eax
push str.Operation_timed_out_after__ld_milliseconds_with__I64d_bytes_received
push ebp
call fcn.00414f30
add esp, 0x18
cmp dword [ebp + 0x24], 9
jle 0x4136ee
mov eax, dword [ebx]
push 2
push eax
call fcn.00417a80
add esp, 8
mov dword [esp + 0x14], 1
mov eax, 0x1c
push 1
push ebx
mov dword [esp + 0x64], eax
call fcn.00411ae0
add esp, 8
jmp case.0x413713.1
mov eax, dword [ebp + 0x24]
cmp eax, 0x12
ja case.default.0x413713
jmp dword [eax*4 + 0x4146e4]
push ebp
call fcn.00439750
add esp, 4
mov dword [esp + 0x5c], eax
test eax, eax
jne case.0x413713.1
mov eax, 2
cmp dword [ebp + 0x24], eax
je 0x41374b
mov dword [ebp + 0x24], eax
mov eax, dword [0x45d268]
test eax, eax
je 0x41374b
push ebp
call eax
add esp, 4
push 1
push ebp
call fcn.0041f350
add esp, 8
mov dword [esp + 0x10], 0xffffffff
jmp case.0x413713.1
push 2
push ebp
call fcn.0041f350
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x3c]
push edx
push ebx
push ebp
call fcn.00411890
add esp, 0x18
mov dword [esp + 0x5c], eax
cmp eax, 0x59
jne 0x4137b7
mov eax, 1
cmp dword [ebp + 0x24], eax
je 0x413795
mov dword [ebp + 0x24], eax
mov ecx, dword [edi + 0x28]
lea eax, [ebp + 0xc]
push eax
push ebp
push ecx
add edi, 0x24
push edi
call fcn.00434950
add esp, 0x10
mov dword [esp + 0x5c], 0
jmp case.0x413713.1
test eax, eax
jne case.0x413713.1
mov edx, dword [ebx]
push edx
push ebp
call fcn.00434f90
add esp, 8
mov dword [esp + 0x5c], eax
test eax, eax
jne 0x413b19
cmp dword [esp + 0x30], eax
je 0x4137e7
mov eax, 3
jmp 0x413a60
cmp dword [esp + 0x18], 0
mov dword [esp + 0x10], 0xffffffff
je 0x413814
push 1
push edi
call fcn.00411ce0
add esp, 8
neg eax
sbb eax, eax
add eax, 9
mov ecx, ebp
call fcn.00411920
jmp case.0x413713.1
mov eax, dword [ebx]
push eax
call fcn.00435ec0
add esp, 4
test eax, eax
jne 0x413a5b
mov eax, 4
cmp dword [ebp + 0x24], eax
je case.0x413713.1
mov dword [ebp + 0x24], eax
jmp case.0x413713.1
mov esi, dword [ebx]
mov dword [esp + 0x1c], 0
cmp dword [esi + 0x2a8], 0
je 0x413858
mov edi, dword [esi + 0xe4]
jmp 0x41386f
cmp dword [esi + 0x29c], 0
je 0x413869
mov edi, dword [esi + 0xb4]
jmp 0x41386f
mov edi, dword [esi + 0xa0]
mov ecx, dword [esi + 0xfc]
push ecx
push edi
push esi
call fcn.0040c2c0
add esp, 0xc
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4138b6
push edi
push str.Hostname__s_was_found_in_DNS_cache_n
push ebp
mov dword [esi + 0x56c], eax
mov dword [esi + 0x570], 1
mov dword [esp + 0x68], 0
call fcn.00414ea0
add esp, 0xc
cmp dword [esp + 0x1c], 0
jne 0x4138ce
mov eax, dword [ebx]
lea edx, [esp + 0x1c]
push edx
push eax
call fcn.0040adb0
mov edi, eax
add esp, 8
mov dword [esp + 0x5c], edi
jmp 0x4138d2
mov edi, dword [esp + 0x5c]
mov esi, dword [esp + 0x48]
push ebp
push esi
call fcn.00412190
add esp, 8
cmp dword [esp + 0x1c], 0
je 0x413954
mov edx, dword [ebx]
lea ecx, [esp + 0x18]
push ecx
push edx
call fcn.0041ae80
mov edi, eax
add esp, 8
mov dword [esp + 0x5c], edi
test edi, edi
je 0x413909
mov dword [ebx], 0
jmp 0x413954
cmp dword [esp + 0x18], 0
mov dword [esp + 0x10], 0xffffffff
je 0x413933
push 1
push esi
call fcn.00411ce0
add esp, 8
neg eax
sbb eax, eax
add eax, 9
mov ecx, ebp
call fcn.00411920
jmp 0x413954
mov eax, dword [ebx]
push eax
call fcn.00435ec0
add esp, 4
test eax, eax
mov eax, 5
jne 0x41394c
mov eax, 4
cmp dword [ebp + 0x24], eax
je 0x413954
mov dword [ebp + 0x24], eax
test edi, edi
je case.0x413713.1
mov dword [esp + 0x14], 1
jmp case.0x413713.1
mov edx, dword [ebx]
lea ecx, [esp + 0x18]
push ecx
push edx
call fcn.00431f00
mov ecx, eax
mov eax, dword [ebx]
add esp, 8
cmp dword [eax + 0x2f8], 0
mov dword [esp + 0x5c], ecx
je 0x4139cd
push 0
push ebx
xor eax, eax
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x64], 0
call fcn.00411ae0
add esp, 8
cmp dword [ebp + 0x24], 2
je case.0x413713.1
mov dword [ebp + 0x24], 2
mov eax, dword [0x45d268]
test eax, eax
je case.0x413713.1
push ebp
call eax
jmp 0x41454d
test ecx, ecx
jne case.0x413713.1
cmp dword [eax + 0xf0], 2
jne 0x4139ea
cmp dword [eax + 0x314], ecx
je case.0x413713.1
push eax
call fcn.00435ea0
add esp, 4
test eax, eax
je case.0x413713.1
mov eax, 6
mov dword [esp + 0x10], 0xffffffff
cmp dword [ebp + 0x24], eax
je case.0x413713.1
mov dword [ebp + 0x24], eax
jmp case.0x413713.1
mov ecx, dword [ebx]
lea eax, [esp + 0x34]
push eax
push 0
push ecx
call fcn.004180c0
add esp, 0xc
cmp dword [esp + 0x34], 0
mov dword [esp + 0x5c], eax
je 0x413a94
test eax, eax
jne 0x413a9c
mov eax, dword [ebx]
cmp dword [eax + 0xf0], 2
jne 0x413a4e
cmp dword [eax + 0x314], 0
je 0x413a5b
push eax
call fcn.00435ec0
add esp, 4
test eax, eax
je 0x413a71
mov eax, 5
cmp dword [ebp + 0x24], eax
je case.0x413713.1
mov dword [ebp + 0x24], eax
jmp case.0x413713.1
mov edx, dword [ebx]
mov eax, dword [edx + 0x2d4]
neg eax
sbb eax, eax
add eax, 6
mov ecx, ebp
mov dword [esp + 0x10], 0xffffffff
call fcn.00411920
jmp case.0x413713.1
test eax, eax
je case.0x413713.1
mov dword [esp + 0x14], 1
jmp case.0x413713.1
mov ecx, dword [ebx]
lea eax, [esp + 0x18]
push eax
push ecx
call fcn.0040d4e0
add esp, 8
cmp dword [esp + 0x18], 0
mov esi, eax
mov dword [esp + 0x5c], esi
jne 0x413adc
cmp dword [ebp + 0x24], 7
je case.0x413713.1
mov dword [ebp + 0x24], 7
jmp case.0x413713.1
test esi, esi
jne 0x413b06
push 1
push edi
call fcn.00411ce0
add esp, 8
neg eax
sbb eax, eax
add eax, 9
mov ecx, ebp
call fcn.00411920
mov dword [esp + 0x10], 0xffffffff
jmp case.0x413713.1
push ebp
call fcn.0043aee0
push 1
mov eax, esi
push ebx
call fcn.00411ae0
add esp, 0xc
mov dword [esp + 0x14], 1
jmp case.0x413713.1
mov eax, dword [ebx]
lea edx, [esp + 0x18]
push edx
push eax
call fcn.0040d460
mov esi, eax
add esp, 8
mov dword [esp + 0x5c], esi
test esi, esi
jne 0x413b06
cmp dword [esp + 0x18], eax
je case.0x413713.1
push 1
push edi
call fcn.00411ce0
add esp, 8
neg eax
sbb eax, eax
add eax, 9
mov ecx, ebp
call fcn.00411920
mov dword [esp + 0x10], 0xffffffff
jmp case.0x413713.1
mov ecx, dword [ebx]
push ecx
push ebp
call fcn.00434ed0
add esp, 8
test eax, eax
je case.0x413713.1
mov eax, 9
cmp dword [ebp + 0x24], eax
je 0x413ba0
mov dword [ebp + 0x24], eax
mov eax, dword [0x45d284]
test eax, eax
je 0x413ba0
push ebp
call eax
add esp, 4
mov dword [esp + 0x10], 0xffffffff
jmp case.0x413713.1
cmp dword [ebp + 0x5ac], 0
je 0x413bef
mov edx, dword [ebx]
push 0
push edx
call fcn.00417a80
add esp, 8
cmp dword [ebp + 0x24], esi
je 0x413bda
mov dword [ebp + 0x24], esi
mov eax, dword [0x45d2a0]
test eax, eax
je 0x413bda
push ebp
call eax
add esp, 4
mov dword [esp + 0x5c], 0
mov dword [esp + 0x10], 0xffffffff
jmp case.0x413713.1
lea eax, [esp + 0x20]
push eax
lea ebx, [ebp + 8]
call fcn.00411f50
mov edi, eax
xor esi, esi
add esp, 4
mov dword [esp + 0x5c], edi
cmp edi, esi
jne 0x413cb6
cmp dword [esp + 0x20], esi
jne 0x413c6a
cmp dword [ebp + 0x4c28], esi
je 0x413c56
mov eax, dword [ebp + 0x4c90]
cmp eax, 7
je 0x413c2d
cmp eax, 5
jne 0x413c56
push esi
push ebx
xor eax, eax
call fcn.00411ae0
mov eax, 0x10
add esp, 8
cmp dword [ebp + 0x24], eax
je 0x413ba0
mov dword [ebp + 0x24], eax
mov eax, dword [0x45d2a0]
cmp eax, esi
jmp 0x413b98
mov eax, 0xa
cmp dword [ebp + 0x24], eax
je 0x413c90
mov dword [ebp + 0x24], eax
mov eax, dword [0x45d288]
jmp 0x413c86
mov ecx, dword [ebx]
cmp dword [ecx + 0x2c0], esi
je 0x413c99
mov eax, 0xb
cmp dword [ebp + 0x24], eax
je 0x413c90
mov dword [ebp + 0x24], eax
mov eax, dword [0x45d28c]
cmp eax, esi
je 0x413c90
push ebp
call eax
add esp, 4
mov dword [esp + 0x10], esi
jmp case.0x413713.1
mov eax, 0xc
cmp dword [ebp + 0x24], eax
je 0x413ba0
mov dword [ebp + 0x24], eax
mov eax, dword [0x45d290]
cmp eax, esi
jmp 0x413b98
cmp edi, 0x37
jne 0x413d99
mov eax, dword [ebx]
cmp dword [eax + 0x298], esi
je 0x413d99
lea edx, [esp + 0x1c]
push edx
push eax
mov dword [esp + 0x24], esi
xor edi, edi
call fcn.00439f10
add esp, 8
cmp eax, esi
je 0x413cf3
mov dword [esp + 0x5c], eax
mov dword [esp + 0x14], 1
jmp 0x413cfe
xor eax, eax
cmp dword [esp + 0x1c], esi
setne al
mov edi, eax
push ebp
call fcn.0043aee0
lea eax, [ebp + 8]
push esi
push eax
mov eax, dword [esp + 0x68]
call fcn.00411ae0
add esp, 0xc
cmp edi, esi
je 0x413d81
cmp eax, esi
je 0x413d36
cmp eax, 0x37
je 0x413d36
mov edx, dword [esp + 0x1c]
push edx
mov dword [esp + 0x60], eax
call dword [0x46c004]
jmp 0x41454d
mov ecx, dword [esp + 0x1c]
mov edi, 2
push edi
push ecx
push ebp
call fcn.00439c50
add esp, 0xc
cmp eax, esi
jne 0x413d22
cmp dword [ebp + 0x24], edi
je 0x413d65
mov dword [ebp + 0x24], edi
mov eax, dword [0x45d268]
cmp eax, esi
je 0x413d65
push ebp
call eax
add esp, 4
mov edx, dword [esp + 0x1c]
push edx
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x60], esi
call dword [0x46c004]
jmp 0x41454d
mov edx, dword [esp + 0x1c]
push edx
mov dword [esp + 0x18], 1
call dword [0x46c004]
jmp 0x41454d
push ebp
call fcn.0043aee0
add esp, 4
cmp dword [ebx], esi
je 0x413db2
push esi
push ebx
mov eax, edi
call fcn.00411ae0
add esp, 8
mov dword [esp + 0x14], 1
jmp case.0x413713.1
mov ecx, dword [ebx]
lea eax, [esp + 0x20]
push eax
push ecx
call fcn.0040d4a0
mov esi, eax
add esp, 8
mov dword [esp + 0x5c], esi
test esi, esi
jne 0x413e06
cmp dword [esp + 0x20], eax
je case.0x413713.1
mov edx, dword [ebx]
mov eax, dword [edx + 0x2c0]
neg eax
sbb eax, eax
add eax, 0xc
mov ecx, ebp
call fcn.00411920
mov dword [esp + 0x10], 0xffffffff
jmp case.0x413713.1
push ebp
call fcn.0043aee0
push 0
jmp 0x413b0e
mov esi, dword [ebx]
lea edi, [esp + 0x38]
call fcn.00411fe0
mov dword [esp + 0x5c], eax
test eax, eax
jne 0x413e5d
mov eax, dword [esp + 0x38]
test eax, eax
je 0x413e50
xor ecx, ecx
cmp eax, 1
sete cl
lea ecx, [ecx + ecx + 0xa]
mov eax, ecx
mov ecx, ebp
call fcn.00411920
mov dword [esp + 0x10], 0xffffffff
jmp case.0x413713.1
mov dword [esp + 0x10], 0
jmp case.0x413713.1
push ebp
call fcn.0043aee0
mov eax, dword [esp + 0x60]
push 0
jmp 0x413b10
mov edx, dword [ebx]
push edx
push ebp
call fcn.00434ff0
push edi
call fcn.00412df0
mov eax, dword [ebx]
or edi, 0xffffffff
add esp, 0xc
cmp dword [eax + 0x34c], edi
jne 0x413ec6
cmp dword [eax + 0x350], edi
jne 0x413ec6
cmp dword [ebp + 0x4c28], 0
je 0x413eb7
mov eax, dword [eax + 0x340]
test dword [eax + 0x44], 0x1000
jne 0x413eb7
mov dword [ebp + 0x4c90], 7
cmp dword [ebp + 0x24], esi
je 0x413ee2
mov dword [ebp + 0x24], esi
mov eax, dword [0x45d2a0]
jmp 0x413ed8
mov eax, 0xd
cmp dword [ebp + 0x24], eax
je 0x413ee2
mov dword [ebp + 0x24], eax
mov eax, dword [0x45d294]
test eax, eax
je 0x413ee2
push ebp
call eax
add esp, 4
mov dword [esp + 0x10], edi
jmp case.0x413713.1
mov ecx, dword [ebx]
push ecx
push ebp
call fcn.00434f20
add esp, 8
test eax, eax
je case.0x413713.1
mov eax, 0xe
cmp dword [ebp + 0x24], eax
je 0x413ba0
mov dword [ebp + 0x24], eax
mov eax, dword [0x45d298]
jmp 0x413b96
mov edx, dword [ebx]
push edx
call fcn.0041f930
add esp, 4
test eax, eax
je 0x413f36
mov dword [esp + 0x5c], 0x2a
jmp case.0x413713.1
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x68]
mov dword [eax + 8], ecx
push ebp
mov dword [eax + 0xc], edx
call fcn.00437190
add esp, 0x14
mov dword [esp + 0x5c], eax
test eax, eax
jne case.0x413713.1
mov ecx, dword [ebp + 0x244]
mov edx, dword [ebp + 0x240]
xor edi, edi
xor ebx, ebx
test ecx, ecx
jl 0x413ff8
jg 0x413f85
test edx, edx
jbe 0x413ff8
mov esi, dword [esp + 0x4c]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [esp + 0x60]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x64]
mov dword [eax + 8], esi
mov esi, dword [esp + 0x68]
mov dword [eax + 0xc], esi
mov esi, dword [ebp + 0x818]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [ebp + 0x81c]
mov dword [eax + 4], esi
mov esi, dword [ebp + 0x820]
mov dword [eax + 8], esi
mov esi, dword [ebp + 0x824]
push ecx
mov ecx, dword [ebp + 0x828]
push edx
mov edx, dword [ebp + 0x76c]
mov dword [eax + 0xc], esi
mov eax, dword [ebp + 0x82c]
push eax
mov eax, dword [ebp + 0x768]
push ecx
push edx
push eax
call fcn.0041f5d0
cdq
add esp, 0x38
mov edi, eax
mov ebx, edx
mov ecx, dword [ebp + 0x24c]
mov esi, dword [ebp + 0x248]
xor eax, eax
xor edx, edx
test ecx, ecx
jl 0x414081
jg 0x414012
test esi, esi
jbe 0x414081
mov edx, dword [esp + 0x4c]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x60]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x64]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x68]
mov dword [eax + 0xc], edx
mov edx, dword [ebp + 0x830]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [ebp + 0x834]
mov dword [eax + 4], edx
mov edx, dword [ebp + 0x838]
mov dword [eax + 8], edx
mov edx, dword [ebp + 0x83c]
push ecx
mov ecx, dword [ebp + 0x840]
mov dword [eax + 0xc], edx
mov eax, dword [ebp + 0x844]
mov edx, dword [ebp + 0x764]
push esi
push eax
mov eax, dword [ebp + 0x760]
push ecx
push edx
push eax
call fcn.0041f5d0
add esp, 0x38
cdq
test ebx, ebx
jg 0x4140bb
jl 0x41408b
test edi, edi
ja 0x4140bb
test edx, edx
jg 0x4140bb
jl 0x414095
test eax, eax
ja 0x4140bb
cmp dword [ebp + 0x24], 0xe
je case.0x413713.1
mov dword [ebp + 0x24], 0xe
mov eax, dword [0x45d298]
test eax, eax
je case.0x413713.1
push ebp
call eax
jmp 0x41454d
cmp ebx, edx
jl 0x4140d7
jg 0x4140c5
cmp edi, eax
jb 0x4140d7
push 9
push ebx
push edi
push ebp
call fcn.00412a90
add esp, 0x10
jmp case.0x413713.1
push 9
push edx
push eax
push ebp
call fcn.00412a90
add esp, 0x10
jmp case.0x413713.1
mov ecx, dword [ebp + 0x244]
mov edx, dword [ebp + 0x240]
xor eax, eax
cmp ecx, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
jl 0x41418c
jg 0x414115
cmp edx, eax
jbe 0x41418c
mov esi, dword [esp + 0x4c]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [esp + 0x60]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x64]
mov dword [eax + 8], esi
mov esi, dword [esp + 0x68]
mov dword [eax + 0xc], esi
mov esi, dword [ebp + 0x818]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [ebp + 0x81c]
push ecx
mov ecx, dword [ebp + 0x82c]
mov dword [eax + 4], esi
mov esi, dword [ebp + 0x820]
push edx
mov edx, dword [ebp + 0x828]
mov dword [eax + 8], esi
mov esi, dword [ebp + 0x824]
push ecx
mov ecx, dword [ebp + 0x768]
mov dword [eax + 0xc], esi
mov eax, dword [ebp + 0x76c]
push edx
push eax
push ecx
call fcn.0041f5d0
cdq
add esp, 0x38
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edx
mov ecx, dword [ebp + 0x24c]
mov edx, dword [ebp + 0x248]
xor esi, esi
xor edi, edi
test ecx, ecx
jl 0x414219
jg 0x4141a6
test edx, edx
jbe 0x414219
mov esi, dword [esp + 0x4c]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [esp + 0x60]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x64]
mov dword [eax + 8], esi
mov esi, dword [esp + 0x68]
mov dword [eax + 0xc], esi
mov esi, dword [ebp + 0x830]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [ebp + 0x834]
mov dword [eax + 4], esi
mov esi, dword [ebp + 0x838]
push ecx
mov ecx, dword [ebp + 0x764]
push edx
mov edx, dword [ebp + 0x844]
mov dword [eax + 8], esi
mov esi, dword [ebp + 0x83c]
push edx
mov edx, dword [ebp + 0x760]
mov dword [eax + 0xc], esi
mov eax, dword [ebp + 0x840]
push eax
push ecx
push edx
call fcn.0041f5d0
cdq
add esp, 0x38
mov esi, eax
mov edi, edx
cmp dword [esp + 0x40], 0
jg 0x414465
jl 0x414231
cmp dword [esp + 0x3c], 0
ja 0x414465
test edi, edi
jg 0x414465
jl 0x414243
test esi, esi
ja 0x414465
mov edx, dword [ebx]
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x28]
push ecx
push ebp
push edx
call fcn.00439270
add esp, 0x10
test byte [ebp + 0x134], 1
mov esi, eax
mov dword [esp + 0x5c], esi
jne 0x414273
mov eax, dword [ebx]
push eax
call fcn.00434f80
add esp, 4
test byte [ebp + 0x134], 2
jne 0x414287
mov ecx, dword [ebx]
push ecx
call fcn.00434f70
add esp, 4
cmp dword [esp + 0x24], 0
jne 0x414293
cmp esi, 0x38
jne 0x4142c4
mov eax, dword [ebx]
lea edx, [esp + 0x1c]
push edx
push eax
call fcn.00439f10
add esp, 8
test eax, eax
jne 0x4142c4
xor ecx, ecx
cmp dword [esp + 0x1c], ecx
setne cl
mov edi, ecx
test edi, edi
je 0x4142c8
mov dword [esp + 0x5c], eax
mov dword [esp + 0x24], 1
jmp 0x414318
mov edi, dword [esp + 0x28]
test esi, esi
je 0x41430d
mov eax, dword [ebx]
mov edx, dword [eax + 0x340]
test byte [edx + 0x44], 2
jne 0x4142ea
cmp esi, 0x5c
je 0x4142ea
push 2
push eax
call fcn.00417a80
add esp, 8
push ebp
call fcn.0043aee0
push 1
push ebx
mov eax, esi
call fcn.00411ae0
mov edx, dword [esp + 0x28]
add esp, 0xc
push edx
call dword [0x46c004]
jmp 0x41454d
cmp dword [esp + 0x24], 0
je 0x414446
push ebp
call fcn.0043aee0
mov eax, dword [ebx]
add eax, 0x3c8
push eax
push ebp
call fcn.0040d040
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x3c8]
xor esi, esi
add esp, 0xc
cmp eax, esi
je 0x41434c
mov edx, dword [eax]
push 6
push esi
push esi
push edx
call fcn.00412a90
add esp, 0x10
mov eax, dword [esp + 0x48]
push eax
call fcn.00412df0
add esp, 4
cmp dword [ebp + 0x148], esi
jne 0x4143ce
cmp edi, esi
jne 0x4143f7
cmp dword [ebp + 0x144], esi
je 0x4143a8
mov ecx, dword [esp + 0x1c]
push ecx
call dword [0x46c004]
mov eax, dword [ebp + 0x144]
push 1
push eax
push ebp
mov dword [esp + 0x2c], eax
mov dword [ebp + 0x144], esi
call fcn.00439c50
add esp, 0x10
mov dword [esp + 0x5c], eax
cmp eax, esi
je 0x4143a8
mov dword [esp + 0x14], 1
mov eax, 0x10
cmp dword [ebp + 0x24], eax
je 0x41444d
mov dword [ebp + 0x24], eax
mov eax, dword [0x45d2a0]
cmp eax, esi
je 0x41444d
push ebp
call eax
add esp, 4
jmp 0x41444d
cmp edi, esi
jne 0x4143f7
mov edx, dword [esp + 0x1c]
push edx
call dword [0x46c004]
mov eax, dword [ebp + 0x148]
mov dword [ebp + 0x148], esi
add esp, 4
mov dword [esp + 0x1c], eax
mov esi, 3
jmp 0x4143fc
mov esi, 2
push 0
push ebx
xor eax, eax
call fcn.00411ae0
add esp, 8
mov dword [esp + 0x5c], eax
test eax, eax
jne 0x414455
mov ecx, dword [esp + 0x1c]
push esi
push ecx
push ebp
call fcn.00439c50
add esp, 0xc
mov dword [esp + 0x5c], eax
test eax, eax
jne 0x414455
mov eax, 2
cmp dword [ebp + 0x24], eax
je 0x41444d
mov dword [ebp + 0x24], eax
mov eax, dword [0x45d268]
test eax, eax
je 0x41444d
push ebp
call eax
add esp, 4
jmp 0x41444d
cmp dword [esp + 0x2c], 0
je 0x414455
mov dword [esp + 0x10], 0xffffffff
mov edx, dword [esp + 0x1c]
push edx
call dword [0x46c004]
jmp 0x41454d
mov eax, 0xf
cmp dword [ebp + 0x24], eax
je 0x414481
mov dword [ebp + 0x24], eax
mov eax, dword [0x45d29c]
test eax, eax
je 0x414481
push ebp
call eax
add esp, 4
cmp dword [esp + 0x40], edi
jl 0x4144a9
jg 0x41448f
cmp dword [esp + 0x3c], esi
jb 0x4144a9
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
push 9
push eax
push ecx
push ebp
call fcn.00412a90
add esp, 0x10
jmp case.0x413713.1
push 9
push edi
push esi
push ebp
call fcn.00412a90
add esp, 0x10
jmp case.0x413713.1
mov eax, dword [ebx]
mov dword [esp + 0x10], 0xffffffff
test eax, eax
je 0x4144ff
add eax, 0x3c8
push eax
push ebp
call fcn.0040d040
push edi
call fcn.00412df0
mov esi, dword [esp + 0x68]
push 0
push ebx
mov eax, esi
call fcn.00411ae0
add esp, 0x14
test esi, esi
jne 0x4144f4
mov dword [esp + 0x5c], eax
cmp dword [ebx], 0
je 0x4144ff
mov dword [ebx], 0
cmp dword [ebp + 0x4c28], 0
je 0x414520
cmp dword [ebp + 0x4c90], 7
je 0x414520
cmp dword [ebp + 0x24], 0
je case.0x413713.1
mov dword [ebp + 0x24], 0
jmp case.0x413713.1
mov eax, 0x11
cmp dword [ebp + 0x24], eax
je case.0x413713.1
mov dword [ebp + 0x24], eax
mov eax, dword [ebp + 0x64]
dec dword [eax + 0x10]
mov eax, dword [0x45d2a4]
test eax, eax
je case.0x413713.1
push ebp
call eax
jmp 0x41454d
push ebp
mov dword [ebx], 0
call fcn.00412cb0
add esp, 4
mov ebx, 0x11
cmp dword [ebp + 0x24], ebx
jge 0x414652
mov esi, dword [esp + 0x5c]
test esi, esi
je 0x41460c
mov edi, dword [esp + 0x48]
push edi
mov dword [ebp + 0x4c34], 0
call fcn.00412df0
mov eax, dword [ebp + 8]
add esp, 4
test eax, eax
je 0x4145de
push eax
call fcn.00434f70
mov edx, dword [ebp + 8]
push edx
call fcn.00434f80
mov eax, dword [ebp + 8]
add eax, 0x3b8
push eax
push ebp
call fcn.0040d040
mov ecx, dword [ebp + 8]
add ecx, 0x3c8
push ecx
push ebp
call fcn.0040d040
add esp, 0x18
cmp dword [esp + 0x14], 0
je 0x4145ed
mov eax, dword [ebp + 8]
xor edx, edx
cmp esi, 0x1c
sete dl
push edx
push eax
call fcn.0040f230
add esp, 8
mov dword [ebp + 8], 0
jmp 0x4145ed
cmp dword [ebp + 0x24], 2
jne 0x4145ed
push ebp
call fcn.0043aee0
add esp, 4
cmp dword [ebp + 0x24], ebx
je 0x414656
mov eax, dword [ebp + 0x64]
mov dword [ebp + 0x24], ebx
dec dword [eax + 0x10]
mov eax, dword [0x45d2a4]
test eax, eax
je 0x414656
push ebp
call eax
add esp, 4
jmp 0x414656
mov eax, dword [ebp + 8]
test eax, eax
je 0x414652
push eax
call fcn.0041f930
add esp, 4
test eax, eax
je 0x414652
mov ecx, dword [ebp + 8]
push 2
push ecx
mov dword [esp + 0x64], 0x2a
call fcn.00417a80
xor eax, eax
add esp, 8
cmp dword [ebp + 0x24], 0x10
mov ecx, ebp
setge al
add eax, 0x10
call fcn.00411920
mov edi, dword [esp + 0x48]
or esi, 0xffffffff
jmp 0x41465a
mov edi, dword [esp + 0x48]
mov esi, dword [esp + 0x10]
cmp dword [ebp + 0x24], ebx
jne 0x41345d
mov edx, dword [esp + 0x5c]
lea eax, [ebp + 0x2c]
push eax
push eax
mov dword [eax + 0xc], 1
mov dword [eax + 0x10], ebp
mov dword [eax + 0x14], edx
mov eax, dword [edi + 0x18]
push eax
lea ecx, [edi + 0x14]
push ecx
call fcn.00434950
mov eax, 0x12
add esp, 0x10
xor esi, esi
cmp dword [ebp + 0x24], eax
je 0x413462
mov dword [ebp + 0x24], eax
mov eax, dword [0x45d2a8]
test eax, eax
je 0x413462
push ebp
call eax
add esp, 4
jmp 0x413462
mov edx, dword [ebp + 0x24]
push edx
push str.In_state__d_with_no_easy_conn__bail_out__n
push ebp
call fcn.00414f30
add esp, 0xc
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
mov dword [ebp + 0x28], ecx
pop ebp
xor eax, eax
pop ebx
add esp, 0x34
ret