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

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
mov ebx, eax
mov eax, dword [esi + 8]
push edi
test eax, eax
je 0x42a9bf
push eax
call fcn.00426a30
add esp, 4
test al, al
je 0x42a9bf
mov eax, dword [esi + 0x1e0]
cmp eax, 1
je 0x42a9b1
cmp eax, 5
jne 0x42a9bf
cmp dword [esi + 0x1e4], 1
mov byte [esp + 0x13], 1
jne 0x42a9c4
mov byte [esp + 0x13], 0
mov eax, dword [esi + 0x41c]
xor edi, edi
cmp dword [eax + 4], edi
mov dword [esp + 0x14], edi
jle 0x42ac04
lea esp, [esp]
mov eax, dword [eax]
mov esi, dword [eax + edi*4]
test esi, esi
je 0x42ace2
mov eax, dword [esi + 0x158]
mov ecx, dword [esi + 0x15c]
mov edx, dword [eax + 0xc]
add edx, dword [ecx + 0xc]
cmp dword [esi + 0x2c], 0xffffffff
mov dword [esp + 0x18], edx
jne 0x42aa0c
mov dword [esi + 0x2c], edi
cmp byte [esp + 0x13], 0
je 0x42aab7
mov eax, dword [eax]
test eax, eax
je 0x42aa21
mov ebp, dword [eax]
jmp 0x42aa23
xor ebp, ebp
mov eax, dword [ecx]
test eax, eax
je 0x42aa2d
mov edi, dword [eax]
jmp 0x42aa2f
xor edi, edi
test ebp, ebp
je 0x42aa75
mov eax, dword [ebp + 8]
test eax, eax
je 0x42ace2
push eax
call fcn.00426a30
add esp, 4
test al, al
je 0x42ace2
mov eax, dword [ebp + 0x1e0]
cmp eax, 1
je 0x42aa63
cmp eax, 5
jne 0x42ace2
cmp dword [ebp + 0x1e4], 1
jne 0x42aaf5
jmp 0x42ace2
test edi, edi
je 0x42aaf5
mov eax, dword [edi + 8]
test eax, eax
je 0x42ace2
push eax
call fcn.00426a30
add esp, 4
test al, al
je 0x42ace2
mov eax, dword [edi + 0x1e0]
cmp eax, 1
je 0x42aaa9
cmp eax, 5
jne 0x42ace2
cmp dword [edi + 0x1e4], 1
jne 0x42aaf5
jmp 0x42ace2
cmp dword [esp + 0x18], 0
ja 0x42ace2
cmp dword [esi + 0x3c], 0
jne 0x42aadb
mov ecx, dword [esi + 0x2c]
mov edx, dword [esp + 0x20]
push ecx
push str.Connection__ld_hasnt_finished_name_resolve__cant_reuse_n
push edx
jmp 0x42acda
cmp dword [esi + 0xa0], 0xffffffff
je 0x42accc
cmp byte [esi + 0x10c], 0
jne 0x42accc
mov eax, dword [ebx + 0x30]
mov ecx, dword [esi + 0x30]
and eax, 0x400
and ecx, 0x400
cmp eax, ecx
jne 0x42ace2
mov dl, byte [ebx + 0x10e]
cmp dl, byte [esi + 0x10e]
jne 0x42ace2
cmp byte [ebx + 0x10f], 0
je 0x42ac0e
test eax, eax
jne 0x42ac0e
cmp byte [esi + 0x10f], al
je 0x42ab6d
cmp byte [ebx + 0x118], al
je 0x42ab6d
cmp byte [esi + 0x118], al
je 0x42ab6d
mov eax, dword [esi + 0x6c]
mov ecx, dword [ebx + 0x6c]
push eax
push ecx
call fcn.00432120
add esp, 8
test eax, eax
je 0x42ab6d
mov edx, dword [ebx + 0x74]
cmp edx, dword [esi + 0x74]
je 0x42ac0e
cmp byte [esi + 0x10e], 0
je 0x42ace2
mov eax, dword [ebx + 0x8c]
cmp eax, dword [esi + 0x8c]
jne 0x42ace2
mov ecx, dword [esi + 0x6c]
mov edx, dword [ebx + 0x6c]
push ecx
push edx
call fcn.00432120
add esp, 8
test eax, eax
je 0x42ace2
mov eax, dword [ebx + 0x74]
cmp eax, dword [esi + 0x74]
jne 0x42ace2
mov edi, dword [esp + 0x20]
cmp dword [esp + 0x18], 0
jne 0x42ad08
mov eax, dword [esi + 0xa0]
push 0
push 0xffffffffffffffff
push eax
call fcn.0043d9d0
add esp, 0xc
test eax, eax
je 0x42ad08
mov ebx, dword [esp + 0x14]
push ebx
push str.Connection__d_seems_to_be_dead__n
push edi
mov dword [esi], edi
call fcn.00425c10
push esi
call fcn.0042a880
mov eax, dword [edi + 0x41c]
mov ecx, dword [eax]
add esp, 0x10
mov dword [ecx + ebx*4], 0
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0xc
ret
lea ecx, [esi + 0x40]
push ecx
lea edx, [ebx + 0x40]
push edx
call fcn.00432120
add esp, 8
test eax, eax
je 0x42ace2
mov eax, dword [esi + 0x5c]
mov ecx, dword [ebx + 0x5c]
push eax
push ecx
call fcn.00432120
add esp, 8
test eax, eax
je 0x42ace2
mov dx, word [ebx + 0x78]
cmp dx, word [esi + 0x78]
jne 0x42ace2
test dword [ebx + 0x30], 0x400
je 0x42ac78
lea eax, [esi + 0xd8]
push eax
lea ecx, [ebx + 0xd8]
push ecx
call fcn.00426430
add esp, 8
test al, al
je 0x42ace2
cmp dword [esi + 0xac], 2
jne 0x42ace2
mov eax, dword [ebx + 0x30]
test al, 0x10
jne 0x42ac98
test al, 4
je 0x42abb0
mov edi, dword [esp + 0x20]
cmp dword [edi + 0x84b4], 8
jne 0x42abb4
mov edx, dword [esi + 0x7c]
mov eax, dword [ebx + 0x7c]
push edx
push eax
call fcn.00432120
add esp, 8
test eax, eax
je 0x42ace2
mov ecx, dword [esi + 0x80]
mov edx, dword [ebx + 0x80]
push ecx
push edx
call fcn.00432120
add esp, 8
test eax, eax
jne 0x42abb0
jmp 0x42ace2
mov eax, dword [esi + 0x2c]
mov ecx, dword [esp + 0x20]
push eax
push str.Connection__ld_isnt_open_enough__cant_reuse_n
push ecx
call fcn.00425c10
add esp, 0xc
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0x41c]
inc edi
cmp edi, dword [eax + 4]
mov dword [esp + 0x14], edi
jl 0x42a9e0
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0xc
ret
mov edx, dword [esp + 0x24]
pop edi
mov byte [esi + 0x28], 1
mov dword [edx], esi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0xc
ret