Function at 0x4138e0
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 0x413911
cmp dword [ebp + 0x4d68], 0xc0dedbad
je 0x413922
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 0x413999
mov eax, dword [ebp + 0x4c3c]
push eax
push ebp
push str.Pipe_broke:_handle__p__url___s_n
push ebp
call fcn.004153c0
mov eax, dword [ebp + 0x24]
add esp, 0x10
cmp eax, 0x11
jge 0x413974
cmp eax, 2
je 0x41396d
mov dword [ebp + 0x24], 2
mov eax, dword [0x45d278]
cmp eax, ebx
je 0x41396d
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 0x413920
cmp dword [edi + 0x7c], 0
jne 0x413920
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 0x4139b7
mov eax, dword [ebp + 0x24]
cmp eax, 2
jle 0x4139b7
cmp eax, esi
jl 0x414bd4
mov eax, dword [edi + 0x7c]
mov dword [edi + 0x7c], 0
test eax, eax
je 0x4139ce
push edi
call fcn.00413310
add esp, 4
mov ecx, dword [ebx]
test ecx, ecx
je 0x4139e3
mov eax, dword [ebp + 0x24]
cmp eax, 2
jle 0x4139e3
cmp eax, 0x11
jge 0x4139e3
mov dword [ecx], ebp
cmp dword [ebx], 0
je 0x413c27
mov eax, dword [ebp + 0x24]
cmp eax, 2
jl 0x413c27
cmp eax, 0x11
jge 0x413c27
xor ecx, ecx
cmp eax, 8
setle cl
lea edx, [esp + 0x4c]
push ecx
push edx
push ebp
call fcn.00417500
add esp, 0xc
test edx, edx
jg 0x413c27
jl 0x413a2a
test eax, eax
jae 0x413c27
mov eax, dword [ebp + 0x24]
cmp eax, 3
jne 0x413a94
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.00414da0
push edx
push eax
push str.Resolving_timed_out_after__ld_milliseconds
push ebp
call fcn.00415450
add esp, 0x30
jmp 0x413bf3
cmp eax, 4
jne 0x413afb
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.00414da0
push edx
push eax
push str.Connection_timed_out_after__ld_milliseconds
push ebp
call fcn.00415450
add esp, 0x30
jmp 0x413bf3
mov eax, dword [ebp + 0x70]
mov ecx, dword [ebp + 0x74]
mov edx, eax
and edx, ecx
cmp edx, 0xffffffff
je 0x413b82
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.00414da0
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.00415450
add esp, 0x20
jmp 0x413bf3
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.00414da0
add esp, 0x20
push edx
push eax
push str.Operation_timed_out_after__ld_milliseconds_with__I64d_bytes_received
push ebp
call fcn.00415450
add esp, 0x18
cmp dword [ebp + 0x24], 9
jle 0x413c0e
mov eax, dword [ebx]
push 2
push eax
call fcn.00417fb0
add esp, 8
mov dword [esp + 0x14], 1
mov eax, 0x1c
push 1
push ebx
mov dword [esp + 0x64], eax
call fcn.00412000
add esp, 8
jmp case.0x413c33.1
mov eax, dword [ebp + 0x24]
cmp eax, 0x12
ja case.default.0x413c33
jmp dword [eax*4 + 0x414c04]
push ebp
call fcn.00439c60
add esp, 4
mov dword [esp + 0x5c], eax
test eax, eax
jne case.0x413c33.1
mov eax, 2
cmp dword [ebp + 0x24], eax
je 0x413c6b
mov dword [ebp + 0x24], eax
mov eax, dword [0x45d278]
test eax, eax
je 0x413c6b
push ebp
call eax
add esp, 4
push 1
push ebp
call fcn.0041f880
add esp, 8
mov dword [esp + 0x10], 0xffffffff
jmp case.0x413c33.1
push 2
push ebp
call fcn.0041f880
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x3c]
push edx
push ebx
push ebp
call fcn.00411db0
add esp, 0x18
mov dword [esp + 0x5c], eax
cmp eax, 0x59
jne 0x413cd7
mov eax, 1
cmp dword [ebp + 0x24], eax
je 0x413cb5
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.00434e80
add esp, 0x10
mov dword [esp + 0x5c], 0
jmp case.0x413c33.1
test eax, eax
jne case.0x413c33.1
mov edx, dword [ebx]
push edx
push ebp
call fcn.004354b0
add esp, 8
mov dword [esp + 0x5c], eax
test eax, eax
jne 0x414039
cmp dword [esp + 0x30], eax
je 0x413d07
mov eax, 3
jmp 0x413f80
cmp dword [esp + 0x18], 0
mov dword [esp + 0x10], 0xffffffff
je 0x413d34
push 1
push edi
call fcn.00412200
add esp, 8
neg eax
sbb eax, eax
add eax, 9
mov ecx, ebp
call fcn.00411e40
jmp case.0x413c33.1
mov eax, dword [ebx]
push eax
call fcn.004363e0
add esp, 4
test eax, eax
jne 0x413f7b
mov eax, 4
cmp dword [ebp + 0x24], eax
je case.0x413c33.1
mov dword [ebp + 0x24], eax
jmp case.0x413c33.1
mov esi, dword [ebx]
mov dword [esp + 0x1c], 0
cmp dword [esi + 0x2a8], 0
je 0x413d78
mov edi, dword [esi + 0xe4]
jmp 0x413d8f
cmp dword [esi + 0x29c], 0
je 0x413d89
mov edi, dword [esi + 0xb4]
jmp 0x413d8f
mov edi, dword [esi + 0xa0]
mov ecx, dword [esi + 0xfc]
push ecx
push edi
push esi
call fcn.0040c7e0
add esp, 0xc
mov dword [esp + 0x1c], eax
test eax, eax
je 0x413dd6
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.004153c0
add esp, 0xc
cmp dword [esp + 0x1c], 0
jne 0x413dee
mov eax, dword [ebx]
lea edx, [esp + 0x1c]
push edx
push eax
call fcn.0040b2c0
mov edi, eax
add esp, 8
mov dword [esp + 0x5c], edi
jmp 0x413df2
mov edi, dword [esp + 0x5c]
mov esi, dword [esp + 0x48]
push ebp
push esi
call fcn.004126b0
add esp, 8
cmp dword [esp + 0x1c], 0
je 0x413e74
mov edx, dword [ebx]
lea ecx, [esp + 0x18]
push ecx
push edx
call fcn.0041b3b0
mov edi, eax
add esp, 8
mov dword [esp + 0x5c], edi
test edi, edi
je 0x413e29
mov dword [ebx], 0
jmp 0x413e74
cmp dword [esp + 0x18], 0
mov dword [esp + 0x10], 0xffffffff
je 0x413e53
push 1
push esi
call fcn.00412200
add esp, 8
neg eax
sbb eax, eax
add eax, 9
mov ecx, ebp
call fcn.00411e40
jmp 0x413e74
mov eax, dword [ebx]
push eax
call fcn.004363e0
add esp, 4
test eax, eax
mov eax, 5
jne 0x413e6c
mov eax, 4
cmp dword [ebp + 0x24], eax
je 0x413e74
mov dword [ebp + 0x24], eax
test edi, edi
je case.0x413c33.1
mov dword [esp + 0x14], 1
jmp case.0x413c33.1
mov edx, dword [ebx]
lea ecx, [esp + 0x18]
push ecx
push edx
call fcn.00432430
mov ecx, eax
mov eax, dword [ebx]
add esp, 8
cmp dword [eax + 0x2f8], 0
mov dword [esp + 0x5c], ecx
je 0x413eed
push 0
push ebx
xor eax, eax
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x64], 0
call fcn.00412000
add esp, 8
cmp dword [ebp + 0x24], 2
je case.0x413c33.1
mov dword [ebp + 0x24], 2
mov eax, dword [0x45d278]
test eax, eax
je case.0x413c33.1
push ebp
call eax
jmp 0x414a6d
test ecx, ecx
jne case.0x413c33.1
cmp dword [eax + 0xf0], 2
jne 0x413f0a
cmp dword [eax + 0x314], ecx
je case.0x413c33.1
push eax
call fcn.004363c0
add esp, 4
test eax, eax
je case.0x413c33.1
mov eax, 6
mov dword [esp + 0x10], 0xffffffff
cmp dword [ebp + 0x24], eax
je case.0x413c33.1
mov dword [ebp + 0x24], eax
jmp case.0x413c33.1
mov ecx, dword [ebx]
lea eax, [esp + 0x34]
push eax
push 0
push ecx
call fcn.004185f0
add esp, 0xc
cmp dword [esp + 0x34], 0
mov dword [esp + 0x5c], eax
je 0x413fb4
test eax, eax
jne 0x413fbc
mov eax, dword [ebx]
cmp dword [eax + 0xf0], 2
jne 0x413f6e
cmp dword [eax + 0x314], 0
je 0x413f7b
push eax
call fcn.004363e0
add esp, 4
test eax, eax
je 0x413f91
mov eax, 5
cmp dword [ebp + 0x24], eax
je case.0x413c33.1
mov dword [ebp + 0x24], eax
jmp case.0x413c33.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.00411e40
jmp case.0x413c33.1
test eax, eax
je case.0x413c33.1
mov dword [esp + 0x14], 1
jmp case.0x413c33.1
mov ecx, dword [ebx]
lea eax, [esp + 0x18]
push eax
push ecx
call fcn.0040da00
add esp, 8
cmp dword [esp + 0x18], 0
mov esi, eax
mov dword [esp + 0x5c], esi
jne 0x413ffc
cmp dword [ebp + 0x24], 7
je case.0x413c33.1
mov dword [ebp + 0x24], 7
jmp case.0x413c33.1
test esi, esi
jne 0x414026
push 1
push edi
call fcn.00412200
add esp, 8
neg eax
sbb eax, eax
add eax, 9
mov ecx, ebp
call fcn.00411e40
mov dword [esp + 0x10], 0xffffffff
jmp case.0x413c33.1
push ebp
call fcn.0040c340
push 1
mov eax, esi
push ebx
call fcn.00412000
add esp, 0xc
mov dword [esp + 0x14], 1
jmp case.0x413c33.1
mov eax, dword [ebx]
lea edx, [esp + 0x18]
push edx
push eax
call fcn.0040d980
mov esi, eax
add esp, 8
mov dword [esp + 0x5c], esi
test esi, esi
jne 0x414026
cmp dword [esp + 0x18], eax
je case.0x413c33.1
push 1
push edi
call fcn.00412200
add esp, 8
neg eax
sbb eax, eax
add eax, 9
mov ecx, ebp
call fcn.00411e40
mov dword [esp + 0x10], 0xffffffff
jmp case.0x413c33.1
mov ecx, dword [ebx]
push ecx
push ebp
call fcn.004353f0
add esp, 8
test eax, eax
je case.0x413c33.1
mov eax, 9
cmp dword [ebp + 0x24], eax
je 0x4140c0
mov dword [ebp + 0x24], eax
mov eax, dword [0x45d294]
test eax, eax
je 0x4140c0
push ebp
call eax
add esp, 4
mov dword [esp + 0x10], 0xffffffff
jmp case.0x413c33.1
cmp dword [ebp + 0x5ac], 0
je 0x41410f
mov edx, dword [ebx]
push 0
push edx
call fcn.00417fb0
add esp, 8
cmp dword [ebp + 0x24], esi
je 0x4140fa
mov dword [ebp + 0x24], esi
mov eax, dword [0x45d2b0]
test eax, eax
je 0x4140fa
push ebp
call eax
add esp, 4
mov dword [esp + 0x5c], 0
mov dword [esp + 0x10], 0xffffffff
jmp case.0x413c33.1
lea eax, [esp + 0x20]
push eax
lea ebx, [ebp + 8]
call fcn.00412470
mov edi, eax
xor esi, esi
add esp, 4
mov dword [esp + 0x5c], edi
cmp edi, esi
jne 0x4141d6
cmp dword [esp + 0x20], esi
jne 0x41418a
cmp dword [ebp + 0x4c28], esi
je 0x414176
mov eax, dword [ebp + 0x4c90]
cmp eax, 7
je 0x41414d
cmp eax, 5
jne 0x414176
push esi
push ebx
xor eax, eax
call fcn.00412000
mov eax, 0x10
add esp, 8
cmp dword [ebp + 0x24], eax
je 0x4140c0
mov dword [ebp + 0x24], eax
mov eax, dword [0x45d2b0]
cmp eax, esi
jmp 0x4140b8
mov eax, 0xa
cmp dword [ebp + 0x24], eax
je 0x4141b0
mov dword [ebp + 0x24], eax
mov eax, dword [0x45d298]
jmp 0x4141a6
mov ecx, dword [ebx]
cmp dword [ecx + 0x2c0], esi
je 0x4141b9
mov eax, 0xb
cmp dword [ebp + 0x24], eax
je 0x4141b0
mov dword [ebp + 0x24], eax
mov eax, dword [0x45d29c]
cmp eax, esi
je 0x4141b0
push ebp
call eax
add esp, 4
mov dword [esp + 0x10], esi
jmp case.0x413c33.1
mov eax, 0xc
cmp dword [ebp + 0x24], eax
je 0x4140c0
mov dword [ebp + 0x24], eax
mov eax, dword [0x45d2a0]
cmp eax, esi
jmp 0x4140b8
cmp edi, 0x37
jne 0x4142b9
mov eax, dword [ebx]
cmp dword [eax + 0x298], esi
je 0x4142b9
lea edx, [esp + 0x1c]
push edx
push eax
mov dword [esp + 0x24], esi
xor edi, edi
call fcn.0043a420
add esp, 8
cmp eax, esi
je 0x414213
mov dword [esp + 0x5c], eax
mov dword [esp + 0x14], 1
jmp 0x41421e
xor eax, eax
cmp dword [esp + 0x1c], esi
setne al
mov edi, eax
push ebp
call fcn.0040c340
lea eax, [ebp + 8]
push esi
push eax
mov eax, dword [esp + 0x68]
call fcn.00412000
add esp, 0xc
cmp edi, esi
je 0x4142a1
cmp eax, esi
je 0x414256
cmp eax, 0x37
je 0x414256
mov edx, dword [esp + 0x1c]
push edx
mov dword [esp + 0x60], eax
call dword [0x46d004]
jmp 0x414a6d
mov ecx, dword [esp + 0x1c]
mov edi, 2
push edi
push ecx
push ebp
call fcn.0043a160
add esp, 0xc
cmp eax, esi
jne 0x414242
cmp dword [ebp + 0x24], edi
je 0x414285
mov dword [ebp + 0x24], edi
mov eax, dword [0x45d278]
cmp eax, esi
je 0x414285
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 [0x46d004]
jmp 0x414a6d
mov edx, dword [esp + 0x1c]
push edx
mov dword [esp + 0x18], 1
call dword [0x46d004]
jmp 0x414a6d
push ebp
call fcn.0040c340
add esp, 4
cmp dword [ebx], esi
je 0x4142d2
push esi
push ebx
mov eax, edi
call fcn.00412000
add esp, 8
mov dword [esp + 0x14], 1
jmp case.0x413c33.1
mov ecx, dword [ebx]
lea eax, [esp + 0x20]
push eax
push ecx
call fcn.0040d9c0
mov esi, eax
add esp, 8
mov dword [esp + 0x5c], esi
test esi, esi
jne 0x414326
cmp dword [esp + 0x20], eax
je case.0x413c33.1
mov edx, dword [ebx]
mov eax, dword [edx + 0x2c0]
neg eax
sbb eax, eax
add eax, 0xc
mov ecx, ebp
call fcn.00411e40
mov dword [esp + 0x10], 0xffffffff
jmp case.0x413c33.1
push ebp
call fcn.0040c340
push 0
jmp 0x41402e
mov esi, dword [ebx]
lea edi, [esp + 0x38]
call fcn.00412500
mov dword [esp + 0x5c], eax
test eax, eax
jne 0x41437d
mov eax, dword [esp + 0x38]
test eax, eax
je 0x414370
xor ecx, ecx
cmp eax, 1
sete cl
lea ecx, [ecx + ecx + 0xa]
mov eax, ecx
mov ecx, ebp
call fcn.00411e40
mov dword [esp + 0x10], 0xffffffff
jmp case.0x413c33.1
mov dword [esp + 0x10], 0
jmp case.0x413c33.1
push ebp
call fcn.0040c340
mov eax, dword [esp + 0x60]
push 0
jmp 0x414030
mov edx, dword [ebx]
push edx
push ebp
call fcn.00435510
push edi
call fcn.00413310
mov eax, dword [ebx]
or edi, 0xffffffff
add esp, 0xc
cmp dword [eax + 0x34c], edi
jne 0x4143e6
cmp dword [eax + 0x350], edi
jne 0x4143e6
cmp dword [ebp + 0x4c28], 0
je 0x4143d7
mov eax, dword [eax + 0x340]
test dword [eax + 0x44], 0x1000
jne 0x4143d7
mov dword [ebp + 0x4c90], 7
cmp dword [ebp + 0x24], esi
je 0x414402
mov dword [ebp + 0x24], esi
mov eax, dword [0x45d2b0]
jmp 0x4143f8
mov eax, 0xd
cmp dword [ebp + 0x24], eax
je 0x414402
mov dword [ebp + 0x24], eax
mov eax, dword [0x45d2a4]
test eax, eax
je 0x414402
push ebp
call eax
add esp, 4
mov dword [esp + 0x10], edi
jmp case.0x413c33.1
mov ecx, dword [ebx]
push ecx
push ebp
call fcn.00435440
add esp, 8
test eax, eax
je case.0x413c33.1
mov eax, 0xe
cmp dword [ebp + 0x24], eax
je 0x4140c0
mov dword [ebp + 0x24], eax
mov eax, dword [0x45d2a8]
jmp 0x4140b6
mov edx, dword [ebx]
push edx
call fcn.0041fe60
add esp, 4
test eax, eax
je 0x414456
mov dword [esp + 0x5c], 0x2a
jmp case.0x413c33.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.004376b0
add esp, 0x14
mov dword [esp + 0x5c], eax
test eax, eax
jne case.0x413c33.1
mov ecx, dword [ebp + 0x244]
mov edx, dword [ebp + 0x240]
xor edi, edi
xor ebx, ebx
test ecx, ecx
jl 0x414518
jg 0x4144a5
test edx, edx
jbe 0x414518
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.0041fb00
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 0x4145a1
jg 0x414532
test esi, esi
jbe 0x4145a1
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.0041fb00
add esp, 0x38
cdq
test ebx, ebx
jg 0x4145db
jl 0x4145ab
test edi, edi
ja 0x4145db
test edx, edx
jg 0x4145db
jl 0x4145b5
test eax, eax
ja 0x4145db
cmp dword [ebp + 0x24], 0xe
je case.0x413c33.1
mov dword [ebp + 0x24], 0xe
mov eax, dword [0x45d2a8]
test eax, eax
je case.0x413c33.1
push ebp
call eax
jmp 0x414a6d
cmp ebx, edx
jl 0x4145f7
jg 0x4145e5
cmp edi, eax
jb 0x4145f7
push 9
push ebx
push edi
push ebp
call fcn.00412fb0
add esp, 0x10
jmp case.0x413c33.1
push 9
push edx
push eax
push ebp
call fcn.00412fb0
add esp, 0x10
jmp case.0x413c33.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 0x4146ac
jg 0x414635
cmp edx, eax
jbe 0x4146ac
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.0041fb00
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 0x414739
jg 0x4146c6
test edx, edx
jbe 0x414739
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.0041fb00
cdq
add esp, 0x38
mov esi, eax
mov edi, edx
cmp dword [esp + 0x40], 0
jg 0x414985
jl 0x414751
cmp dword [esp + 0x3c], 0
ja 0x414985
test edi, edi
jg 0x414985
jl 0x414763
test esi, esi
ja 0x414985
mov edx, dword [ebx]
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x28]
push ecx
push ebp
push edx
call fcn.00439780
add esp, 0x10
test byte [ebp + 0x134], 1
mov esi, eax
mov dword [esp + 0x5c], esi
jne 0x414793
mov eax, dword [ebx]
push eax
call fcn.004354a0
add esp, 4
test byte [ebp + 0x134], 2
jne 0x4147a7
mov ecx, dword [ebx]
push ecx
call fcn.00435490
add esp, 4
cmp dword [esp + 0x24], 0
jne 0x4147b3
cmp esi, 0x38
jne 0x4147e4
mov eax, dword [ebx]
lea edx, [esp + 0x1c]
push edx
push eax
call fcn.0043a420
add esp, 8
test eax, eax
jne 0x4147e4
xor ecx, ecx
cmp dword [esp + 0x1c], ecx
setne cl
mov edi, ecx
test edi, edi
je 0x4147e8
mov dword [esp + 0x5c], eax
mov dword [esp + 0x24], 1
jmp 0x414838
mov edi, dword [esp + 0x28]
test esi, esi
je 0x41482d
mov eax, dword [ebx]
mov edx, dword [eax + 0x340]
test byte [edx + 0x44], 2
jne 0x41480a
cmp esi, 0x5c
je 0x41480a
push 2
push eax
call fcn.00417fb0
add esp, 8
push ebp
call fcn.0040c340
push 1
push ebx
mov eax, esi
call fcn.00412000
mov edx, dword [esp + 0x28]
add esp, 0xc
push edx
call dword [0x46d004]
jmp 0x414a6d
cmp dword [esp + 0x24], 0
je 0x414966
push ebp
call fcn.0040c340
mov eax, dword [ebx]
add eax, 0x3c8
push eax
push ebp
call fcn.0040d560
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x3c8]
xor esi, esi
add esp, 0xc
cmp eax, esi
je 0x41486c
mov edx, dword [eax]
push 6
push esi
push esi
push edx
call fcn.00412fb0
add esp, 0x10
mov eax, dword [esp + 0x48]
push eax
call fcn.00413310
add esp, 4
cmp dword [ebp + 0x148], esi
jne 0x4148ee
cmp edi, esi
jne 0x414917
cmp dword [ebp + 0x144], esi
je 0x4148c8
mov ecx, dword [esp + 0x1c]
push ecx
call dword [0x46d004]
mov eax, dword [ebp + 0x144]
push 1
push eax
push ebp
mov dword [esp + 0x2c], eax
mov dword [ebp + 0x144], esi
call fcn.0043a160
add esp, 0x10
mov dword [esp + 0x5c], eax
cmp eax, esi
je 0x4148c8
mov dword [esp + 0x14], 1
mov eax, 0x10
cmp dword [ebp + 0x24], eax
je 0x41496d
mov dword [ebp + 0x24], eax
mov eax, dword [0x45d2b0]
cmp eax, esi
je 0x41496d
push ebp
call eax
add esp, 4
jmp 0x41496d
cmp edi, esi
jne 0x414917
mov edx, dword [esp + 0x1c]
push edx
call dword [0x46d004]
mov eax, dword [ebp + 0x148]
mov dword [ebp + 0x148], esi
add esp, 4
mov dword [esp + 0x1c], eax
mov esi, 3
jmp 0x41491c
mov esi, 2
push 0
push ebx
xor eax, eax
call fcn.00412000
add esp, 8
mov dword [esp + 0x5c], eax
test eax, eax
jne 0x414975
mov ecx, dword [esp + 0x1c]
push esi
push ecx
push ebp
call fcn.0043a160
add esp, 0xc
mov dword [esp + 0x5c], eax
test eax, eax
jne 0x414975
mov eax, 2
cmp dword [ebp + 0x24], eax
je 0x41496d
mov dword [ebp + 0x24], eax
mov eax, dword [0x45d278]
test eax, eax
je 0x41496d
push ebp
call eax
add esp, 4
jmp 0x41496d
cmp dword [esp + 0x2c], 0
je 0x414975
mov dword [esp + 0x10], 0xffffffff
mov edx, dword [esp + 0x1c]
push edx
call dword [0x46d004]
jmp 0x414a6d
mov eax, 0xf
cmp dword [ebp + 0x24], eax
je 0x4149a1
mov dword [ebp + 0x24], eax
mov eax, dword [0x45d2ac]
test eax, eax
je 0x4149a1
push ebp
call eax
add esp, 4
cmp dword [esp + 0x40], edi
jl 0x4149c9
jg 0x4149af
cmp dword [esp + 0x3c], esi
jb 0x4149c9
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
push 9
push eax
push ecx
push ebp
call fcn.00412fb0
add esp, 0x10
jmp case.0x413c33.1
push 9
push edi
push esi
push ebp
call fcn.00412fb0
add esp, 0x10
jmp case.0x413c33.1
mov eax, dword [ebx]
mov dword [esp + 0x10], 0xffffffff
test eax, eax
je 0x414a1f
add eax, 0x3c8
push eax
push ebp
call fcn.0040d560
push edi
call fcn.00413310
mov esi, dword [esp + 0x68]
push 0
push ebx
mov eax, esi
call fcn.00412000
add esp, 0x14
test esi, esi
jne 0x414a14
mov dword [esp + 0x5c], eax
cmp dword [ebx], 0
je 0x414a1f
mov dword [ebx], 0
cmp dword [ebp + 0x4c28], 0
je 0x414a40
cmp dword [ebp + 0x4c90], 7
je 0x414a40
cmp dword [ebp + 0x24], 0
je case.0x413c33.1
mov dword [ebp + 0x24], 0
jmp case.0x413c33.1
mov eax, 0x11
cmp dword [ebp + 0x24], eax
je case.0x413c33.1
mov dword [ebp + 0x24], eax
mov eax, dword [ebp + 0x64]
dec dword [eax + 0x10]
mov eax, dword [0x45d2b4]
test eax, eax
je case.0x413c33.1
push ebp
call eax
jmp 0x414a6d
push ebp
mov dword [ebx], 0
call fcn.004131d0
add esp, 4
mov ebx, 0x11
cmp dword [ebp + 0x24], ebx
jge 0x414b72
mov esi, dword [esp + 0x5c]
test esi, esi
je 0x414b2c
mov edi, dword [esp + 0x48]
push edi
mov dword [ebp + 0x4c34], 0
call fcn.00413310
mov eax, dword [ebp + 8]
add esp, 4
test eax, eax
je 0x414afe
push eax
call fcn.00435490
mov edx, dword [ebp + 8]
push edx
call fcn.004354a0
mov eax, dword [ebp + 8]
add eax, 0x3b8
push eax
push ebp
call fcn.0040d560
mov ecx, dword [ebp + 8]
add ecx, 0x3c8
push ecx
push ebp
call fcn.0040d560
add esp, 0x18
cmp dword [esp + 0x14], 0
je 0x414b0d
mov eax, dword [ebp + 8]
xor edx, edx
cmp esi, 0x1c
sete dl
push edx
push eax
call fcn.0040f750
add esp, 8
mov dword [ebp + 8], 0
jmp 0x414b0d
cmp dword [ebp + 0x24], 2
jne 0x414b0d
push ebp
call fcn.0040c340
add esp, 4
cmp dword [ebp + 0x24], ebx
je 0x414b76
mov eax, dword [ebp + 0x64]
mov dword [ebp + 0x24], ebx
dec dword [eax + 0x10]
mov eax, dword [0x45d2b4]
test eax, eax
je 0x414b76
push ebp
call eax
add esp, 4
jmp 0x414b76
mov eax, dword [ebp + 8]
test eax, eax
je 0x414b72
push eax
call fcn.0041fe60
add esp, 4
test eax, eax
je 0x414b72
mov ecx, dword [ebp + 8]
push 2
push ecx
mov dword [esp + 0x64], 0x2a
call fcn.00417fb0
xor eax, eax
add esp, 8
cmp dword [ebp + 0x24], 0x10
mov ecx, ebp
setge al
add eax, 0x10
call fcn.00411e40
mov edi, dword [esp + 0x48]
or esi, 0xffffffff
jmp 0x414b7a
mov edi, dword [esp + 0x48]
mov esi, dword [esp + 0x10]
cmp dword [ebp + 0x24], ebx
jne 0x41397d
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.00434e80
mov eax, 0x12
add esp, 0x10
xor esi, esi
cmp dword [ebp + 0x24], eax
je 0x413982
mov dword [ebp + 0x24], eax
mov eax, dword [0x45d2b8]
test eax, eax
je 0x413982
push ebp
call eax
add esp, 4
jmp 0x413982
mov edx, dword [ebp + 0x24]
push edx
push str.In_state__d_with_no_easy_conn__bail_out__n
push ebp
call fcn.00415450
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