Function at 0x442800
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 0x442830
push eax
call fcn.0040e4b0
add esp, 4
mov dword [esp + 0x20], eax
jmp 0x442834
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.00448300
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 0x442be4
push 0x18
call fcn.0041ec00
mov esi, eax
add esp, 4
cmp esi, edi
je 0x442e86
mov eax, dword [esp + 0x24]
mov dword [esi + 0x14], 0
test eax, eax
jne 0x442921
xor eax, eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], esi
jmp 0x442930
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 0x442a2b
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.0044d630
mov ebp, eax
test ebp, ebp
je 0x442e86
mov al, byte [ebp + 0xc]
cmp al, 0xa
jne 0x4429c1
mov ebx, dword [ebp + 0x28]
test ebx, ebx
je 0x4429c1
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.0044e550
cmp eax, 5
jle 0x4429b7
cmp word [ebp + 0x2c], 0x3e
jne 0x4429b7
inc edi
add edi, ebx
mov dword [esi + 8], edi
jmp 0x442a47
cmp al, 0x30
jne 0x442e86
mov cl, byte [ebp + 0x36]
xor eax, eax
mov ax, word [ebp + 0x34]
shl eax, 1
and cl, 8
je 0x4429db
add eax, eax
mov edi, dword [ebp + 0x10]
test cl, cl
je 0x442a03
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 0x442a0c
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 0x442a47
test eax, eax
je 0x442e86
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 0x442a68
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x48]
and eax, 0xff
push eax
push ecx
lea ecx, [esp + 0x6c]
call fcn.00448250
test bl, 1
je 0x442a72
add dword [esp + 0x68], 2
test bl, 2
je 0x442a9a
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 0x442ab2
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x442aac
mov ax, word [edx + 2]
mov word [esi + 2], ax
jmp 0x442ab2
mov word [esi + 2], 0
mov al, byte [esp + 0x13]
test al, al
je 0x442ad8
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 0x442aec
test edx, edx
je 0x442ae6
mov ax, word [edx + 4]
mov word [esi + 4], ax
jmp 0x442aec
mov word [esi + 4], 0
mov eax, dword [esp + 0x98]
test eax, eax
je 0x442b2d
test edx, edx
je 0x442b2d
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 0x442b2d
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 0x442b31
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 0x442b81
mov ecx, dword [esp + 0x18]
xor eax, eax
mov al, byte [esi + 0xc]
shl eax, 1
cmp ecx, eax
ja 0x442b97
jmp 0x442b93
cmp byte [esi], 0
jne 0x442b97
mov ecx, dword [esp + 0x18]
xor eax, eax
mov al, byte [esi + 0xc]
cmp ecx, eax
ja 0x442b97
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 0x442bcc
dec ecx
or ecx, 0xfffffff8
inc ecx
je 0x442bcf
inc eax
mov ecx, dword [esp + 0x68]
add ecx, eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x68], ecx
xor edi, edi
jmp 0x4428da
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x442c04
inc eax
push eax
call fcn.0041ec00
add esp, 4
cmp eax, edi
mov dword [esp + 0x28], eax
je 0x442e86
xor edi, edi
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x442e86
lea ecx, [eax + eax + 2]
push ecx
call fcn.0041ec00
mov edx, dword [esp + 0xa0]
add esp, 4
test eax, eax
mov dword [edx], eax
je 0x442e86
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x14]
cmp ecx, edx
mov ebp, eax
mov dword [esp + 0x18], 0
jb 0x442c51
lea ecx, [edx - 1]
mov dword [esp + 0x90], ecx
mov eax, dword [esp + 0x94]
cmp eax, edx
jb 0x442c66
lea eax, [edx - 1]
mov dword [esp + 0x94], eax
cmp eax, ecx
jae 0x442c73
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 0x442e5e
mov ecx, dword [esp + 0x98]
test ecx, ecx
je 0x442cc2
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x90]
cmp eax, edx
jbe 0x442cc2
cmp eax, dword [esp + 0x94]
ja 0x442cc2
mov al, byte [esi + 6]
test al, al
je 0x442cc2
push ecx
push ebp
call fcn.004706e0
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.00448780
mov edi, dword [esp + 0x28]
xor eax, eax
mov al, byte [esi + 0xc]
dec eax
js 0x442e08
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.00448790
mov ebx, eax
mov eax, dword [esp + 0x40]
push eax
lea ecx, [esp + 0x68]
call fcn.00448820
mov ecx, dword [esp + 0x90]
mov eax, dword [esp + 0x18]
cmp eax, ecx
jb 0x442dac
mov edx, dword [esp + 0x94]
cmp eax, edx
ja 0x442dac
mov dl, byte [esi]
lea ecx, [ebx + ebx]
test dl, dl
jne 0x442d6c
mov ecx, ebx
mov bl, byte [esi + 1]
mov eax, dword [esi + 8]
test bl, bl
je 0x442d90
xor edx, edx
mov dh, byte [ecx + eax + 1]
mov dl, byte [ecx + eax]
mov eax, edx
test ah, 0xff
je 0x442da9
xor ecx, ecx
inc edi
mov cl, ah
mov byte [edi - 1], cl
jmp 0x442da9
test dl, dl
je 0x442da6
xor edx, edx
add ebp, 2
mov dh, byte [ecx + eax + 1]
mov dl, byte [ecx + eax]
mov word [ebp - 2], dx
jmp 0x442dac
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 0x442d29
mov ecx, dword [esp + 0x28]
cmp edi, ecx
jbe 0x442e08
mov al, byte [esi + 1]
test al, al
jne 0x442dd8
cmp byte [esi], 0
jne 0x442e08
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.00442ee0
add esp, 0x14
mov ebp, eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x94]
cmp eax, ecx
ja 0x442e24
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x442c86
jmp 0x442e5e
inc ecx
cmp eax, ecx
jne 0x442e5e
mov esi, dword [esi + 0x14]
test esi, esi
je 0x442e5e
mov al, byte [esi + 6]
test al, al
je 0x442e5e
mov eax, dword [esp + 0x98]
test eax, eax
je 0x442e5e
push eax
push ebp
call fcn.004706e0
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 0x442e86
mov byte [esp + 0x11], 0
mov esi, dword [esp + 0x24]
test esi, esi
je 0x442ea0
mov eax, esi
mov esi, dword [esi + 0x14]
push eax
call fcn.0041ec10
add esp, 4
test esi, esi
jne 0x442e8e
mov edx, dword [esp + 0x28]
push edx
call fcn.0041ec10
mov al, byte [esp + 0x15]
add esp, 4
test al, al
pop edi
pop esi
pop ebp
pop ebx
je 0x442ebf
mov al, 1
add esp, 0x78
ret
mov eax, dword [esp + 0x8c]
mov ecx, dword [eax]
push ecx
call fcn.0041ec10
add esp, 4
xor al, al
add esp, 0x78
ret