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

Disassembly:
mov eax, 0x10018
call fcn.00496770
mov edx, dword [0x7368a0]
mov eax, dword [0x727410]
and edx, 0xff
push ebx
not edx
and edx, eax
xor ebx, ebx
push ebp
xor ecx, ecx
push esi
push edi
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], ecx
lea eax, [ecx + ecx*2]
shl eax, 4
sub eax, ecx
mov edi, dword [eax*4 + 0x727430]
lea esi, [eax*4 + 0x727420]
mov dword [esp + 0x24], edi
cmp dword [esi], ebx
je 0x443834
mov eax, 1
shl eax, cl
mov ebp, dword [0x7381e4]
test ebp, eax
je 0x443834
mov al, 1
shl al, cl
mov byte [esp + 0x12], al
and al, dl
mov byte [esp + 0x13], al
mov al, byte [esi + 0x77]
cmp al, bl
je 0x443188
push esi
call fcn.00442610
mov ecx, dword [esi + 0x70]
mov eax, edi
add esp, 4
mov byte [esi + 0x77], bl
mov dx, word [ecx]
shr eax, 0x10
mov word [esi + 0x48], dx
mov dword [esi + 0x7c], eax
jne 0x443132
mov dword [esi + 0x7c], 1
cmp dword [esi + 0x7c], 0x10
jbe 0x44313f
mov dword [esi + 0x7c], 0xf
mov eax, dword [esi + 0x7c]
mov cx, word [ecx + eax*2]
mov al, byte [0x73828d]
cmp al, bl
mov word [esi + 0x8c], cx
mov dword [esi + 0x90], ebx
je 0x443188
cmp edi, 0x10000
jae 0x443188
cmp byte [esp + 0x13], bl
jne 0x443188
movsx edx, word [esi + 0x48]
movsx eax, cx
sub eax, edx
imul eax, edi
cdq
and edx, 0xffff
add eax, edx
sar eax, 0x10
mov dword [esi + 0x90], eax
movsx eax, word [esi + 0x48]
movsx ecx, word [esi + 0x20]
imul eax, ecx
mov ecx, dword [esp + 0x1002c]
mov dword [esp + 0x14], ebx
cdq
and edx, 0x7f
add eax, edx
sar eax, 7
cmp ecx, ebx
jbe 0x44382c
mov edi, dword [0x4b3d74]
mov edx, ebx
jmp 0x4431bf
mov edi, dword [0x4b3d74]
mov ecx, dword [esp + 0x24]
cmp byte [esp + 0x13], bl
mov ebp, ecx
je 0x4431de
mov ebp, dword [esp + edx*4 + 0x28]
add ebp, 0x800000
shr ebp, 0x10
imul ebp, ecx
shr ebp, 7
mov ecx, dword [esi + 0x2c]
add dword [esi + 0x28], ecx
mov ecx, dword [esi + 0x28]
cmp ecx, 0x10000
jb 0x443527
mov edx, dword [esi]
mov eax, ecx
shr eax, 0x10
dec edx
cmp edx, 8
ja case.default.0x443204
jmp dword [edx*4 + 0x443850]
lea edx, [eax + eax]
mov eax, dword [esi + 0x1c]
and ecx, 0xffff
add eax, edx
mov dword [esi + 0x28], ecx
mov ecx, eax
shl ecx, 0x18
cmp eax, 0x7e
mov dword [esi + 0x1c], eax
mov dword [esi + 0x88], ecx
jl case.default.0x443204
mov eax, dword [esi + 0x44]
mov dword [esi + 0x1c], 0x7f
cmp eax, 8
mov dword [esi + 0x88], 0x7f000000
mov dword [esi], 2
je 0x4432b9
mov ecx, dword [esi + 0x38]
mov edx, eax
shl edx, 7
sub edx, eax
shr edx, 3
cmp ecx, 0xffffffff
mov word [esi + 0x24], dx
jne 0x443270
mov dword [esi + 0x30], ebx
jmp 0x4434f8
cmp ecx, ebx
mov dword [esi + 0x30], 0xffffffff
je 0x4434f8
mov eax, dword [0x7381e8]
cmp eax, ebx
je 0x4434f8
mov edi, dword [0x7381e8]
mov eax, dword [0x4b3d70]
cdq
imul edi, ecx
push ebx
push 0x3e80000
push edx
push eax
call fcn.00498110
push ebx
push edi
push edx
push eax
call fcn.00498060
mov dword [esi + 0x2c], eax
jmp case.default.0x443204
mov eax, dword [esi + 0x3c]
mov dword [esi], 3
cmp eax, 0xffffffff
mov word [esi + 0x24], bx
jne 0x4432d3
mov dword [esi + 0x30], ebx
jmp 0x4434f8
cmp eax, ebx
mov dword [esi + 0x30], 0xffffffff
je 0x4434f8
mov ecx, dword [0x7381e8]
cmp ecx, ebx
je 0x4434f8
mov ecx, dword [0x7381e8]
imul ecx, eax
mov eax, edi
push ebx
cdq
push 0x3e80000
push edx
push eax
mov dword [esp + 0x2c], ecx
call fcn.00498110
mov ecx, dword [esp + 0x1c]
push ebx
push ecx
push edx
push eax
call fcn.00498060
mov dword [esi + 0x2c], eax
jmp case.default.0x443204
mov ecx, 0x10000
mov eax, dword [esi + 0x88]
sar eax, 8
mov edx, eax
shl edx, 8
sub edx, eax
mov dword [esi + 0x88], edx
mov edx, dword [esi + 0x28]
add edx, 0xffff0000
mov eax, edx
mov dword [esi + 0x28], edx
cmp eax, ecx
jae 0x443327
mov eax, dword [esi + 0x88]
movsx ecx, word [esi + 0x24]
sar eax, 0x18
cmp eax, ecx
mov dword [esi + 0x1c], eax
jg case.default.0x443204
cmp eax, ebx
jle 0x4437e6
mov eax, dword [esi + 0x3c]
mov dword [esi], 3
cmp eax, 0xffffffff
mov word [esi + 0x24], bx
jne 0x443389
mov dword [esi + 0x30], ebx
jmp 0x4434f8
cmp eax, ebx
mov dword [esi + 0x30], 0xffffffff
je 0x4434f8
mov ecx, dword [0x7381e8]
cmp ecx, ebx
je 0x4434f8
mov ecx, dword [0x7381e8]
imul ecx, eax
mov eax, edi
push ebx
cdq
push 0x3e80000
push edx
push eax
mov dword [esp + 0x2c], ecx
call fcn.00498110
mov ecx, dword [esp + 0x1c]
push ebx
push ecx
push edx
push eax
call fcn.00498060
mov dword [esi + 0x2c], eax
jmp case.default.0x443204
mov edx, 0xffff0000
mov ecx, 0x10000
mov eax, dword [esi + 0x88]
sar eax, 8
mov edi, eax
shl edi, 8
sub edi, eax
mov dword [esi + 0x88], edi
mov edi, dword [esi + 0x28]
add edi, edx
mov eax, edi
mov dword [esi + 0x28], edi
cmp eax, ecx
jae 0x4433e2
mov eax, dword [esi + 0x88]
sar eax, 0x18
cmp eax, ebx
mov dword [esi + 0x1c], eax
jle 0x4437e6
jmp case.default.0x443204
mov edx, dword [esi + 0x88]
mov edi, dword [esi + 0x28]
mov ecx, 0xffff0000
mov eax, 0x10000
add edi, ecx
add edx, 0xff810000
cmp edi, eax
jae 0x443432
mov eax, edx
mov dword [esi + 0x28], edi
sar eax, 0x18
cmp eax, ebx
mov dword [esi + 0x88], edx
mov dword [esi + 0x1c], eax
jle 0x4437e6
jmp case.default.0x443204
mov edi, dword [esi + 0x1c]
lea edx, [eax + eax]
and ecx, 0xffff
add edi, edx
mov dword [esi + 0x28], ecx
mov dword [esi + 0x1c], edi
mov eax, edi
jmp 0x4434bd
mov edx, dword [esi + 0x1c]
cmp edx, 0x5f
jl 0x4434ae
mov edx, dword [esi + 0x88]
mov edi, dword [esi + 0x28]
mov ecx, 0xffff0000
mov eax, 0x10000
add edi, ecx
add edx, 0x7f0000
cmp edi, eax
jae 0x44348f
mov eax, edx
mov dword [esi + 0x28], edi
sar eax, 0x18
mov dword [esi + 0x88], edx
mov dword [esi + 0x1c], eax
jmp 0x4434c6
and ecx, 0xffff
lea eax, [edx + eax*2]
mov dword [esi + 0x28], ecx
mov dword [esi + 0x1c], eax
shl eax, 0x18
mov dword [esi + 0x88], eax
cmp dword [esi + 0x1c], 0x7e
jl case.default.0x443204
mov dword [esi + 0x1c], 0x7f
mov dword [esi + 0x88], 0x7f000000
mov dword [esi], 5
mov dword [esi + 0x84], 5
mov word [esi + 0x24], bx
mov dword [esi + 0x30], 0xffffffff
mov dword [esi + 0x2c], ebx
movsx eax, word [esi + 8]
imul eax, dword [esi + 0x1c]
cdq
and edx, 0x7f
add eax, edx
movsx edx, word [esi + 0x48]
sar eax, 7
mov word [esi + 0x20], ax
movsx eax, ax
imul eax, edx
cdq
and edx, 0x7f
add eax, edx
mov edx, dword [esp + 0x14]
sar eax, 7
mov ecx, dword [esi + 0x14]
add ecx, ebp
cmp ecx, 0x10000
mov dword [esi + 0x14], ecx
jb 0x44374c
mov eax, dword [esi + 0x7c]
mov edi, ecx
shr edi, 0x10
and ecx, 0xffff
add eax, edi
mov dword [esi + 0x14], ecx
mov cx, word [esi + 0x8c]
cmp eax, 0x10
mov dword [esi + 0x7c], eax
mov word [esi + 0x48], cx
jb 0x443671
cmp eax, 0xffffff
jae 0x4437e6
mov ecx, dword [esi + 0x7c]
mov al, byte [esi + 0x76]
add ecx, 0xfffffff0
cmp al, bl
mov dword [esi + 0x7c], ecx
je 0x4435c9
cmp byte [esi + 0x18], bl
je 0x443655
mov edx, dword [0x7368c0]
mov ax, word [esi + 0x74]
and edx, 0xff
xor ecx, ecx
shl edx, 6
add edx, eax
mov eax, dword [0x7273b4]
shl edx, 2
and edx, 0xffff
mov byte [esi + 0x76], bl
mov cx, word [edx + eax + 2]
mov al, byte [0x7368df]
mov dword [esi + 0x78], ecx
mov cl, byte [esp + 0x12]
or al, cl
mov byte [0x7368df], al
push esi
call fcn.00442610
mov eax, dword [esi + 0x7c]
add esp, 4
cmp eax, 0x10
jb 0x443667
jmp 0x443570
mov edx, dword [esi + 0x1c]
and ecx, 0xffff
mov dword [esi + 0x28], ecx
lea ecx, [eax + eax]
sub edx, ecx
mov eax, edx
mov dword [esi + 0x1c], edx
shl eax, 0x18
mov dword [esi + 0x88], eax
mov eax, edx
cmp eax, ebx
jle 0x4437e6
jmp case.default.0x443204
mov edx, 0xffff0000
mov ecx, 0x10000
mov eax, dword [esi + 0x88]
sar eax, 8
mov edi, eax
shl edi, 8
sub edi, eax
mov dword [esi + 0x88], edi
mov edi, dword [esi + 0x28]
add edi, edx
mov eax, edi
mov dword [esi + 0x28], edi
cmp eax, ecx
jae 0x443618
mov eax, dword [esi + 0x88]
sar eax, 0x18
cmp eax, ebx
mov dword [esi + 0x1c], eax
jle 0x4437e6
jmp case.default.0x443204
mov dx, word [esi + 0x48]
mov dword [esi + 0x7c], 0xffffff
mov word [esi + 0x8c], dx
mov eax, dword [esi + 0x7c]
cmp eax, 0xffffff
jae 0x44367f
mov ecx, dword [esi + 0x70]
mov dx, word [ecx + eax*2]
mov word [esi + 0x8c], dx
cmp dword [esi + 4], ebx
jne 0x4436f4
cmp byte [0x73828d], bl
je 0x443739
cmp ebp, 0x10000
jae 0x443739
cmp byte [esp + 0x13], bl
jne 0x443739
mov di, word [esi + 0x48]
movsx ecx, word [esi + 0x8c]
movsx eax, di
sub ecx, eax
mov eax, ecx
imul eax, ebp
cdq
and edx, 0xffff
add eax, edx
sar eax, 0x10
mov dword [esi + 0x90], eax
mov eax, ecx
imul eax, dword [esi + 0x14]
cdq
and edx, 0xffff
movsx ecx, word [esi + 0x20]
add eax, edx
sar eax, 0x10
add eax, edi
mov word [esi + 0x48], ax
movsx eax, ax
imul eax, ecx
jmp 0x443784
cmp edi, ebx
jle 0x44372a
mov eax, closesocket
mov ecx, dword [0x7381f0]
shl ecx, 1
mov dword [0x7381f0], ecx
mov ecx, dword [0x7381f0]
test eax, ecx
je 0x443727
mov edx, dword [0x7381f0]
xor edx, 0x40001
mov dword [0x7381f0], edx
dec edi
jne 0x4436fd
mov eax, dword [0x7381f0]
shl eax, 0x11
sar eax, 0x11
mov word [esi + 0x48], ax
movsx eax, word [esi + 0x48]
movsx ecx, word [esi + 0x20]
mov dword [esi + 0x90], ebx
imul eax, ecx
jmp 0x443784
mov ecx, dword [esi + 0x90]
cmp ecx, ebx
je 0x443791
movsx eax, word [esi + 0x48]
add eax, ecx
cmp eax, 0xffff8000
jge 0x44376a
mov eax, 0xffff8000
jmp 0x443776
cmp eax, 0x7fff
jle 0x443776
mov eax, 0x7fff
movsx edx, word [esi + 0x20]
mov word [esi + 0x48], ax
movsx eax, ax
imul eax, edx
cdq
and edx, 0x7f
add eax, edx
mov edx, dword [esp + 0x14]
sar eax, 7
mov ecx, dword [esi + 0x80]
mov ebp, dword [edx*4 + 0x716f18]
add ebp, eax
lea ecx, [ecx + edx*4]
mov dword [edx*4 + 0x716f18], ebp
mov edi, dword [ecx]
add edi, eax
mov dword [ecx], edi
mov ecx, dword [esp + 0x18]
inc ecx
mov edi, 1
shl edi, cl
test dword [esp + 0x20], edi
je 0x4437d0
movsx ecx, word [esi + 0x48]
mov edi, dword [esi + 0x1c]
imul edi, ecx
mov dword [esp + edx*4 + 0x28], edi
mov ecx, dword [esp + 0x1002c]
inc edx
cmp edx, ecx
mov dword [esp + 0x14], edx
jb 0x4431b9
jmp 0x44382c
mov al, byte [esp + 0x12]
mov cl, byte [0x7368df]
mov dl, byte [0x7368bf]
or cl, al
mov byte [0x7368df], cl
mov cl, byte [0x7368af]
not al
and cl, al
and dl, al
mov byte [0x7368af], cl
mov cl, byte [0x73685e]
and cl, al
mov dword [esi], ebx
mov dword [esi + 0x84], ebx
mov byte [0x7368bf], dl
mov byte [0x73685e], cl
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
inc ecx
cmp ecx, 8
mov dword [esp + 0x18], ecx
jb 0x4430bf
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10018
ret