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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
sub esp, 0x90
push esi
mov esi, ecx
push edi
mov dword [esi + 0x10], eax
sub eax, 1
je 0x43a683
mov edi, dword [ebp + 0x10]
mov dword [ebp + 0x10], edi
jmp 0x43a833
mov eax, dword [ebp + 0x10]
mov dword [ebp + 0x10], eax
mov edx, dword [esi + 0xc]
lea edi, [esi + 0x18]
mov dword [ebp - 0xc], edx
test edx, edx
je 0x43a811
mov ecx, dword [esi + 4]
lea eax, [esi + 0x20]
push eax
push edi
push edx
push dword [esi + 8]
push 0x4426d0
call fcn.00445420
mov dword [esi + 0x14], eax
cmp eax, 0xfffffffe
jne 0x43a72b
mov edi, dword [esi + 4]
cmp dword [edi + 0x84], 0
je 0x43a8e8
push dword [edi + 0x84]
push dword [edi + 0x80]
push dword [edi + 4]
call fcn.004682d0
mov ecx, dword [edi + 0x84]
xor edx, edx
add esp, 0xc
test eax, eax
cmovg edx, eax
mov dword [ebp - 0xc], edx
cmp edx, ecx
jbe 0x43a70b
mov eax, dword [esi + 4]
xor edx, edx
xor ecx, ecx
mov dword [eax + 0x80], edx
mov dword [eax + 0x84], ecx
jmp 0x43a8d6
mov edx, dword [edi + 0x80]
mov eax, dword [esi + 4]
add edx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0xc]
mov dword [eax + 0x80], edx
mov dword [eax + 0x84], ecx
jmp 0x43a8d6
cmp eax, 0xffffffff
je 0x43a739
cmp eax, 1
jne 0x43a826
mov eax, dword [esi + 4]
push 1
mov edi, dword [eax + 0x38]
mov eax, dword [eax + 0x3c]
mov dword [ebp + 0x10], eax
lea eax, [ebp - 8]
push eax
call fcn.00442ef0
add esp, 8
cmp edi, dword [ebp - 8]
jne 0x43a990
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp - 4]
jne 0x43a990
mov edi, dword [esi + 4]
lea eax, [ebp - 0x18]
push 2
push eax
call fcn.00442ef0
add esp, 8
lea eax, [ebp - 0x18]
lea ecx, [edi + 0x30]
push eax
call fcn.004429c0
mov edi, dword [esi + 4]
push dword [edi + 0x68]
push dword [edi + 0x64]
push dword [edi + 4]
call fcn.004681f0
xor ecx, ecx
add esp, 0xc
test eax, eax
cmovg ecx, eax
mov eax, dword [edi + 0x64]
cmp dword [edi + 0x68], ecx
push esi
cmovb ecx, dword [edi + 0x68]
mov edi, dword [esi]
mov dword [ebp + 0x14], ecx
lea ecx, [ebp - 0x90]
mov dword [ebp + 0x10], eax
call fcn.00435e80
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x90]
push eax
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
call fcn.00435e80
mov dword [ebp - 8], 0
call fcn.0052c940
push 1
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x60]
push 0
lea eax, [ebp - 8]
push eax
call fcn.0043b310
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
call fcn.0052c940
mov dword [edi], 0
mov dword [edi + 4], eax
mov dword [esi + 0x14], 0
cmp dword [ebp + 0x14], 0
jne 0x43a9de
mov edi, dword [ebp + 0x10]
cmp edi, 0xffffffff
jne 0x43a83f
xor edi, edi
mov dword [ebp + 0x10], edi
jmp 0x43a851
cmp dword [esi + 0x18], 0
jne 0x43a851
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ecx
mov eax, dword [esi + 0x14]
cmp eax, 0xfffffffe
je 0x43a878
cmp eax, 0xffffffff
jne 0x43a9a4
mov edi, dword [esi + 4]
lea eax, [ebp - 8]
push 1
push eax
call fcn.00442ef0
lea eax, [ebp - 8]
lea ecx, [edi + 0x30]
jmp 0x43a8cd
mov edx, dword [esi + 4]
mov ecx, dword [edx + 0x7c]
cmp ecx, edi
mov eax, dword [edx + 0x78]
mov dword [edx + 0x80], eax
cmovae ecx, edi
mov dword [edx + 0x84], ecx
mov ecx, dword [esi + 4]
lea eax, [ecx + 0x80]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00445730
push 1
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [esi + 4]
mov dword [eax + 0x80], ecx
mov dword [eax + 0x84], edx
lea eax, [ebp - 0x18]
mov edi, dword [esi + 4]
push eax
call fcn.00442ef0
lea eax, [ebp - 0x18]
lea ecx, [edi + 8]
add esp, 8
push eax
call fcn.004429c0
cmp dword [esi + 0x18], 0
lea eax, [esi + 0x18]
je 0x43a689
jmp 0x43a9c4
mov eax, dword [esi + 4]
lea ecx, [ebp + 0x14]
mov edi, dword [edi + 0x10]
push 1
mov dword [ebp - 0x10], 0
mov eax, dword [eax + 0x14]
mov dword [ebp + 0x10], eax
mov dword [ebp - 0xc], getsockname
call fcn.00437870
lea ecx, [ebp - 0x10]
push ecx
push eax
lea ecx, [ebp - 8]
call fcn.00436850
mov ecx, dword [esi + 4]
cmp edi, dword [ebp - 8]
jne 0x43a97f
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp - 4]
jne 0x43a97f
lea eax, [ebp - 8]
mov dword [ebp - 8], 0xffffffff
push eax
lea eax, [ebp + 0x10]
mov dword [ebp - 4], bind
lea edi, [ecx + 8]
mov dword [ebp + 0x10], 0xffffffff
push eax
lea ecx, [ebp - 0x18]
call fcn.00436850
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
call fcn.004429c0
mov eax, dword [esi + 4]
push esi
mov ecx, dword [eax + 0x78]
mov eax, dword [eax + 0x7c]
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
mov dword [ebp - 8], ecx
mov ecx, dword [esi]
push eax
call fcn.004331e0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
push esi
add ecx, 8
call fcn.00433b80
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
push esi
add ecx, 0x30
call fcn.00433b80
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
cmp eax, 1
jne 0x43a9c1
mov edi, dword [esi + 4]
lea eax, [ebp - 0x20]
push eax
call fcn.00444a70
add esp, 4
lea ecx, [edi + 0x30]
push eax
call fcn.004429c0
lea eax, [esi + 0x18]
mov ecx, dword [esi + 4]
push eax
call fcn.00444900
mov ecx, dword [esi + 0x28]
push eax
mov eax, dword [esi + 0x24]
call eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push esi
mov dword [ebp - 4], 0
mov eax, dword [eax + 0x78]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.004331e0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10