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

Disassembly:
sub esp, 0x34
push ebx
push ebp
push esi
push edi
xor edi, edi
mov esi, eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
cmp esi, edi
je 0x4c6d30
cmp dword [esi + 0x1058], 0xc0dedbad
jne 0x4c6d30
nop
xor ebp, ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], ebp
cmp dword [esi + 8], ebp
jne 0x4c5c00
mov eax, dword [esi + 0x30]
cmp eax, 2
jle 0x4c5c00
cmp eax, 0x10
jl 0x4c6d04
mov ebx, dword [esp + 0x48]
push 1
mov ecx, ebx
call fcn.004c4480
add esp, 4
test eax, eax
je 0x4c5c1b
mov eax, ebx
call fcn.004c5710
mov ecx, dword [esi + 8]
cmp ecx, ebp
je 0x4c5e81
mov eax, dword [esi + 0x30]
cmp eax, 2
jle 0x4c5c35
cmp eax, 0x11
jge 0x4c5c35
mov dword [ecx], esi
cmp dword [esi + 8], ebp
je 0x4c5e81
mov eax, dword [esi + 0x30]
cmp eax, 2
jl 0x4c5e81
cmp eax, 0x11
jge 0x4c5e81
xor ecx, ecx
cmp eax, 8
setle cl
lea edx, [esp + 0x4c]
push ecx
push edx
push esi
call fcn.004c7c30
add esp, 0xc
cmp edx, ebp
jg 0x4c5e81
jl 0x4c5c7c
cmp eax, ebp
jae 0x4c5e81
mov eax, dword [esi + 0x30]
cmp eax, 3
jne 0x4c5ce6
mov ecx, dword [esi + 0xb40]
mov edx, dword [esi + 0xb44]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esi + 0xb48]
mov dword [eax + 4], edx
mov edx, dword [esi + 0xb4c]
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.004e2eb0
push edx
push eax
push str.Resolving_timed_out_after__I64d_milliseconds
push esi
call fcn.004c2150
add esp, 0x30
jmp 0x4c5e4f
cmp eax, 4
jne 0x4c5d4d
mov ecx, dword [esi + 0xb40]
mov edx, dword [esi + 0xb44]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esi + 0xb48]
mov dword [eax + 4], edx
mov edx, dword [esi + 0xb4c]
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.004e2eb0
push edx
push eax
push str.Connection_timed_out_after__I64d_milliseconds
push esi
call fcn.004c2150
add esp, 0x30
jmp 0x4c5e4f
mov eax, dword [esi + 0x90]
mov ecx, dword [esi + 0x94]
mov edx, eax
and edx, ecx
cmp edx, 0xffffffff
je 0x4c5dde
mov edx, dword [esi + 0xb40]
push ecx
mov ecx, dword [esi + 0xa0]
push eax
mov eax, dword [esi + 0xa4]
push eax
push ecx
mov ecx, dword [esi + 0xb44]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esi + 0xb48]
mov dword [eax + 4], ecx
mov ecx, dword [esi + 0xb4c]
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.004e2eb0
add esp, 0x20
push edx
push eax
push str.Operation_timed_out_after__I64d_milliseconds_with__I64d_out_of__I64d_bytes_received
push esi
call fcn.004c2150
add esp, 0x20
jmp 0x4c5e4f
mov edx, dword [esi + 0xa4]
mov eax, dword [esi + 0xa0]
mov ecx, dword [esi + 0xb40]
push edx
mov edx, dword [esi + 0xb44]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esi + 0xb48]
mov dword [eax + 4], edx
mov edx, dword [esi + 0xb4c]
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.004e2eb0
add esp, 0x20
push edx
push eax
push str.Operation_timed_out_after__I64d_milliseconds_with__I64d_bytes_received
push esi
call fcn.004c2150
add esp, 0x18
cmp dword [esi + 0x30], 9
jle 0x4c5e6b
mov eax, dword [esi + 8]
push 2
push eax
call fcn.004c8950
add esp, 8
mov dword [esp + 0x14], 1
mov edi, 0x1c
push 1
mov ecx, edi
call fcn.004c5750
add esp, 4
jmp case.0x4c5e8d.1
mov eax, dword [esi + 0x30]
cmp eax, 0x12
ja case.default.0x4c5e8d
jmp dword [eax*4 + 0x4c6d40]
push esi
call fcn.004e6790
mov edi, eax
add esp, 4
cmp edi, ebp
jne case.0x4c5e8d.1
mov eax, 2
mov ecx, esi
call fcn.004c5240
push 1
push esi
call fcn.004e3ae0
add esp, 8
mov dword [esp + 0x10], 0xffffffff
jmp case.0x4c5e8d.1
push 2
push esi
call fcn.004e3ae0
mov eax, dword [esi + 0x640]
add esp, 8
cmp eax, ebp
je 0x4c5eee
cdq
push 8
push edx
push eax
push esi
call fcn.004c4ed0
add esp, 0x10
mov eax, dword [esi + 0x644]
cmp eax, ebp
je 0x4c5f06
cdq
push 2
push edx
push eax
push esi
call fcn.004c4ed0
add esp, 0x10
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x34]
push edx
push esi
call fcn.004bbbe0
mov edi, eax
add esp, 0xc
cmp edi, 0x59
jne 0x4c5f46
lea eax, [edi - 0x58]
mov ecx, esi
call fcn.004c5240
mov ecx, dword [ebx + 0x28]
lea eax, [esi + 0xc]
push eax
push esi
push ecx
add ebx, 0x24
push ebx
call fcn.004e0b40
add esp, 0x10
xor edi, edi
jmp case.0x4c5e8d.1
cmp edi, ebp
jne case.0x4c5e8d.1
mov edx, dword [esi + 8]
push edx
push esi
call fcn.004e11c0
mov edi, eax
add esp, 8
cmp edi, ebp
jne 0x4c61c7
cmp dword [esp + 0x30], ebp
je 0x4c5f75
mov eax, 3
jmp 0x4c6ba6
mov dword [esp + 0x10], 0xffffffff
cmp dword [esp + 0x18], ebp
je 0x4c5f9a
push 1
push ebx
call fcn.004c42c0
add esp, 8
neg eax
sbb eax, eax
add eax, 9
jmp 0x4c6ba6
mov eax, dword [esi + 8]
push eax
call fcn.004e20a0
add esp, 4
mov ecx, esi
test eax, eax
je 0x4c5fb6
mov eax, 5
jmp 0x4c6ba8
mov eax, 4
jmp 0x4c6ba8
mov edi, dword [esi + 8]
mov dword [esp + 0x1c], ebp
mov eax, dword [edi + 0x294]
test al, 0x20
je 0x4c5fd9
mov ebx, dword [edi + 0xe4]
jmp 0x4c5feb
test al, 4
je 0x4c5fe5
mov ebx, dword [edi + 0xb4]
jmp 0x4c5feb
mov ebx, dword [edi + 0x9c]
mov ecx, dword [edi + 0xfc]
push ecx
push ebx
push edi
call fcn.004c3630
add esp, 0xc
mov dword [esp + 0x1c], eax
cmp eax, ebp
je 0x4c6028
or dword [edi + 0x384], 1
push ebx
push str.Hostname__s_was_found_in_DNS_cache_n
mov dword [edi + 0x378], eax
push esi
xor edi, edi
call fcn.004c2070
add esp, 0xc
cmp dword [esp + 0x1c], ebp
jne 0x4c603b
mov eax, dword [esi + 8]
lea edx, [esp + 0x1c]
push edx
push eax
call fcn.004c3d60
add esp, 8
mov edi, eax
mov ebx, dword [esp + 0x48]
push esi
push ebx
call fcn.004c4590
add esp, 8
cmp dword [esp + 0x1c], ebp
je 0x4c60b2
mov edx, dword [esi + 8]
lea ecx, [esp + 0x18]
push ecx
push edx
call fcn.004c3db0
mov edi, eax
add esp, 8
cmp edi, ebp
je 0x4c606f
mov eax, esi
call fcn.004c42e0
jmp 0x4c60b2
mov dword [esp + 0x10], 0xffffffff
cmp dword [esp + 0x18], ebp
je 0x4c6091
push 1
push ebx
call fcn.004c42c0
add esp, 8
neg eax
sbb eax, eax
add eax, 9
jmp 0x4c60ab
mov eax, dword [esi + 8]
push eax
call fcn.004e20a0
add esp, 4
test eax, eax
mov eax, 5
jne 0x4c60ab
mov eax, 4
mov ecx, esi
call fcn.004c5240
cmp edi, ebp
je case.0x4c5e8d.1
mov dword [esp + 0x14], 1
jmp case.0x4c5e8d.1
mov edx, dword [esi + 8]
lea ecx, [esp + 0x18]
push ecx
push edx
call fcn.004de800
mov edi, eax
mov eax, dword [esi + 8]
add esp, 8
test dword [eax + 0x294], 0x800000
je 0x4c6106
push ebp
xor ecx, ecx
mov dword [esp + 0x14], 0xffffffff
xor edi, edi
call fcn.004c5750
add esp, 4
lea eax, [edi + 2]
jmp 0x4c6ba6
cmp edi, ebp
jne 0x4c60ba
cmp dword [eax + 0xf0], 2
jne 0x4c611f
cmp dword [eax + 0x284], ebp
je case.0x4c5e8d.1
push eax
call fcn.004e2080
add esp, 4
test eax, eax
je case.0x4c5e8d.1
mov dword [esp + 0x10], 0xffffffff
mov eax, 6
jmp 0x4c6ba6
mov ecx, dword [esi + 8]
lea eax, [esp + 0x34]
push eax
push ebp
push ecx
call fcn.004c8f50
add esp, 0xc
mov edi, eax
cmp dword [esp + 0x34], ebp
je 0x4c61ad
cmp edi, ebp
jne 0x4c61b5
mov eax, dword [esi + 8]
cmp dword [eax + 0xf0], 2
jne 0x4c6174
cmp dword [eax + 0x284], ebp
je 0x4c6181
push eax
call fcn.004e20a0
add esp, 4
test eax, eax
je 0x4c618b
mov eax, 5
jmp 0x4c6ba6
mov edx, dword [esi + 8]
mov eax, dword [edx + 0x294]
and eax, 0x4000
neg eax
sbb eax, eax
mov dword [esp + 0x10], 0xffffffff
add eax, 6
jmp 0x4c6ba6
cmp edi, ebp
je case.0x4c5e8d.1
push esi
call fcn.00546ad0
push 1
mov ecx, edi
call fcn.004c5750
add esp, 8
mov dword [esp + 0x14], 1
jmp case.0x4c5e8d.1
mov ecx, dword [esi + 8]
lea eax, [esp + 0x18]
push eax
push ecx
call fcn.004b7c50
mov edi, eax
add esp, 8
cmp edi, ebp
jne 0x4c61b5
cmp dword [esp + 0x18], ebp
jne 0x4c621c
mov eax, 7
jmp 0x4c6ba6
mov eax, dword [esi + 8]
lea edx, [esp + 0x18]
push edx
push eax
call fcn.004b7bd0
mov edi, eax
add esp, 8
cmp edi, ebp
jne 0x4c61b5
cmp dword [esp + 0x18], ebp
je case.0x4c5e8d.1
push 1
push ebx
call fcn.004c42c0
add esp, 8
neg eax
sbb eax, eax
add eax, 9
mov ecx, esi
call fcn.004c5240
mov dword [esp + 0x10], 0xffffffff
jmp case.0x4c5e8d.1
mov ecx, dword [esi + 8]
push ecx
push esi
call fcn.004e1100
add esp, 8
test eax, eax
je case.0x4c5e8d.1
mov eax, 9
mov ecx, esi
call fcn.004c5240
mov dword [esp + 0x10], 0xffffffff
jmp case.0x4c5e8d.1
test byte [esi + 0xa90], 0x40
je 0x4c62a1
mov edx, dword [esi + 8]
push ebp
push edx
call fcn.004c8950
add esp, 8
mov eax, 0x10
mov ecx, esi
call fcn.004c5240
xor edi, edi
mov dword [esp + 0x10], 0xffffffff
jmp case.0x4c5e8d.1
lea ebx, [esp + 0x20]
mov ecx, esi
call fcn.004c44c0
mov edi, eax
cmp edi, ebp
jne 0x4c6349
cmp dword [esp + 0x20], ebp
jne 0x4c630e
test byte [esi + 0xf6c], 0x80
je 0x4c62f9
mov eax, dword [esi + 0xf70]
cmp eax, 7
je 0x4c62d5
cmp eax, 5
jne 0x4c62f9
push ebp
xor ecx, ecx
call fcn.004c5750
add esp, 4
mov eax, 0x10
mov ecx, esi
call fcn.004c5240
mov dword [esp + 0x10], 0xffffffff
jmp case.0x4c5e8d.1
mov eax, 0xa
mov ecx, esi
call fcn.004c5240
mov dword [esp + 0x10], ebp
jmp case.0x4c5e8d.1
mov eax, dword [esi + 8]
test dword [eax + 0x294], 0x800
mov ecx, esi
je 0x4c6332
mov eax, 0xb
call fcn.004c5240
mov dword [esp + 0x10], ebp
jmp case.0x4c5e8d.1
mov eax, 0xc
call fcn.004c5240
mov dword [esp + 0x10], 0xffffffff
jmp case.0x4c5e8d.1
cmp edi, 0x37
jne 0x4c640d
mov eax, dword [esi + 8]
test byte [eax + 0x294], 2
je 0x4c640d
lea ecx, [esp + 0x1c]
push ecx
push eax
mov dword [esp + 0x24], ebp
call fcn.004e6c30
add esp, 8
cmp eax, ebp
je 0x4c6382
mov edi, eax
mov dword [esp + 0x14], 1
push esi
call fcn.00546ad0
push ebp
mov ecx, edi
call fcn.004c5750
mov ecx, dword [esp + 0x24]
add esp, 8
cmp ecx, ebp
je 0x4c63f2
cmp eax, ebp
je 0x4c63b9
cmp eax, 0x37
je 0x4c63b9
mov edx, dword [esp + 0x1c]
push edx
mov edi, eax
call dword [0x659f40]
add esp, 4
jmp case.0x4c5e8d.1
push 2
push ecx
push esi
call fcn.004e69a0
add esp, 0xc
cmp eax, ebp
jne 0x4c63a4
mov eax, 2
mov ecx, esi
call fcn.004c5240
mov edx, dword [esp + 0x1c]
push edx
mov dword [esp + 0x14], 0xffffffff
xor edi, edi
call dword [0x659f40]
add esp, 4
jmp case.0x4c5e8d.1
mov edx, dword [esp + 0x1c]
push edx
mov dword [esp + 0x18], 1
call dword [0x659f40]
add esp, 4
jmp case.0x4c5e8d.1
push esi
call fcn.00546ad0
add esp, 4
cmp dword [esi + 8], ebp
je 0x4c6426
push ebp
mov ecx, edi
call fcn.004c5750
add esp, 4
mov dword [esp + 0x14], 1
jmp case.0x4c5e8d.1
mov ecx, dword [esi + 8]
lea eax, [esp + 0x20]
push eax
push ecx
call fcn.004b7c10
mov edi, eax
add esp, 8
cmp edi, ebp
jne 0x4c647d
cmp dword [esp + 0x20], ebp
je case.0x4c5e8d.1
mov edx, dword [esi + 8]
mov eax, dword [edx + 0x294]
and eax, 0x800
neg eax
sbb eax, eax
add eax, 0xc
mov ecx, esi
call fcn.004c5240
mov dword [esp + 0x10], 0xffffffff
jmp case.0x4c5e8d.1
push esi
call fcn.00546ad0
push ebp
jmp 0x4c61bd
mov edi, dword [esi + 8]
lea ebx, [esp + 0x38]
call fcn.004c4500
mov edi, eax
cmp edi, ebp
jne 0x4c647d
mov eax, dword [esp + 0x38]
cmp eax, ebp
je 0x4c6329
xor ecx, ecx
cmp eax, 1
sete cl
lea ecx, [ecx + ecx + 0xa]
mov eax, ecx
mov ecx, esi
call fcn.004c5240
mov dword [esp + 0x10], 0xffffffff
jmp case.0x4c5e8d.1
mov edx, dword [esi + 8]
push edx
push esi
call fcn.004e1210
mov eax, dword [esi + 8]
add esp, 8
test dword [eax + 0x294], 0x4000000
jne 0x4c64ed
cmp dword [eax + 0x318], ebp
je 0x4c64f4
mov eax, ebx
call fcn.004c5710
mov eax, dword [esi + 8]
or ebx, 0xffffffff
cmp dword [eax + 0x2dc], ebx
jne 0x4c6541
cmp dword [eax + 0x2e0], ebx
jne 0x4c6541
test byte [esi + 0xf6c], 0x80
je 0x4c652c
mov eax, dword [eax + 0x2b8]
test dword [eax + 0x44], 0x1000
jne 0x4c652c
mov dword [esi + 0xf70], 7
mov eax, 0x10
mov ecx, esi
call fcn.004c5240
mov dword [esp + 0x10], ebx
jmp case.0x4c5e8d.1
mov eax, 0xd
mov ecx, esi
call fcn.004c5240
mov dword [esp + 0x10], ebx
jmp case.0x4c5e8d.1
mov ecx, dword [esi + 8]
push ecx
push esi
call fcn.004e1150
add esp, 8
test eax, eax
je case.0x4c5e8d.1
mov eax, 0xe
mov ecx, esi
call fcn.004c5240
mov dword [esp + 0x10], 0xffffffff
jmp case.0x4c5e8d.1
mov edx, dword [esi + 8]
push edx
call fcn.004e4030
add esp, 4
test eax, eax
je 0x4c659e
mov edi, 0x2a
jmp case.0x4c5e8d.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 esi
mov dword [eax + 0xc], edx
call fcn.004e4a10
mov edi, eax
add esp, 0x14
cmp edi, ebp
jne case.0x4c5e8d.1
mov ecx, dword [esi + 0x66c]
mov edx, dword [esi + 0x668]
xor ebp, ebp
cmp ecx, ebp
mov dword [esp + 0x40], ebp
jl 0x4c6665
jg 0x4c65f1
cmp edx, ebp
jbe 0x4c6665
mov ebx, dword [esp + 0x4c]
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov ebx, dword [esp + 0x60]
mov dword [eax + 4], ebx
mov ebx, dword [esp + 0x64]
mov dword [eax + 8], ebx
mov ebx, dword [esp + 0x68]
mov dword [eax + 0xc], ebx
mov ebx, dword [esi + 0xb70]
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov ebx, dword [esi + 0xb74]
mov dword [eax + 4], ebx
mov ebx, dword [esi + 0xb78]
mov dword [eax + 8], ebx
mov ebx, dword [esi + 0xb7c]
push ecx
mov ecx, dword [esi + 0xb80]
push edx
mov edx, dword [esi + 0xad4]
mov dword [eax + 0xc], ebx
mov eax, dword [esi + 0xb84]
push eax
mov eax, dword [esi + 0xad0]
push ecx
push edx
push eax
call fcn.004e3cd0
add esp, 0x38
mov ebp, eax
mov dword [esp + 0x40], edx
mov ecx, dword [esi + 0x674]
mov ebx, dword [esi + 0x670]
xor eax, eax
xor edx, edx
test ecx, ecx
jl 0x4c66ed
jg 0x4c667f
test ebx, ebx
jbe 0x4c66ed
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 [esi + 0xb88]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esi + 0xb8c]
mov dword [eax + 4], edx
mov edx, dword [esi + 0xb90]
mov dword [eax + 8], edx
mov edx, dword [esi + 0xb94]
push ecx
mov ecx, dword [esi + 0xb98]
mov dword [eax + 0xc], edx
mov eax, dword [esi + 0xb9c]
mov edx, dword [esi + 0xacc]
push ebx
push eax
mov eax, dword [esi + 0xac8]
push ecx
push edx
push eax
call fcn.004e3cd0
add esp, 0x38
mov ecx, dword [esp + 0x40]
mov ebx, ebp
or ebx, ecx
jne 0x4c6735
mov ebx, eax
or ebx, edx
jne 0x4c6735
lea eax, [ebx + 0xe]
mov ecx, esi
call fcn.004c5240
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 esi
mov dword [eax + 0xc], edx
call fcn.004e3df0
add esp, 0x14
jmp case.0x4c5e8d.1
cmp ecx, edx
jl 0x4c6751
jg 0x4c673f
cmp ebp, eax
jb 0x4c6751
push 9
push ecx
push ebp
push esi
call fcn.004c4ed0
add esp, 0x10
jmp case.0x4c5e8d.1
push 9
push edx
push eax
push esi
call fcn.004c4ed0
add esp, 0x10
jmp case.0x4c5e8d.1
mov ecx, dword [esi + 0x66c]
cmp ecx, ebp
mov edx, dword [esi + 0x668]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
jl 0x4c6807
jg 0x4c6791
cmp edx, ebp
jbe 0x4c6807
mov ebx, dword [esp + 0x4c]
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov ebx, dword [esp + 0x60]
mov dword [eax + 4], ebx
mov ebx, dword [esp + 0x64]
mov dword [eax + 8], ebx
mov ebx, dword [esp + 0x68]
mov dword [eax + 0xc], ebx
mov ebx, dword [esi + 0xb70]
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov ebx, dword [esi + 0xb74]
mov dword [eax + 4], ebx
mov ebx, dword [esi + 0xb78]
mov dword [eax + 8], ebx
mov ebx, dword [esi + 0xb7c]
push ecx
mov ecx, dword [esi + 0xb80]
push edx
mov edx, dword [esi + 0xad4]
mov dword [eax + 0xc], ebx
mov eax, dword [esi + 0xb84]
push eax
mov eax, dword [esi + 0xad0]
push ecx
push edx
push eax
call fcn.004e3cd0
add esp, 0x38
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edx
mov ecx, dword [esi + 0x674]
mov edx, dword [esi + 0x670]
xor ebp, ebp
xor ebx, ebx
test ecx, ecx
jl 0x4c6897
jg 0x4c6825
test edx, edx
jbe 0x4c6897
mov ebx, dword [esp + 0x4c]
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov ebx, dword [esp + 0x60]
mov dword [eax + 4], ebx
mov ebx, dword [esp + 0x64]
mov dword [eax + 8], ebx
mov ebx, dword [esp + 0x68]
mov dword [eax + 0xc], ebx
mov ebx, dword [esi + 0xb88]
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov ebx, dword [esi + 0xb8c]
push ecx
mov ecx, dword [esi + 0xb9c]
mov dword [eax + 4], ebx
mov ebx, dword [esi + 0xb90]
push edx
mov edx, dword [esi + 0xb98]
mov dword [eax + 8], ebx
mov ebx, dword [esi + 0xb94]
push ecx
mov ecx, dword [esi + 0xac8]
mov dword [eax + 0xc], ebx
mov eax, dword [esi + 0xacc]
push edx
push eax
push ecx
call fcn.004e3cd0
add esp, 0x38
mov ebp, eax
mov ebx, edx
mov edx, dword [esp + 0x3c]
or edx, dword [esp + 0x40]
jne 0x4c6ac3
mov eax, ebp
or eax, ebx
jne 0x4c6ac3
mov eax, dword [esi + 8]
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x28]
push edx
push esi
push eax
call fcn.004e62f0
add esp, 0x10
test byte [esi + 0x140], 1
mov edi, eax
jne 0x4c68dd
mov ecx, dword [esi + 8]
push ecx
call fcn.004e11b0
add esp, 4
test byte [esi + 0x140], 2
jne 0x4c68f2
mov edx, dword [esi + 8]
push edx
call fcn.004e11a0
add esp, 4
xor ebp, ebp
cmp dword [esp + 0x24], ebp
jne 0x4c6942
cmp edi, 0x38
je 0x4c6942
cmp edi, 0x5c
je 0x4c690c
mov ebx, dword [esp + 0x28]
cmp edi, ebp
je 0x4c6978
mov eax, dword [esi + 8]
mov edx, dword [eax + 0x2b8]
test byte [edx + 0x44], 2
jne 0x4c692b
cmp edi, 0x5c
je 0x4c692b
push 2
push eax
call fcn.004c8950
add esp, 8
push esi
call fcn.00546ad0
push 1
mov ecx, edi
call fcn.004c5750
add esp, 8
jmp case.0x4c5e8d.1
mov ecx, dword [esi + 8]
lea eax, [esp + 0x1c]
push eax
push ecx
call fcn.004e6c30
add esp, 8
cmp eax, ebp
jne 0x4c6970
xor ebx, ebx
cmp dword [esp + 0x1c], ebp
setne bl
cmp ebx, ebp
je 0x4c6908
xor edi, edi
mov dword [esp + 0x24], 1
jmp 0x4c6982
cmp edi, ebp
jne 0x4c690c
mov edi, eax
jmp 0x4c6904
cmp dword [esp + 0x24], ebp
je 0x4c6aac
push esi
call fcn.00546ad0
mov eax, dword [esi + 8]
add eax, 0x31c
push eax
push esi
call fcn.004b77f0
mov ecx, dword [esi + 8]
mov eax, dword [ecx + 0x31c]
add esp, 0xc
cmp eax, ebp
je 0x4c69b6
mov edx, dword [eax]
push 6
push ebp
push ebp
push edx
call fcn.004c4ed0
add esp, 0x10
cmp dword [esi + 0x148], ebp
jne 0x4c6a31
cmp ebx, ebp
jne 0x4c6a5a
cmp dword [esi + 0x144], ebp
je 0x4c62e0
mov eax, dword [esp + 0x1c]
push eax
call dword [0x659f40]
mov eax, dword [esi + 0x144]
push 1
push eax
push esi
mov dword [esp + 0x2c], eax
mov dword [esi + 0x144], ebp
call fcn.004e69a0
mov ecx, dword [esp + 0x2c]
push ecx
mov edi, eax
call dword [0x659f40]
add esp, 0x14
cmp edi, ebp
je 0x4c62e0
push 1
mov ecx, edi
mov dword [esp + 0x18], 1
call fcn.004c5750
mov edi, eax
add esp, 4
cmp edi, ebp
jne case.0x4c5e8d.1
jmp 0x4c62e0
cmp ebx, ebp
jne 0x4c6a5a
mov edx, dword [esp + 0x1c]
push edx
call dword [0x659f40]
mov eax, dword [esi + 0x148]
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esi + 0x148], ebp
mov ebx, 3
jmp 0x4c6a5f
mov ebx, 2
push ebp
xor ecx, ecx
call fcn.004c5750
mov edi, eax
add esp, 4
cmp edi, ebp
jne 0x4c6a99
mov ecx, dword [esp + 0x1c]
push ebx
push ecx
push esi
call fcn.004e69a0
mov edi, eax
add esp, 0xc
cmp edi, ebp
jne 0x4c6a99
mov eax, 2
mov ecx, esi
call fcn.004c5240
mov dword [esp + 0x10], 0xffffffff
mov edx, dword [esp + 0x1c]
push edx
call dword [0x659f40]
add esp, 4
jmp case.0x4c5e8d.1
cmp dword [esp + 0x2c], ebp
je case.0x4c5e8d.1
mov dword [esp + 0x10], 0xffffffff
jmp case.0x4c5e8d.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 esi
mov dword [eax + 0xc], edx
call fcn.004e3df0
add esp, 0x14
mov eax, 0xf
mov ecx, esi
call fcn.004c5240
cmp dword [esp + 0x40], ebx
jl 0x4c6b20
jg 0x4c6b06
cmp dword [esp + 0x3c], ebp
jb 0x4c6b20
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
push 9
push eax
push ecx
push esi
call fcn.004c4ed0
add esp, 0x10
jmp case.0x4c5e8d.1
push 9
push ebx
push ebp
push esi
call fcn.004c4ed0
add esp, 0x10
jmp case.0x4c5e8d.1
mov eax, dword [esi + 8]
mov dword [esp + 0x10], 0xffffffff
cmp eax, ebp
je 0x4c6b8b
add eax, 0x31c
push eax
push esi
call fcn.004b77f0
mov eax, dword [esi + 8]
add esp, 8
test dword [eax + 0x294], 0x4000000
jne 0x4c6b67
cmp dword [eax + 0x318], ebp
je 0x4c6b6e
mov eax, ebx
call fcn.004c5710
push ebp
mov ecx, edi
call fcn.004c5750
add esp, 4
cmp edi, ebp
jne 0x4c6b7f
mov edi, eax
cmp dword [esi + 8], ebp
je 0x4c6b8b
mov eax, esi
call fcn.004c42e0
test byte [esi + 0xf6c], 0x80
je 0x4c6ba1
cmp dword [esi + 0xf70], 7
je 0x4c6ba1
xor eax, eax
jmp 0x4c6ba6
mov eax, 0x11
mov ecx, esi
call fcn.004c5240
cmp dword [esi + 0x30], 0x11
jge 0x4c6c94
test edi, edi
je 0x4c6c55
mov eax, dword [esp + 0x48]
call fcn.004c5710
mov eax, dword [esi + 8]
test eax, eax
je 0x4c6c35
push eax
call fcn.004e11a0
mov edx, dword [esi + 8]
push edx
call fcn.004e11b0
mov eax, dword [esi + 8]
add eax, 0x30c
push eax
push esi
call fcn.004b77f0
mov ecx, dword [esi + 8]
add ecx, 0x31c
push ecx
push esi
call fcn.004b77f0
add esp, 0x18
cmp dword [esp + 0x14], 0
je 0x4c6c44
mov eax, dword [esi + 8]
xor edx, edx
cmp edi, 0x1c
sete dl
push edx
push eax
push esi
call fcn.004ba1b0
add esp, 0xc
mov eax, esi
call fcn.004c42e0
mov eax, 0x11
mov ecx, esi
call fcn.004c5240
or ebx, 0xffffffff
jmp 0x4c6c98
cmp dword [esi + 0x30], 2
jne 0x4c6c44
push esi
call fcn.00546ad0
add esp, 4
mov eax, 0x11
mov ecx, esi
call fcn.004c5240
or ebx, 0xffffffff
jmp 0x4c6c98
mov eax, dword [esi + 8]
test eax, eax
je 0x4c6c94
push eax
call fcn.004e4030
add esp, 4
test eax, eax
je 0x4c6c94
mov ecx, dword [esi + 8]
push 2
push ecx
mov edi, 0x2a
call fcn.004c8950
xor eax, eax
add esp, 8
cmp dword [esi + 0x30], 0x10
mov ecx, esi
setge al
add eax, 0x10
call fcn.004c5240
or ebx, 0xffffffff
jmp 0x4c6c98
mov ebx, dword [esp + 0x10]
cmp dword [esi + 0x30], 0x11
jne 0x4c6cd8
mov eax, dword [esi + 0xa78]
test eax, eax
je 0x4c6cb1
push edi
push esi
call eax
add esp, 8
jmp 0x4c6ccc
mov ecx, dword [esp + 0x48]
lea eax, [esi + 0x38]
mov dword [eax + 0xc], 1
mov dword [eax + 0x10], esi
mov dword [eax + 0x14], edi
call fcn.004c41c0
mov ebx, eax
mov eax, 0x12
mov ecx, esi
call fcn.004c5240
cmp ebx, 0xffffffff
je 0x4c5be0
mov ecx, dword [esp + 0x48]
push 0
call fcn.004c4480
add esp, 4
test eax, eax
jne 0x4c5be0
mov dword [esi + 0x34], edi
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
mov edx, dword [esi + 0x30]
push edx
push str.In_state__d_with_no_conn__bail_out__n
push esi
call fcn.004c2150
add esp, 0xc
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
mov dword [esi + 0x34], edi
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x34
ret