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

Disassembly:
sub esp, 0x78
mov eax, dword [esp + 0x88]
push ebx
push ebp
push esi
push edi
xor edi, edi
cmp eax, edi
mov byte [esp + 0x11], 0
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
je 0x443050
push eax
call fcn.00471fe0
add esp, 4
mov dword [esp + 0x20], eax
jmp 0x443054
mov dword [esp + 0x20], edi
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0x8c]
mov dword [eax], edi
mov byte [ecx], 0
mov eax, dword [edx + 0x10]
mov ecx, dword [eax + 4]
mov dword [esp + 0x30], ecx
mov cl, byte [eax + 0xc]
cmp cl, 0x21
mov dword [esp + 0x64], edi
sete dl
mov byte [esp + 0x40], dl
or ecx, 0xffffffff
mov edx, 0x7fffffff
mov dword [esp + 0x68], edi
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edx
mov eax, dword [eax + 0x10]
mov dword [esp + 0x80], ecx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x64], eax
push ecx
lea ecx, [esp + 0x68]
mov dword [esp + 0x6c], edi
mov dword [esp + 0x88], edx
mov dword [esp + 0x7c], 0x20000000
call fcn.00448c00
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x64]
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], edi
mov dl, byte [ecx + eax]
inc ecx
mov byte [esp + 0x34], dl
mov dword [esp + 0x68], ecx
mov dl, byte [ecx + eax]
inc ecx
mov byte [esp + 0x38], dl
mov dword [esp + 0x68], ecx
mov al, byte [ecx + eax]
inc ecx
test al, al
mov byte [esp + 0x12], al
mov dword [esp + 0x68], ecx
je 0x443404
push 0x18
call fcn.0041ed90
mov esi, eax
add esp, 4
cmp esi, edi
je 0x4436a6
mov eax, dword [esp + 0x24]
mov dword [esi + 0x14], 0
test eax, eax
jne 0x443141
xor eax, eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], esi
jmp 0x443150
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x1c], eax
mov dword [eax + 0x14], esi
mov cl, byte [esp + 0x12]
and cl, 8
mov byte [esp + 0x13], cl
je 0x44324b
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x64]
add eax, ecx
add ecx, 2
mov dword [esp + 0x68], ecx
xor ecx, ecx
mov ch, byte [eax + 1]
mov cl, byte [eax]
mov eax, ecx
mov ecx, dword [esp + 0x30]
push eax
call fcn.0044df40
mov ebp, eax
test ebp, ebp
je 0x4436a6
mov al, byte [ebp + 0xc]
cmp al, 0xa
jne 0x4431e1
mov ebx, dword [ebp + 0x28]
test ebx, ebx
je 0x4431e1
mov dl, byte [ebx]
mov byte [esp + 0x3c], dl
mov edi, dword [esp + 0x3c]
and edi, 0xff
inc edi
mov al, byte [edi + ebx]
inc edi
mov cl, al
and cl, 1
shr al, 5
mov byte [esi], cl
mov ecx, dword [esp + 0x30]
and al, 1
mov byte [esi + 1], al
call fcn.0044ee50
cmp eax, 5
jle 0x4431d7
cmp word [ebp + 0x2c], 0x3e
jne 0x4431d7
inc edi
add edi, ebx
mov dword [esi + 8], edi
jmp 0x443267
cmp al, 0x30
jne 0x4436a6
mov cl, byte [ebp + 0x36]
xor eax, eax
mov ax, word [ebp + 0x34]
shl eax, 1
and cl, 8
je 0x4431fb
add eax, eax
mov edi, dword [ebp + 0x10]
test cl, cl
je 0x443223
xor edx, edx
xor ecx, ecx
mov dh, byte [eax + edi + 3]
mov cl, byte [eax + edi + 1]
mov dl, byte [eax + edi + 2]
shl edx, 8
or edx, ecx
xor ecx, ecx
mov cl, byte [eax + edi]
shl edx, 8
or edx, ecx
jmp 0x44322c
xor edx, edx
mov dh, byte [eax + edi + 1]
mov dl, byte [eax + edi]
mov eax, edx
add eax, edi
mov dword [esi + 8], eax
mov al, byte [ebp + 0x36]
shr al, 2
and al, 1
mov byte [esi], al
mov cl, byte [ebp + 0x36]
shr cl, 6
and cl, 1
mov byte [esi + 1], cl
jmp 0x443267
test eax, eax
je 0x4436a6
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 8]
mov dword [esi + 8], edx
mov cl, byte [eax]
mov byte [esi], cl
mov dl, byte [eax + 1]
mov byte [esi + 1], dl
mov bl, byte [esp + 0x12]
test bl, 4
je 0x443288
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x48]
and eax, 0xff
push eax
push ecx
lea ecx, [esp + 0x6c]
call fcn.00448b50
test bl, 1
je 0x443292
add dword [esp + 0x68], 2
test bl, 2
je 0x4432ba
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
lea eax, [ecx + edx]
add ecx, 2
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x68], ecx
xor ecx, ecx
mov ch, byte [eax + 1]
mov cl, byte [eax]
mov word [esi + 2], cx
jmp 0x4432d2
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x4432cc
mov ax, word [edx + 2]
mov word [esi + 2], ax
jmp 0x4432d2
mov word [esi + 2], 0
mov al, byte [esp + 0x13]
test al, al
je 0x4432f8
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x64]
add eax, ecx
add ecx, 2
mov dword [esp + 0x68], ecx
xor ecx, ecx
mov ch, byte [eax + 1]
mov cl, byte [eax]
mov word [esi + 4], cx
jmp 0x44330c
test edx, edx
je 0x443306
mov ax, word [edx + 4]
mov word [esi + 4], ax
jmp 0x44330c
mov word [esi + 4], 0
mov eax, dword [esp + 0x98]
test eax, eax
je 0x44334d
test edx, edx
je 0x44334d
movsx ecx, word [edx + 2]
movsx eax, word [esi + 2]
xor edx, edx
mov dx, word [esi + 4]
add ecx, edx
cmp eax, ecx
jle 0x44334d
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xa0]
add eax, ecx
mov byte [esi + 6], 1
mov dword [esp + 0x14], eax
mov byte [edx], 1
jmp 0x443351
mov byte [esi + 6], 0
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
mov cl, byte [eax + ecx]
inc eax
mov dword [esp + 0x68], eax
mov byte [esi + 0xc], cl
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x68]
mov byte [esp + 0x44], cl
add eax, edx
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x14]
mov dword [esi + 0x10], eax
mov al, byte [esi + 1]
and ecx, 0xff
add edx, ecx
test al, al
mov dword [esp + 0x14], edx
je 0x4433a1
mov ecx, dword [esp + 0x18]
xor eax, eax
mov al, byte [esi + 0xc]
shl eax, 1
cmp ecx, eax
ja 0x4433b7
jmp 0x4433b3
cmp byte [esi], 0
jne 0x4433b7
mov ecx, dword [esp + 0x18]
xor eax, eax
mov al, byte [esi + 0xc]
cmp ecx, eax
ja 0x4433b7
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
and eax, 0xff
and edx, 0xff
xor ecx, ecx
add eax, edx
mov cl, byte [esi + 0xc]
imul ecx, eax
mov eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
and ecx, 0x80000007
jns 0x4433ec
dec ecx
or ecx, 0xfffffff8
inc ecx
je 0x4433ef
inc eax
mov ecx, dword [esp + 0x68]
add ecx, eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x68], ecx
xor edi, edi
jmp 0x4430fa
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x443424
inc eax
push eax
call fcn.0041ed90
add esp, 4
cmp eax, edi
mov dword [esp + 0x28], eax
je 0x4436a6
xor edi, edi
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x4436a6
lea ecx, [eax + eax + 2]
push ecx
call fcn.0041ed90
mov edx, dword [esp + 0xa0]
add esp, 4
test eax, eax
mov dword [edx], eax
je 0x4436a6
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x14]
cmp ecx, edx
mov ebp, eax
mov dword [esp + 0x18], 0
jb 0x443471
lea ecx, [edx - 1]
mov dword [esp + 0x90], ecx
mov eax, dword [esp + 0x94]
cmp eax, edx
jb 0x443486
lea eax, [edx - 1]
mov dword [esp + 0x94], eax
cmp eax, ecx
jae 0x443493
mov eax, ecx
mov dword [esp + 0x94], eax
mov esi, dword [esp + 0x24]
sub eax, ecx
inc eax
test esi, esi
mov dword [esp + 0x1c], eax
je 0x44367e
mov ecx, dword [esp + 0x98]
test ecx, ecx
je 0x4434e2
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x90]
cmp eax, edx
jbe 0x4434e2
cmp eax, dword [esp + 0x94]
ja 0x4434e2
mov al, byte [esi + 6]
test al, al
je 0x4434e2
push ecx
push ebp
call fcn.00472100
mov eax, dword [esp + 0x28]
add esp, 8
lea ebp, [ebp + eax*2]
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x68], 0
mov dword [esp + 0x64], ecx
lea ecx, [esp + 0x64]
mov dword [esp + 0x80], 0xffffffff
mov dword [esp + 0x84], htons
mov dword [esp + 0x78], 0x20000000
call fcn.00449080
mov edi, dword [esp + 0x28]
xor eax, eax
mov al, byte [esi + 0xc]
dec eax
js 0x443628
mov ecx, dword [esp + 0x34]
and ecx, 0xff
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x38]
and ecx, 0xff
inc eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x30], eax
mov edx, dword [esp + 0x44]
lea ecx, [esp + 0x64]
push edx
call fcn.00449090
mov ebx, eax
mov eax, dword [esp + 0x40]
push eax
lea ecx, [esp + 0x68]
call fcn.00449120
mov ecx, dword [esp + 0x90]
mov eax, dword [esp + 0x18]
cmp eax, ecx
jb 0x4435cc
mov edx, dword [esp + 0x94]
cmp eax, edx
ja 0x4435cc
mov dl, byte [esi]
lea ecx, [ebx + ebx]
test dl, dl
jne 0x44358c
mov ecx, ebx
mov bl, byte [esi + 1]
mov eax, dword [esi + 8]
test bl, bl
je 0x4435b0
xor edx, edx
mov dh, byte [ecx + eax + 1]
mov dl, byte [ecx + eax]
mov eax, edx
test ah, 0xff
je 0x4435c9
xor ecx, ecx
inc edi
mov cl, ah
mov byte [edi - 1], cl
jmp 0x4435c9
test dl, dl
je 0x4435c6
xor edx, edx
add ebp, 2
mov dh, byte [ecx + eax + 1]
mov dl, byte [ecx + eax]
mov word [ebp - 2], dx
jmp 0x4435cc
mov al, byte [ecx + eax]
mov byte [edi], al
inc edi
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x30]
inc ecx
dec eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x30], eax
jne 0x443549
mov ecx, dword [esp + 0x28]
cmp edi, ecx
jbe 0x443628
mov al, byte [esi + 1]
test al, al
jne 0x4435f8
cmp byte [esi], 0
jne 0x443628
mov eax, dword [esp + 0x9c]
mov byte [edi], 0
mov edx, ebp
mov edi, dword [eax]
mov eax, dword [esp + 0x14]
sub edx, edi
sar edx, 1
sub eax, edx
mov dl, byte [esi + 1]
inc eax
push edx
push eax
xor eax, eax
mov al, byte [esi + 0xc]
push ebp
push eax
push ecx
call fcn.00443700
add esp, 0x14
mov ebp, eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x94]
cmp eax, ecx
ja 0x443644
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x4434a6
jmp 0x44367e
inc ecx
cmp eax, ecx
jne 0x44367e
mov esi, dword [esi + 0x14]
test esi, esi
je 0x44367e
mov al, byte [esi + 6]
test al, al
je 0x44367e
mov eax, dword [esp + 0x98]
test eax, eax
je 0x44367e
push eax
push ebp
call fcn.00472100
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
add esp, 8
add ecx, eax
lea ebp, [ebp + eax*2]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x9c]
mov eax, dword [esp + 0x1c]
mov word [ebp], 0
add ebp, 2
mov edx, dword [ecx]
mov byte [esp + 0x11], 1
lea ecx, [edx + eax*2 + 2]
cmp ebp, ecx
je 0x4436a6
mov byte [esp + 0x11], 0
mov esi, dword [esp + 0x24]
test esi, esi
je 0x4436c0
mov eax, esi
mov esi, dword [esi + 0x14]
push eax
call fcn.0041eda0
add esp, 4
test esi, esi
jne 0x4436ae
mov edx, dword [esp + 0x28]
push edx
call fcn.0041eda0
mov al, byte [esp + 0x15]
add esp, 4
test al, al
pop edi
pop esi
pop ebp
pop ebx
je 0x4436df
mov al, 1
add esp, 0x78
ret
mov eax, dword [esp + 0x8c]
mov ecx, dword [eax]
push ecx
call fcn.0041eda0
add esp, 4
xor al, al
add esp, 0x78
ret